Add functionality to duplicate records to other vehicles.
This commit is contained in:
@@ -572,6 +572,23 @@ function showMultipleRemindersSelector() {
|
||||
$("#recurringReminderInput").show();
|
||||
}
|
||||
}
|
||||
function getAndValidateSelectedVehicle() {
|
||||
var selectedVehiclesArray = [];
|
||||
$("#vehicleSelector :checked").map(function () {
|
||||
selectedVehiclesArray.push(this.value);
|
||||
});
|
||||
if (selectedVehiclesArray.length == 0) {
|
||||
return {
|
||||
hasError: true,
|
||||
ids: []
|
||||
}
|
||||
} else {
|
||||
return {
|
||||
hasError: false,
|
||||
ids: selectedVehiclesArray
|
||||
}
|
||||
}
|
||||
}
|
||||
function getAndValidateSelectedRecurringReminder() {
|
||||
if ($("#multipleRemindersCheck").is(":checked")) {
|
||||
//validate multiple reminders
|
||||
|
||||
Reference in New Issue
Block a user