Add Reminder function.

This commit is contained in:
DESKTOP-GENO133\IvanPlex
2024-01-07 11:28:17 -07:00
parent c05b5e4c3d
commit f28af456b3
11 changed files with 57 additions and 13 deletions

View File

@@ -179,7 +179,7 @@ function uploadVehicleFilesAsync(event) {
}
function showAddReminderModal(reminderModalInput) {
if (reminderModalInput != undefined) {
$.get('/Vehicle/GetAddReminderRecordPartialView', {reminderModel: reminderModalInput}, function (data) {
$.post('/Vehicle/GetAddReminderRecordPartialView', {reminderModel: reminderModalInput}, function (data) {
$("#reminderRecordModalContent").html(data);
$('#reminderDate').datepicker({
startDate: "+0d"
@@ -187,7 +187,7 @@ function showAddReminderModal(reminderModalInput) {
$("#reminderRecordModal").modal("show");
});
} else {
$.get('/Vehicle/GetAddReminderRecordPartialView', function (data) {
$.post('/Vehicle/GetAddReminderRecordPartialView', function (data) {
$("#reminderRecordModalContent").html(data);
$('#reminderDate').datepicker({
startDate: "+0d"