update openMap method for itinerary report

This commit is contained in:
Ryan Prather 2025-01-01 05:55:09 +00:00
parent b42b1ea410
commit 03c7153565

View File

@ -45,12 +45,9 @@ export function addLocationToItinerary() {
}
export function openMap() {
if (!document.getElementById('case-filter').value || !document.getElementById('date-filter').value) {
return false;
}
document.getElementById('caseId').value = document.getElementById('case-filter').value;
document.getElementById('caseDate').value = document.getElementById('date-filter').value;
document.getElementById('startDate').value = document.getElementById('start-date-filter').value;
document.getElementById('endDate').value = document.getElementById('end-date-filter').value;
document.getElementById('map-form').submit();
}