From 15e0a3f67b07047e306c2649c3dcfe512bd3011e Mon Sep 17 00:00:00 2001 From: daengdeni Date: Thu, 1 Feb 2024 10:55:44 +0700 Subject: [PATCH] update parameter debitur fixing double request approval --- Livewire/Debitur/DebiturModal.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/Livewire/Debitur/DebiturModal.php b/Livewire/Debitur/DebiturModal.php index e3e65eb..eb74314 100644 --- a/Livewire/Debitur/DebiturModal.php +++ b/Livewire/Debitur/DebiturModal.php @@ -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();