|
|
@@ -548,7 +548,7 @@ class CompoundResourceController extends BaseController |
|
|
|
"receipt" => '-', |
|
|
|
"modul" => '03', |
|
|
|
"penguatkuasa" => '-', |
|
|
|
"created_c" => Carbon::now()->toISOString(), |
|
|
|
"created_c" => Carbon::now()->toDateTimeString(), |
|
|
|
]; |
|
|
|
|
|
|
|
$file = ConfidentialFile::create($fileData); |
|
|
@@ -591,7 +591,7 @@ class CompoundResourceController extends BaseController |
|
|
|
$compound->status = 'Belum Bayar'; |
|
|
|
$compound->modul = '03'; |
|
|
|
$compound->no_akaun_lesen = $request->lesen; |
|
|
|
$compound->created_c = Carbon::now()->toISOString(); |
|
|
|
$compound->created_c = Carbon::now()->toDateTimeString(); |
|
|
|
|
|
|
|
|
|
|
|
}elseif($request->jenis == 'Pelbagai_JPB'){ |
|
|
@@ -618,7 +618,7 @@ class CompoundResourceController extends BaseController |
|
|
|
$compound->status = 'Belum Bayar'; |
|
|
|
$compound->modul = '03'; |
|
|
|
$compound->no_akaun_lesen = $request->lesen; |
|
|
|
$compound->created_c = Carbon::now()->toISOString(); |
|
|
|
$compound->created_c = Carbon::now()->toDateTimeString(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
@@ -659,7 +659,6 @@ class CompoundResourceController extends BaseController |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* |
|
|
|
* Store a newly created notice |
|
|
@@ -766,8 +765,8 @@ class CompoundResourceController extends BaseController |
|
|
|
// "maklumat_tambahan" => $request->butiran_kesalahan, |
|
|
|
"tindakan" => $request->tindakan, |
|
|
|
"tempoh" => $request->tempoh, |
|
|
|
"tempoh_tarikh" => Carbon::now()->addDays($request->tempoh)->toISOString(), |
|
|
|
"created_n" => Carbon::now()->toISOString(), |
|
|
|
// "tempoh_tarikh" => Carbon::now()->addDays($request->tempoh)->toiso(), |
|
|
|
"created_n" => Carbon::now()->toDateTimeString(), |
|
|
|
]; |
|
|
|
}elseif($request->jenis == 'Notis_NMH'){ |
|
|
|
|
|
|
@@ -805,8 +804,8 @@ class CompoundResourceController extends BaseController |
|
|
|
// "maklumat_tambahan" => $request->butiran_kesalahan, |
|
|
|
"tindakan" => $request->tinadkan, |
|
|
|
"tempoh" => $request->tempoh, |
|
|
|
"tempoh_tarikh" => Carbon::now()->addDays($request->tempoh)->toISOString(), |
|
|
|
"created_n" => Carbon::now()->toISOString(), |
|
|
|
// "tempoh_tarikh" => Carbon::now()->addDays($request->tempoh)->toISOString(), |
|
|
|
"created_n" => Carbon::now()->toDateTimeString(), |
|
|
|
]; |
|
|
|
} |
|
|
|
elseif($request->jenis == 'Notis_NHN'){ |
|
|
@@ -846,8 +845,8 @@ class CompoundResourceController extends BaseController |
|
|
|
// "maklumat_tambahan" => $request->butiran_kesalahan, |
|
|
|
// "tindakan" => $request->tindakan, |
|
|
|
"tempoh" => $request->tempoh, |
|
|
|
"tempoh_tarikh" => Carbon::now()->addDays($request->tempoh)->toISOString(), |
|
|
|
"created_n" => Carbon::now()->toISOString(), |
|
|
|
// "tempoh_tarikh" => Carbon::now()->addDays($request->tempoh)->toISOString(), |
|
|
|
"created_n" => Carbon::now()->toDateTimeString(), |
|
|
|
]; |
|
|
|
} |
|
|
|
elseif($request->jenis == 'Notis_PA'){ |
|
|
@@ -886,8 +885,8 @@ class CompoundResourceController extends BaseController |
|
|
|
// "maklumat_tambahan" => $request->butiran_kesalahan, |
|
|
|
"tindakan" => $request->tindakan, |
|
|
|
"tempoh" => $request->tempoh, |
|
|
|
"tempoh_tarikh" => Carbon::now()->addDays($request->tempoh)->toISOString(), |
|
|
|
"created_n" => Carbon::now()->toISOString(), |
|
|
|
// "tempoh_tarikh" => Carbon::now()->addDays($request->tempoh)->toISOString(), |
|
|
|
"created_n" => Carbon::now()->toDateTimeString(), |
|
|
|
"bil_haiwan" => $request->bil_haiwan, |
|
|
|
]; |
|
|
|
}elseif($request->jenis == 'Notis_NPPM'){ |
|
|
@@ -926,8 +925,8 @@ class CompoundResourceController extends BaseController |
|
|
|
// "maklumat_tambahan" => $request->butiran_kesalahan, |
|
|
|
"tindakan" => $request->tindakan, |
|
|
|
"tempoh" => $request->tempoh, |
|
|
|
"tempoh_tarikh" => Carbon::now()->addDays($request->tempoh)->toISOString(), |
|
|
|
"created_n" => Carbon::now()->toISOString(), |
|
|
|
// "tempoh_tarikh" => Carbon::now()->addDays($request->tempoh)->toISOString(), |
|
|
|
"created_n" => Carbon::now()->toDateTimeString(), |
|
|
|
]; |
|
|
|
} |
|
|
|
|
|
|
@@ -1022,7 +1021,7 @@ class CompoundResourceController extends BaseController |
|
|
|
"receipt" => '-', |
|
|
|
"modul" => '03', |
|
|
|
"penguatkuasa" => '-', |
|
|
|
"created_c" => Carbon::now()->toISOString(), |
|
|
|
"created_c" => Carbon::now()->toDateTimeString(), |
|
|
|
]; |
|
|
|
} |
|
|
|
if ($request->jenis == 'Pelbagai_KT') { |
|
|
@@ -1056,7 +1055,7 @@ class CompoundResourceController extends BaseController |
|
|
|
"modul" => $request->modul, |
|
|
|
"penguatkuasa" => '-', |
|
|
|
"no_akaun_lesen" => $request->lesen, |
|
|
|
"created_c" => Carbon::now()->toISOString(), |
|
|
|
"created_c" => Carbon::now()->toDateTimeString(), |
|
|
|
]; |
|
|
|
} |
|
|
|
elseif ($request->jenis == 'Pelbagai_JPB') { |
|
|
@@ -1090,7 +1089,7 @@ class CompoundResourceController extends BaseController |
|
|
|
"modul" => $request->modul, |
|
|
|
"penguatkuasa" => '-', |
|
|
|
"no_akaun_lesen" => $request->lesen, |
|
|
|
"created_c" => Carbon::now()->toISOString(), |
|
|
|
"created_c" => Carbon::now()->toDateTimeString(), |
|
|
|
]; |
|
|
|
} |
|
|
|
|