mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 09:10:43 -04:00
Added safe_attributes for ProjecT
This commit is contained in:
1 parent
738cd21b1f
commit
cee8ddced1
2 files changed
+10
-8
No files matched your search
@@ -11,13 +11,13 @@ $(function() {
|
|||||||
type: "GET",
|
type: "GET",
|
||||||
data: { selected_customer: $("input#issue_customer_id").val() }
|
data: { selected_customer: $("input#issue_customer_id").val() }
|
||||||
});
|
});
|
||||||
|
});
|
||||||
|
|
||||||
$("input#project_customer_id").on("change", function() {
|
$("input#project_customer_id").on("change", function() {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "/filter_vehicles_by_customer",
|
url: "/filter_vehicles_by_customer",
|
||||||
type: "GET",
|
type: "GET",
|
||||||
data: { selected_customer: $("input#project_customer_id").val() }
|
data: { selected_customer: $("input#project_customer_id").val() }
|
||||||
});
|
});
|
||||||
});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -43,7 +43,9 @@ Redmine::Plugin.register :redmine_qbo do
|
|||||||
Issue.safe_attributes 'vehicles_id'
|
Issue.safe_attributes 'vehicles_id'
|
||||||
User.safe_attributes 'qbo_employee_id'
|
User.safe_attributes 'qbo_employee_id'
|
||||||
TimeEntry.safe_attributes 'qbo_billed'
|
TimeEntry.safe_attributes 'qbo_billed'
|
||||||
|
Project.safe_attributes 'customer_id'
|
||||||
|
Project.safe_attributes 'vehicle_id'
|
||||||
|
|
||||||
# We are playing in the sandbox
|
# We are playing in the sandbox
|
||||||
#Quickbooks.sandbox_mode = true
|
#Quickbooks.sandbox_mode = true
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user