mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 08:54:23 -05:00
Added safe_attributes for ProjecT
This commit is contained in:
@@ -11,6 +11,7 @@ $(function() {
|
||||
type: "GET",
|
||||
data: { selected_customer: $("input#issue_customer_id").val() }
|
||||
});
|
||||
});
|
||||
|
||||
$("input#project_customer_id").on("change", function() {
|
||||
$.ajax({
|
||||
@@ -19,5 +20,4 @@ $(function() {
|
||||
data: { selected_customer: $("input#project_customer_id").val() }
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
2
init.rb
2
init.rb
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user