diff --git a/Livewire/FacilityType/FacilityTypeModal.php b/Livewire/FacilityType/FacilityTypeModal.php index 089b321..01a58ea 100644 --- a/Livewire/FacilityType/FacilityTypeModal.php +++ b/Livewire/FacilityType/FacilityTypeModal.php @@ -62,7 +62,6 @@ $is_approval = Approval::where('menu', 'Parameter Jenis Fasilitas') ->where('ref', $this->kode) ->where('status', '0') - ->where('method', 'update') ->get() ->first(); @@ -88,7 +87,6 @@ $is_approval = Approval::where('menu', 'Parameter Jenis Fasilitas') ->where('ref', $this->kode) ->where('status', '0') - ->where('method', 'create') ->get() ->first(); @@ -141,7 +139,6 @@ $is_approval = Approval::where('menu', 'Parameter Jenis Fasilitas') ->where('ref', $facility->kode) ->where('status', '0') - ->where('method', 'delete') ->get() ->first(); diff --git a/Resources/views/parameter/facility_types/index.blade.php b/Resources/views/parameter/facility_types/index.blade.php index a73658e..5e29485 100644 --- a/Resources/views/parameter/facility_types/index.blade.php +++ b/Resources/views/parameter/facility_types/index.blade.php @@ -16,7 +16,7 @@
{!! getIcon('magnifier', 'fs-3 position-absolute ms-5') !!} - +