fix pengajuan dpadpu error
All checks were successful
Run Action to Production / run pull to sync on target message (push) Has been skipped
All checks were successful
Run Action to Production / run pull to sync on target message (push) Has been skipped
This commit is contained in:
parent
3b60021799
commit
0be6772830
|
@ -49,7 +49,7 @@ public function tambah(){
|
||||||
public function terima(Request $request){
|
public function terima(Request $request){
|
||||||
$id = $request->id;
|
$id = $request->id;
|
||||||
$countcaseid = PengajuanDpuDpa::where('ttd_operator','!=','-')->count();
|
$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();
|
$cekData = PengajuanDpuDpa::where('caseid',$caseid)->first();
|
||||||
$data = PengajuanDpuDpa::where('id',$id)->first();
|
$data = PengajuanDpuDpa::where('id',$id)->first();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user