This commit is contained in:
meusinfirmary
2025-06-17 10:05:09 +09:00
parent 7b85e1e376
commit 564a18ce8f
2 changed files with 12 additions and 12 deletions

View File

@ -11,8 +11,8 @@
@section('customcss')
<style>
/* .select2-container {
z-index: 99999;
} */
z-index: 99999;
} */
</style>
@endsection
@ -141,7 +141,7 @@
<div class="col-6">
<div class="mb-0">
<label for="add-nik" class="col-form-label">ID Number</label>
<input type="number" id="add-nik" class="form-control">
<input type="text" id="add-nik" class="form-control">
</div>
<div class="mb-0">
<label for="add-dob" class="col-form-label">Date of Birth</label>
@ -298,7 +298,7 @@
<div class="col-6">
<div class="mb-0">
<label for="edt-nik" class="col-form-label">ID Number</label>
<input type="number" id="edt-nik" class="form-control">
<input type="text" id="edt-nik" class="form-control">
</div>
<div class="mb-0">
<label for="edt-dob" class="col-form-label">Date of Birth</label>
@ -1283,8 +1283,8 @@
let fileSize = window.atob(pureDataURL).length // in Byte
// (fileSize/1000) + ' Kb'
$('#add-group_' + x + '_spinner').addClass('d-none');
$('#add-' + x + '-status').html('Compressed')
$('#add-' + x + '-filesize').html('<samp>(' + fileSize / 1000 + ' Kb)</samp>')
// $('#add-' + x + '-status').html('Compressed')
// $('#add-' + x + '-filesize').html('<samp>(' + fileSize / 1000 + ' Kb)</samp>')
$('#add-' + x + '-img').attr('src', res.data)
$('#add-' + x + '-img').removeClass('d-none')
$('#add-' + x + '-base64').val(res.data)
@ -1361,7 +1361,7 @@
DUploadAdd.readFile(reader, newFile);
$('#add-' + x + '-filesize').html('')
$('#add-' + x + '-status').html('Loading on compressing...')
// $('#add-' + x + '-status').html('Loading on compressing...')
// $('#add-' + x + '-img').attr('src', '')
$('#add-' + x + '-base64').val('')
} else {
@ -1518,8 +1518,8 @@
let fileSize = window.atob(pureDataURL).length // in Byte
// (fileSize/1000) + ' Kb'
$('#edt-group_' + x + '_spinner').addClass('d-none');
$('#edt-' + x + '-status').html('Compressed')
$('#edt-' + x + '-filesize').html('<samp>(' + fileSize / 1000 + ' Kb)</samp>')
// $('#edt-' + x + '-status').html('Compressed')
// $('#edt-' + x + '-filesize').html('<samp>(' + fileSize / 1000 + ' Kb)</samp>')
$('#edt-' + x + '-img').attr('src', res.data)
$('#edt-' + x + '-img').removeClass('d-none');
$('#edt-' + x + '-base64').val(res.data)
@ -1596,7 +1596,7 @@
DUploadEdt.readFile(reader, newFile);
$('#edt-' + x + '-filesize').html('')
$('#edt-' + x + '-status').html('Loading on compressing...')
// $('#edt-' + x + '-status').html('Loading on compressing...')
// $('#edt-' + x + '-img').attr('src', '')
$('#edt-' + x + '-base64').val('')
} else {