IO-2327 tax assertion

This commit is contained in:
swtmply
2023-08-05 12:01:49 +08:00
parent 59d9087ca7
commit 6db0947454

View File

@@ -380,17 +380,29 @@ export function BillFormComponent({
/>
<Statistic
title={t("bills.labels.federal_tax")}
value={totals.federalTax.toFormat()}
valueRender={() => (
<span data-cy="bill-form-tax">
{totals.federalTax.toFormat()}
</span>
)}
precision={2}
/>
<Statistic
title={t("bills.labels.state_tax")}
value={totals.stateTax.toFormat()}
valueRender={() => (
<span data-cy="bill-form-tax">
{totals.stateTax.toFormat()}
</span>
)}
precision={2}
/>
<Statistic
title={t("bills.labels.local_tax")}
value={totals.localTax.toFormat()}
valueRender={() => (
<span data-cy="bill-form-tax">
{totals.localTax.toFormat()}
</span>
)}
precision={2}
/>
<Statistic