mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Removed old commented out code
This commit is contained in:
@@ -26,8 +26,6 @@ module IssuePatch
|
|||||||
belongs_to :customer_token, primary_key: :id
|
belongs_to :customer_token, primary_key: :id
|
||||||
belongs_to :estimate, primary_key: :id
|
belongs_to :estimate, primary_key: :id
|
||||||
has_and_belongs_to_many :invoices
|
has_and_belongs_to_many :invoices
|
||||||
#, :association_foreign_key => 'issue_id', :class_name => 'Issue', :join_table => 'issues_invoices'
|
|
||||||
|
|
||||||
belongs_to :vehicle, primary_key: :id
|
belongs_to :vehicle, primary_key: :id
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -43,7 +41,6 @@ module IssuePatch
|
|||||||
def bill_time
|
def bill_time
|
||||||
|
|
||||||
# Check to see if we have everything we need to bill the customer
|
# Check to see if we have everything we need to bill the customer
|
||||||
#return unless status.is_closed?
|
|
||||||
return if assigned_to.nil?
|
return if assigned_to.nil?
|
||||||
return unless Qbo.first
|
return unless Qbo.first
|
||||||
return unless customer
|
return unless customer
|
||||||
|
|||||||
Reference in New Issue
Block a user