Compare commits

...

1 Commits

Author SHA1 Message Date
Daeng Deni Mardaeni
727cd73525 update dari dell 2023-07-21 16:36:22 +07:00
4 changed files with 41 additions and 6 deletions

View File

@ -5,6 +5,12 @@
@csrf
<!--begin::Heading-->
<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-->
<h1 class="text-dark fw-bolder mb-3">
Sign In

View File

@ -6,8 +6,4 @@
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") !!}
</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>

View File

@ -58,7 +58,35 @@
</div>
<!--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-->
<label class="required fw-bold fs-6 mb-5">Role</label>
<!--end::Label-->

View File

@ -110,7 +110,12 @@
var _data = JSON.parse(data);
toastr.success(_data.message);
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');
},