|
|
|
@ -414,7 +414,13 @@ jQuery.browser = {};
|
|
|
|
dateFormat: "Y-m-d",
|
|
|
|
dateFormat: "Y-m-d",
|
|
|
|
defaultDate: "<?php echo isset($date) ? $date : ''; ?>",
|
|
|
|
defaultDate: "<?php echo isset($date) ? $date : ''; ?>",
|
|
|
|
onChange: function (selectedDates, dateStr, instance) {
|
|
|
|
onChange: function (selectedDates, dateStr, instance) {
|
|
|
|
window.location.href = '/webht.php/apps/pay/paymentservice/note_list?date=' + dateStr;
|
|
|
|
var currentParam = window.location.search ? window.location.search : '?_t=1';
|
|
|
|
|
|
|
|
if (currentParam.indexOf('date') > -1) {
|
|
|
|
|
|
|
|
currentParam = currentParam.replace(/date=[^&]*/, 'date=' + dateStr);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
currentParam += '&date=' + dateStr;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
window.location.href = '/webht.php/apps/pay/paymentservice/note_list' + currentParam;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|