From cae1d9de02c532b92ab2921452c34d32ed2c3d20 Mon Sep 17 00:00:00 2001 From: Ricky Barrette Date: Wed, 9 Mar 2022 22:27:33 -0500 Subject: [PATCH] Removed old commented out code --- lib/issue_patch.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/issue_patch.rb b/lib/issue_patch.rb index 8346b97..6b29172 100644 --- a/lib/issue_patch.rb +++ b/lib/issue_patch.rb @@ -26,8 +26,6 @@ module IssuePatch belongs_to :customer_token, primary_key: :id belongs_to :estimate, primary_key: :id has_and_belongs_to_many :invoices - #, :association_foreign_key => 'issue_id', :class_name => 'Issue', :join_table => 'issues_invoices' - belongs_to :vehicle, primary_key: :id end @@ -43,7 +41,6 @@ module IssuePatch def bill_time # Check to see if we have everything we need to bill the customer - #return unless status.is_closed? return if assigned_to.nil? return unless Qbo.first return unless customer