perbaikan auto save kirim ke kabag umum, dan penambahan button kembalikan saat verif
This commit is contained in:
+3
-5
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user