diff --git a/app/Http/Controllers/LayananPengajuanDpuDpaController.php b/app/Http/Controllers/LayananPengajuanDpuDpaController.php index c92bca6..f7029ed 100644 --- a/app/Http/Controllers/LayananPengajuanDpuDpaController.php +++ b/app/Http/Controllers/LayananPengajuanDpuDpaController.php @@ -49,7 +49,7 @@ public function tambah(){ public function terima(Request $request){ $id = $request->id; $countcaseid = PengajuanDpuDpa::where('ttd_operator','!=','-')->count(); - $caseid = "LS".date_format(date_create(),"ym").$countcaseid+3; + $caseid = "LS".date_format(date_create(),"ym").$countcaseid+1; $cekData = PengajuanDpuDpa::where('caseid',$caseid)->first(); $data = PengajuanDpuDpa::where('id',$id)->first();