From 2024caf5a31cadf3e1fcef1a1b3b45fc6bbe9d06 Mon Sep 17 00:00:00 2001 From: daengdeni Date: Thu, 1 Feb 2024 10:57:49 +0700 Subject: [PATCH] update parameter guarantee type fixing double request approval --- Livewire/GuaranteeType/GuaranteeTypeModal.php | 3 --- Resources/views/parameter/guarantee_types/index.blade.php | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Livewire/GuaranteeType/GuaranteeTypeModal.php b/Livewire/GuaranteeType/GuaranteeTypeModal.php index 5157c9d..833c003 100644 --- a/Livewire/GuaranteeType/GuaranteeTypeModal.php +++ b/Livewire/GuaranteeType/GuaranteeTypeModal.php @@ -62,7 +62,6 @@ $is_approval = Approval::where('menu', 'Parameter Jenis Jaminan') ->where('ref', $this->kode) ->where('status', '0') - ->where('method', 'update') ->get() ->first(); @@ -90,7 +89,6 @@ $is_approval = Approval::where('menu', 'Parameter Jenis Jaminan') ->where('ref', $this->kode) ->where('status', '0') - ->where('method', 'create') ->get() ->first(); @@ -143,7 +141,6 @@ $is_approval = Approval::where('menu', 'Parameter Jenis Jaminan') ->where('ref', $guarantee->kode) ->where('status', '0') - ->where('method', 'delete') ->get() ->first(); diff --git a/Resources/views/parameter/guarantee_types/index.blade.php b/Resources/views/parameter/guarantee_types/index.blade.php index 46e86fc..6903caa 100644 --- a/Resources/views/parameter/guarantee_types/index.blade.php +++ b/Resources/views/parameter/guarantee_types/index.blade.php @@ -16,7 +16,7 @@
{!! getIcon('magnifier', 'fs-3 position-absolute ms-5') !!} - +