Added safe_attributes for ProjecT

This commit is contained in:
2017-11-17 20:54:14 -05:00
parent 738cd21b1f
commit cee8ddced1
2 changed files with 10 additions and 8 deletions

View File

@@ -11,6 +11,7 @@ $(function() {
type: "GET",
data: { selected_customer: $("input#issue_customer_id").val() }
});
});
$("input#project_customer_id").on("change", function() {
$.ajax({
@@ -20,4 +21,3 @@ $(function() {
});
});
});
});

View File

@@ -43,6 +43,8 @@ Redmine::Plugin.register :redmine_qbo do
Issue.safe_attributes 'vehicles_id'
User.safe_attributes 'qbo_employee_id'
TimeEntry.safe_attributes 'qbo_billed'
Project.safe_attributes 'customer_id'
Project.safe_attributes 'vehicle_id'
# We are playing in the sandbox
#Quickbooks.sandbox_mode = true