This commit is contained in:
Duidev Software House
2025-10-12 22:06:02 +07:00
parent 49685c7727
commit 0851bc4b1d
44 changed files with 135795 additions and 7764 deletions
@@ -1234,6 +1234,16 @@ class DokterController extends Controller
$pesan = $e->getMessage();
}
return $pesan;
} else if ($worklist == 'arsipkan'){
try {
Periksa::where('created_at', 'LIKE', $request->input('isi').'%')->update([
'status'=> 'Arsip'
]);
$pesan = 'Sejumlah data di rentang '.$request->input('isi').' Berhasil di arsipkan';
} catch (Exception $e) {
$pesan = $e->getMessage();
}
return $pesan;
} else if ($worklist == 'getvitek'){
$isidata = $request->input('isi');
$getdataawal = Periksa::where('nofoto', $nofoto)->first();