update parameter rekening fixing double request approval
This commit is contained in:
parent
2024caf5a3
commit
a13b51bba7
@ -91,7 +91,6 @@
|
|||||||
$is_approval = Approval::where('menu', 'Parameter Rekening')
|
$is_approval = Approval::where('menu', 'Parameter Rekening')
|
||||||
->where('ref', $this->kode)
|
->where('ref', $this->kode)
|
||||||
->where('status', '0')
|
->where('status', '0')
|
||||||
->where('method', 'update')
|
|
||||||
->get()
|
->get()
|
||||||
->first();
|
->first();
|
||||||
|
|
||||||
@ -118,7 +117,6 @@
|
|||||||
$is_approval = Approval::where('menu', 'Parameter Rekening')
|
$is_approval = Approval::where('menu', 'Parameter Rekening')
|
||||||
->where('ref', $this->kode)
|
->where('ref', $this->kode)
|
||||||
->where('status', '0')
|
->where('status', '0')
|
||||||
->where('method', 'create')
|
|
||||||
->get()
|
->get()
|
||||||
->first();
|
->first();
|
||||||
|
|
||||||
@ -177,7 +175,6 @@
|
|||||||
$is_approval = Approval::where('menu', 'Parameter Rekening')
|
$is_approval = Approval::where('menu', 'Parameter Rekening')
|
||||||
->where('ref', $rekening->nomor_rekening)
|
->where('ref', $rekening->nomor_rekening)
|
||||||
->where('status', '0')
|
->where('status', '0')
|
||||||
->where('method', 'delete')
|
|
||||||
->get()
|
->get()
|
||||||
->first();
|
->first();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user