From d86965bc1423d482e3edea4de6490f85719ce282 Mon Sep 17 00:00:00 2001 From: Ahmed Ejaz Date: Tue, 28 Jan 2025 03:35:46 +0500 Subject: [PATCH] add total tax on product summary --- lib/reporting/reports/suppliers/base.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/reporting/reports/suppliers/base.rb b/lib/reporting/reports/suppliers/base.rb index e1e8cc0d0d..edfa1576fa 100644 --- a/lib/reporting/reports/suppliers/base.rb +++ b/lib/reporting/reports/suppliers/base.rb @@ -66,6 +66,7 @@ module Reporting summary_hash[:total_tax_on_fees] += total_tax_on_fees.call(line_item) summary_hash[:total_tax] += total_tax.call(line_item) summary_hash[:total] += total.call(line_item) + summary_hash[:total_tax_on_product] += total_tax_on_product.call(line_item) end summary_hash