update
parent
60fdf3c216
commit
03206a4e80
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue