More customer/project relations

This commit is contained in:
2017-11-17 10:51:25 -05:00
parent d98a8b8cc4
commit b8186e4b52
3 changed files with 14 additions and 12 deletions

View File

@@ -12,11 +12,12 @@ $(function() {
data: { selected_customer: $("input#issue_customer_id").val() }
});
$("input#project_customers_id").on("change", function() {
$.ajax({
url: "/filter_vehicles_by_customer",
type: "GET",
data: { selected_customer: $("input#project_customers_id").val() }
});
$("input#project_customer_id").on("change", function() {
$.ajax({
url: "/filter_vehicles_by_customer",
type: "GET",
data: { selected_customer: $("input#project_customer_id").val() }
});
});
});
});