update parameter debitur fixing double request approval

This commit is contained in:
daengdeni 2024-02-01 10:55:44 +07:00
parent 440dcbde77
commit 15e0a3f67b

View File

@ -72,7 +72,6 @@
$is_approval = Approval::where('menu', 'Parameter Debitur')
->where('ref', $this->kode)
->where('status', '0')
->where('method', 'update')
->get()
->first();
@ -99,7 +98,6 @@
$is_approval = Approval::where('menu', 'Parameter Debitur')
->where('ref', $this->kode)
->where('status', '0')
->where('method', 'create')
->get()
->first();
@ -156,7 +154,6 @@
$is_approval = Approval::where('menu', 'Parameter Debitur')
->where('ref', $debitur->kode)
->where('status', '0')
->where('method', 'delete')
->get()
->first();