From 42940f47294792b14422797261b15318741c252d Mon Sep 17 00:00:00 2001 From: Ahmed Ejaz Date: Sun, 8 Dec 2024 01:05:21 +0500 Subject: [PATCH] 12993: add total tax incl. --- app/views/producer_mailer/order_cycle_report.text.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/producer_mailer/order_cycle_report.text.haml b/app/views/producer_mailer/order_cycle_report.text.haml index eb48670e3b5..ce85b66ea51 100644 --- a/app/views/producer_mailer/order_cycle_report.text.haml +++ b/app/views/producer_mailer/order_cycle_report.text.haml @@ -18,7 +18,7 @@ Orders summary #{line_items.first.variant.sku} - #{raw(line_items.first.variant.supplier.name)} - #{raw(product_and_full_name)} (#{t(:producer_mail_qty)}: #{line_items.sum(&:quantity)}) @ #{line_items.first.single_money} = #{Spree::Money.new(line_items.sum(&:total), currency: line_items.first.currency)} (#{t(:with_tax_incl, amount: Spree::Money.new(line_items.sum(&:included_tax), currency: line_items.first.currency))}) \ \ -#{t :total}: #{@total} +#{t :total}: #{@total} (#{t(:with_tax_incl, amount: @tax_total)}) \ - if @customer_line_items = t :producer_mail_order_customer_text