From 4c6ec09bb164af31cde07b41e9a908095adb5478 Mon Sep 17 00:00:00 2001 From: Ahmed Ejaz Date: Fri, 13 Dec 2024 01:14:03 +0500 Subject: [PATCH] 13013: fix specs --- config/locales/en.yml | 2 +- spec/system/admin/reports/pay_your_suppliers_spec.rb | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index 7a0fd218195..ab153957357 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -3321,7 +3321,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using report_header_admin_handling_fees: "Admin & Handling (%{currency})" report_header_ship_price: "Ship (%{currency})" report_header_producer_charges_gst: Producer charges GST? - report_header_total_tax_on_product: Total tax on product + report_header_total_tax_on_product: "Total tax on product (%{currency})" report_header_pay_fee_price: "Pay fee (%{currency})" report_header_total_price: "Total (%{currency})" report_header_product_total_price: "Product Total (%{currency})" diff --git a/spec/system/admin/reports/pay_your_suppliers_spec.rb b/spec/system/admin/reports/pay_your_suppliers_spec.rb index b22a094c5da..d771712b076 100644 --- a/spec/system/admin/reports/pay_your_suppliers_spec.rb +++ b/spec/system/admin/reports/pay_your_suppliers_spec.rb @@ -48,6 +48,7 @@ "Producer", "Producer Address", "Producer ABN/ACN", + "Producer charges GST?", "Email", "Hub", "Hub Address", @@ -63,6 +64,7 @@ "Total excl. fees and tax ($)", "Total excl. tax ($)", "Total fees excl. tax ($)", + "Total tax on product ($)", "Total tax on fees ($)", "Total Tax ($)", "Total ($)" @@ -83,6 +85,7 @@ supplier.name, supplier.address.full_address, "none", + "No", "none", hub1.name, hub1.address.full_address, @@ -100,6 +103,7 @@ 0.0, 0.0, 0.0, + 0.0, 10.0, ].compact.join(" ")) end @@ -115,6 +119,7 @@ supplier.name, supplier.address.full_address, "none", + "No", "none", hub2.name, hub2.address.full_address, @@ -132,6 +137,7 @@ 0.0, 0.0, 0.0, + 0.0, 10.0, ].compact.join(" ")) end