From 715c412668b84da8fb9e93f0f6b06d62be6b875c Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Thu, 29 Jan 2026 22:55:14 -0500 Subject: [PATCH] removed unused invocie variable --- lib/vehicles/hooks/invoice_hook_listener.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/vehicles/hooks/invoice_hook_listener.rb b/lib/vehicles/hooks/invoice_hook_listener.rb index e51aa20..97db019 100644 --- a/lib/vehicles/hooks/invoice_hook_listener.rb +++ b/lib/vehicles/hooks/invoice_hook_listener.rb @@ -19,7 +19,6 @@ module Vehicles def process_invoice_custom_fields(context={}) Rails.logger.info "redmine_qbo_vehicles.process_invoice_custom_fields" issue = context[:issue] - invoice = context[:invoice] # update the invoive custom fields with infomation from the issue if available context[:invoice].custom_fields.each do |cf|