|
@@ -79,8 +79,13 @@ function loadCustomerLocations(customerId) {
|
|
|
infoWindow = new google.maps.InfoWindow();
|
|
infoWindow = new google.maps.InfoWindow();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ let minDate = $("#min-date").val();
|
|
|
|
|
+ let maxDate = $("#max-date").val();
|
|
|
|
|
+
|
|
|
$.get("/account/map-overview/get-customer-locations", {
|
|
$.get("/account/map-overview/get-customer-locations", {
|
|
|
customer_id: customerId,
|
|
customer_id: customerId,
|
|
|
|
|
+ min_date: minDate,
|
|
|
|
|
+ max_date: maxDate,
|
|
|
submit: $("#submit").val()
|
|
submit: $("#submit").val()
|
|
|
}, function(response) {
|
|
}, function(response) {
|
|
|
if(!response.success) return false;
|
|
if(!response.success) return false;
|
|
@@ -127,8 +132,13 @@ function loadProjectLocations(projectId) {
|
|
|
infoWindow = new google.maps.InfoWindow();
|
|
infoWindow = new google.maps.InfoWindow();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ let minDate = $("#min-date").val();
|
|
|
|
|
+ let maxDate = $("#max-date").val();
|
|
|
|
|
+
|
|
|
$.get("/account/map-overview/get-project-locations", {
|
|
$.get("/account/map-overview/get-project-locations", {
|
|
|
project_id: projectId,
|
|
project_id: projectId,
|
|
|
|
|
+ min_date: minDate,
|
|
|
|
|
+ max_date: maxDate,
|
|
|
submit: $("#submit").val()
|
|
submit: $("#submit").val()
|
|
|
}, function(response) {
|
|
}, function(response) {
|
|
|
if(!response.success) return false;
|
|
if(!response.success) return false;
|