fixed for real.

This commit is contained in:
DESKTOP-T0O5CDB\DESK-555BD
2024-01-10 14:42:58 -07:00
parent e3bf6f03d7
commit 52f9ae7ea1
13 changed files with 44 additions and 55 deletions

View File

@@ -3,10 +3,7 @@
if (data) {
$("#taxRecordModalContent").html(data);
//initiate datepicker
$('#taxRecordDate').datepicker({
endDate: "+0d",
format: getShortDatePattern().pattern
});
initDatePicker($('#taxRecordDate'));
$('#taxRecordModal').modal('show');
}
});
@@ -16,10 +13,7 @@ function showEditTaxRecordModal(taxRecordId) {
if (data) {
$("#taxRecordModalContent").html(data);
//initiate datepicker
$('#taxRecordDate').datepicker({
endDate: "+0d",
format: getShortDatePattern().pattern
});
initDatePicker($('#taxRecordDate'));
$('#taxRecordModal').modal('show');
}
});