update parameter facility type fixing double request approval
This commit is contained in:
parent
15e0a3f67b
commit
8c5137df48
@ -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();
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user