update parameter guarantee type fixing double request approval

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

View File

@ -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();

View File

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