update dari dell
This commit is contained in:
parent
fb6e423c06
commit
727cd73525
@ -5,6 +5,12 @@
|
|||||||
@csrf
|
@csrf
|
||||||
<!--begin::Heading-->
|
<!--begin::Heading-->
|
||||||
<div class="text-center mb-11">
|
<div class="text-center mb-11">
|
||||||
|
<!--begin::Logo-->
|
||||||
|
<a href="/" class="mb-12">
|
||||||
|
<img alt="Logo" src="{{ image('logos/logo_agi.png') }}" class="h-60px h-lg-75px"/>
|
||||||
|
</a>
|
||||||
|
<!--end::Logo-->
|
||||||
|
|
||||||
<!--begin::Title-->
|
<!--begin::Title-->
|
||||||
<h1 class="text-dark fw-bolder mb-3">
|
<h1 class="text-dark fw-bolder mb-3">
|
||||||
Sign In
|
Sign In
|
||||||
|
@ -6,8 +6,4 @@
|
|||||||
class="kt_edit_form btn btn-icon btn-bg-light btn-active-light-primary btn-sm me-1">
|
class="kt_edit_form btn btn-icon btn-bg-light btn-active-light-primary btn-sm me-1">
|
||||||
{!! getIcon("pencil", "fs-1 text-info","duotune") !!}
|
{!! getIcon("pencil", "fs-1 text-info","duotune") !!}
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
{!! Form::open(['method' => 'DELETE','route' => [$route[0].'.'.$route[1].'.destroy', $model->id],'class'=>'']) !!}
|
|
||||||
{{ Form::button(getIcon("trash", "fs-1 text-danger","duotune"), ['type' => 'submit', 'class' => 'delete btn btn-icon btn-bg-light btn-active-light-danger btn-sm'] ) }}
|
|
||||||
{!! Form::close() !!}
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -58,7 +58,35 @@
|
|||||||
</div>
|
</div>
|
||||||
<!--end::Input group-->
|
<!--end::Input group-->
|
||||||
|
|
||||||
<div class="mb-7">
|
<!--begin::Input group-->
|
||||||
|
<div class="d-flex flex-column mb-8 fv-row">
|
||||||
|
<!--begin::Label-->
|
||||||
|
<label class="d-flex align-items-center fs-6 fw-semibold mb-2" for="directorat_id">
|
||||||
|
<span class="required">Directorat</span>
|
||||||
|
<span class="ms-1" data-bs-toggle="tooltip" title="Specify a target name for future usage and reference"></span>
|
||||||
|
</label>
|
||||||
|
<!--end::Label-->
|
||||||
|
<select class="form-select" name="directorat_id" id="directorat_id">
|
||||||
|
<option>Select Directorat</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<!--end::Input group-->
|
||||||
|
<!--begin::Input group-->
|
||||||
|
<div class="d-flex flex-column mb-8 fv-row">
|
||||||
|
<!--begin::Label-->
|
||||||
|
<label class="d-flex align-items-center fs-6 fw-semibold mb-2" for="sub_directorat_id">
|
||||||
|
<span class="required">Sub Directorat</span>
|
||||||
|
<span class="ms-1" data-bs-toggle="tooltip" title="Specify a target name for future usage and reference"></span>
|
||||||
|
</label>
|
||||||
|
<!--end::Label-->
|
||||||
|
<select class="form-select" name="sub_directorat_id" id="sub_directorat_id">
|
||||||
|
<option>Select Sub Directorat</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<!--end::Input group-->
|
||||||
|
|
||||||
|
|
||||||
|
<div class="mb-7" style="display: none">
|
||||||
<!--begin::Label-->
|
<!--begin::Label-->
|
||||||
<label class="required fw-bold fs-6 mb-5">Role</label>
|
<label class="required fw-bold fs-6 mb-5">Role</label>
|
||||||
<!--end::Label-->
|
<!--end::Label-->
|
||||||
|
@ -110,7 +110,12 @@
|
|||||||
var _data = JSON.parse(data);
|
var _data = JSON.parse(data);
|
||||||
toastr.success(_data.message);
|
toastr.success(_data.message);
|
||||||
form[0].reset();
|
form[0].reset();
|
||||||
LaravelDataTables["{{$route[0].'-'.$route[1]}}-table"].ajax.reload();
|
Swal.fire({
|
||||||
|
title: 'Success!',
|
||||||
|
text: "Data berhasil di hapus, menunggu Approval",
|
||||||
|
icon: 'success',
|
||||||
|
confirmButtonText: 'Ok'
|
||||||
|
});
|
||||||
$('#kt_modal_user_users').modal('hide');
|
$('#kt_modal_user_users').modal('hide');
|
||||||
|
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user