diff --git a/Livewire/Branch/BranchModal.php b/Livewire/Branch/BranchModal.php index 657c2ea..cab20b9 100644 --- a/Livewire/Branch/BranchModal.php +++ b/Livewire/Branch/BranchModal.php @@ -63,7 +63,6 @@ $is_approval = Approval::where('menu', 'Parameter Cabang') ->where('ref', $this->kode) ->where('status', '0') - ->where('method', 'update') ->get() ->first(); @@ -91,7 +90,6 @@ $is_approval = Approval::where('menu', 'Parameter Cabang') ->where('ref', $this->kode) ->where('status', '0') - ->where('method', 'create') ->get() ->first(); @@ -152,7 +150,6 @@ $is_approval = Approval::where('menu', 'Parameter Cabang') ->where('ref', $branch->kode) ->where('status', '0') - ->where('method', 'delete') ->get() ->first();