update
This commit is contained in:
@@ -1981,10 +1981,25 @@ class DokterController extends Controller
|
||||
'marking' => '',
|
||||
]);
|
||||
}
|
||||
Periksa::where('id', $idperiksa)->update([
|
||||
'status' => $request->input('komponen') ?? ''.' '.$request->input('status') ?? '',
|
||||
if ($status == 'Proses identifikasi dan uji kepekaan vitek'){
|
||||
$status = 'Sedang ID+AST';
|
||||
}
|
||||
if ($status == 'Proses identifikasi dan uji kepekaan manual'){
|
||||
$status = 'Sedang ID+AST';
|
||||
}
|
||||
if ($status == 'Proses identifikasi malditof+ uji kepekaan vitek'){
|
||||
$status = 'Sedang ID+AST';
|
||||
}
|
||||
if ($status == 'Proses identifikasi malditof+ uji kepekaan manual'){
|
||||
$status = 'Sedang ID+AST';
|
||||
}
|
||||
if ($status == 'Proses identifikasi manual+ uji kepekaan vitek'){
|
||||
$status = 'Sedang ID+AST';
|
||||
}
|
||||
Periksa::where('id', $nofoto)->update([
|
||||
'status' => $status,
|
||||
]);
|
||||
return response()->json(['icon' => 'success', 'warna' => '#1dcbbd', 'status' => 'Success', 'message' => $request->input('komponen') ?? ''.' '.$request->input('status') ?? '']);
|
||||
return response()->json(['icon' => 'success', 'warna' => '#1dcbbd', 'status' => 'Success', 'message' => $request->input('komponen') ?? ''.' '.$status]);
|
||||
} catch (Exception $e) {
|
||||
$pesan = $e->getMessage();
|
||||
Log::error('Gagal Input Pertumbuhan Koloni', [
|
||||
@@ -2016,10 +2031,9 @@ class DokterController extends Controller
|
||||
return back();
|
||||
}
|
||||
} else if ($worklist == 'copydatabaptocap'){
|
||||
$getdataawal = Periksa::where('nofoto', $nofoto)->first();
|
||||
$id = $getdataawal->id ?? $nofoto;
|
||||
$idtabel = $request->input('id');
|
||||
try {
|
||||
$ceksek = DB::table('pertumkolomni')->where('orderid', $id)->first();
|
||||
$ceksek = DB::table('pertumkolomni')->where('id', $idtabel)->first();
|
||||
DB::table('pertumkolomni')->insert([
|
||||
'orderid' => $ceksek->orderid ?? $id,
|
||||
'tglpenyimpanan' => date('Y-m-d'),
|
||||
|
||||
Reference in New Issue
Block a user