main
Ilham Wara Nugroho 2026-06-11 14:54:09 +07:00
parent 60fdf3c216
commit 03206a4e80
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class FormController implements HasMiddleware
// Fetch form details
$formDetails = SettingFormDetail::rowActive()->where('form_code', $code)->orderByRowNum()->get();
dd($instansi);
if ($instansi && $instansi != 'all' && $instansi != 'none') {
$agency = Agency::where('name', $instansi)->rowActive()->first();
$instansi = $agency ? $agency->id : null;