Merge branch 'main' into Hargata/reminders
# Conflicts: # Controllers/HomeController.cs
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
$("#collisionRecordModalContent").html(data);
|
||||
//initiate datepicker
|
||||
$('#collisionRecordDate').datepicker({
|
||||
endDate: "+0d"
|
||||
endDate: "+0d",
|
||||
format: getShortDatePattern().pattern
|
||||
});
|
||||
$('#collisionRecordModal').modal('show');
|
||||
}
|
||||
@@ -16,7 +17,8 @@ function showEditCollisionRecordModal(collisionRecordId) {
|
||||
$("#collisionRecordModalContent").html(data);
|
||||
//initiate datepicker
|
||||
$('#collisionRecordDate').datepicker({
|
||||
endDate: "+0d"
|
||||
endDate: "+0d",
|
||||
format: getShortDatePattern().pattern
|
||||
});
|
||||
$('#collisionRecordModal').modal('show');
|
||||
}
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
$("#gasRecordModalContent").html(data);
|
||||
//initiate datepicker
|
||||
$('#gasRecordDate').datepicker({
|
||||
endDate: "+0d"
|
||||
endDate: "+0d",
|
||||
format: getShortDatePattern().pattern
|
||||
});
|
||||
$('#gasRecordModal').modal('show');
|
||||
}
|
||||
@@ -16,7 +17,8 @@ function showEditGasRecordModal(gasRecordId) {
|
||||
$("#gasRecordModalContent").html(data);
|
||||
//initiate datepicker
|
||||
$('#gasRecordDate').datepicker({
|
||||
endDate: "+0d"
|
||||
endDate: "+0d",
|
||||
format: getShortDatePattern().pattern
|
||||
});
|
||||
$('#gasRecordModal').modal('show');
|
||||
}
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
$("#serviceRecordModalContent").html(data);
|
||||
//initiate datepicker
|
||||
$('#serviceRecordDate').datepicker({
|
||||
endDate: "+0d"
|
||||
endDate: "+0d",
|
||||
format: getShortDatePattern().pattern
|
||||
});
|
||||
$('#serviceRecordModal').modal('show');
|
||||
}
|
||||
@@ -16,7 +17,8 @@ function showEditServiceRecordModal(serviceRecordId) {
|
||||
$("#serviceRecordModalContent").html(data);
|
||||
//initiate datepicker
|
||||
$('#serviceRecordDate').datepicker({
|
||||
endDate: "+0d"
|
||||
endDate: "+0d",
|
||||
format: getShortDatePattern().pattern
|
||||
});
|
||||
$('#serviceRecordModal').modal('show');
|
||||
}
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
$("#taxRecordModalContent").html(data);
|
||||
//initiate datepicker
|
||||
$('#taxRecordDate').datepicker({
|
||||
endDate: "+0d"
|
||||
endDate: "+0d",
|
||||
format: getShortDatePattern().pattern
|
||||
});
|
||||
$('#taxRecordModal').modal('show');
|
||||
}
|
||||
@@ -16,7 +17,8 @@ function showEditTaxRecordModal(taxRecordId) {
|
||||
$("#taxRecordModalContent").html(data);
|
||||
//initiate datepicker
|
||||
$('#taxRecordDate').datepicker({
|
||||
endDate: "+0d"
|
||||
endDate: "+0d",
|
||||
format: getShortDatePattern().pattern
|
||||
});
|
||||
$('#taxRecordModal').modal('show');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user