update parameter facility type fixing double request approval

This commit is contained in:
daengdeni 2024-02-01 10:56:57 +07:00
parent 15e0a3f67b
commit 8c5137df48
2 changed files with 1 additions and 4 deletions

View File

@ -62,7 +62,6 @@
$is_approval = Approval::where('menu', 'Parameter Jenis Fasilitas') $is_approval = Approval::where('menu', 'Parameter Jenis Fasilitas')
->where('ref', $this->kode) ->where('ref', $this->kode)
->where('status', '0') ->where('status', '0')
->where('method', 'update')
->get() ->get()
->first(); ->first();
@ -88,7 +87,6 @@
$is_approval = Approval::where('menu', 'Parameter Jenis Fasilitas') $is_approval = Approval::where('menu', 'Parameter Jenis Fasilitas')
->where('ref', $this->kode) ->where('ref', $this->kode)
->where('status', '0') ->where('status', '0')
->where('method', 'create')
->get() ->get()
->first(); ->first();
@ -141,7 +139,6 @@
$is_approval = Approval::where('menu', 'Parameter Jenis Fasilitas') $is_approval = Approval::where('menu', 'Parameter Jenis Fasilitas')
->where('ref', $facility->kode) ->where('ref', $facility->kode)
->where('status', '0') ->where('status', '0')
->where('method', 'delete')
->get() ->get()
->first(); ->first();

View File

@ -16,7 +16,7 @@
<!--begin::Search--> <!--begin::Search-->
<div class="d-flex align-items-center position-relative my-1"> <div class="d-flex align-items-center position-relative my-1">
{!! getIcon('magnifier', 'fs-3 position-absolute ms-5') !!} {!! getIcon('magnifier', 'fs-3 position-absolute ms-5') !!}
<input type="text" data-kt-facility_type-table-filter="search" class="form-control form-control-solid w-250px ps-13" placeholder="Search facility_type" id="mySearchInput"/> <input type="text" data-kt-facility_type-table-filter="search" class="form-control form-control-solid w-250px ps-13" placeholder="Search facility type" id="mySearchInput"/>
</div> </div>
<!--end::Search--> <!--end::Search-->
</div> </div>