13013: fix specs

This commit is contained in:
Ahmed Ejaz
2024-12-13 01:14:03 +05:00
parent e8b185256e
commit 393154bae3
2 changed files with 7 additions and 1 deletions

View File

@@ -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})"

View File

@@ -48,6 +48,7 @@ RSpec.describe "Pay Your Suppliers Report" do
"Producer",
"Producer Address",
"Producer ABN/ACN",
"Producer charges GST?",
"Email",
"Hub",
"Hub Address",
@@ -63,6 +64,7 @@ RSpec.describe "Pay Your Suppliers Report" do
"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 @@ RSpec.describe "Pay Your Suppliers Report" do
supplier.name,
supplier.address.full_address,
"none",
"No",
"none",
hub1.name,
hub1.address.full_address,
@@ -100,6 +103,7 @@ RSpec.describe "Pay Your Suppliers Report" do
0.0,
0.0,
0.0,
0.0,
10.0,
].compact.join(" "))
end
@@ -115,6 +119,7 @@ RSpec.describe "Pay Your Suppliers Report" do
supplier.name,
supplier.address.full_address,
"none",
"No",
"none",
hub2.name,
hub2.address.full_address,
@@ -132,6 +137,7 @@ RSpec.describe "Pay Your Suppliers Report" do
0.0,
0.0,
0.0,
0.0,
10.0,
].compact.join(" "))
end