This commit is contained in:
Duidev Software House
2026-01-09 20:38:24 +07:00
parent ff8c7d4c6d
commit 1549af8344
2 changed files with 15 additions and 9 deletions
@@ -473,7 +473,7 @@ class DokterController extends Controller
KomponenJawaban::where('accnumber', $nofoto)->where('template', $dlp)->delete();
$data = $request->except(['_token', 'periksa_id', 'val01', 'val10', 'acc_number']);
foreach ($data as $key => $value) {
if ($value === "" || is_null($value)) continue;
if ($value === "" || is_null($value) || $value === "Pilih Salah Satu") continue;
if (is_array($value)) {
KomponenJawaban::updateOrCreate(
[