perbaikan auto save kirim ke kabag umum, dan penambahan button kembalikan saat verif

This commit is contained in:
nana4895
2024-06-06 20:50:03 +07:00
parent 754b51f502
commit 11377f23d4
18 changed files with 711 additions and 677 deletions
+3 -5
View File
@@ -3,8 +3,8 @@ include('../koneksi.php');
$bln_auto = date('m');
$thn_auto = date('Y');
$disp_bln = $_POST['disp_bln'];
$disp_thn = $_POST['disp_thn'];
$disp_bln = $_POST['disp_bln'] ?? null;
$disp_thn = $_POST['disp_thn'] ?? null;
if (($disp_bln == NULL) || ($disp_bln == '')) {
$bln = $bln_auto;
@@ -218,12 +218,10 @@ if (($disp_thn == NULL) || ($disp_thn == '')) {
var satker_count = $('#cek_satker').val();
}
$.ajax({
type: "POST",
url: "app/inbox/count.php",
data: 'thn_count=' + thn_count +
'&satker_count=' + satker_count,
data: {thn_count:thn_count,satker_count:satker_count},
success: function(data) {
var b = data.split('^');
if (b[0] == 0) {