eleter progres fix 08/08/24
This commit is contained in:
@@ -65,6 +65,7 @@ if (($disp_thn == NULL) || ($disp_thn == '')) {
|
||||
<br>
|
||||
|
||||
<input type="hidden" id="sat" value="<?php echo $_POST['sat']; ?>">
|
||||
<p class="judul_page"><i class="mdi mdi-email-outline m-r-5"></i>Surat</p>
|
||||
<div class="alert alert-icon alert-info alert-dismissible fade in" role="alert" style="color:green">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
@@ -290,8 +291,7 @@ if (($disp_thn == NULL) || ($disp_thn == '')) {
|
||||
if ((!no_surat) || (!perihal) || ((jml_pic == '0') && (jml_file == '0')) || (jml_kpd == '0')) {
|
||||
infoToast('error', 'No Surat, Perihal, File atau Gambar \n Harus Terisi...!!');
|
||||
} else {
|
||||
var x = confirm("Anda yakin ingin mengirim ?");
|
||||
if (x) {
|
||||
if (confirm("Anda yakin ingin mengirim ?")) {
|
||||
var id = $('#surat_id_cek').val();
|
||||
var thn2 = $('#disp_thn').val();
|
||||
var bln2 = $('#disp_bln').val();
|
||||
@@ -304,7 +304,7 @@ if (($disp_thn == NULL) || ($disp_thn == '')) {
|
||||
key: 'start_kirim'
|
||||
},
|
||||
success: function(data) {
|
||||
alert('Surat terkirim ke tujuan..');
|
||||
infoToast('success', 'Surat Telah Terkirim');
|
||||
$('#modal_kirim2').modal('hide');
|
||||
$('body').removeClass('modal-open');
|
||||
$('.modal-backdrop').remove();
|
||||
@@ -599,6 +599,5 @@ if (($disp_thn == NULL) || ($disp_thn == '')) {
|
||||
timer: 2500
|
||||
});
|
||||
}
|
||||
|
||||
</script>
|
||||
<script src="assets/vendor/sweetalert2/sweetalert2.all.min.js"></script>
|
||||
Reference in New Issue
Block a user