IO-2327 tax assertion
This commit is contained in:
@@ -380,17 +380,29 @@ export function BillFormComponent({
|
|||||||
/>
|
/>
|
||||||
<Statistic
|
<Statistic
|
||||||
title={t("bills.labels.federal_tax")}
|
title={t("bills.labels.federal_tax")}
|
||||||
value={totals.federalTax.toFormat()}
|
valueRender={() => (
|
||||||
|
<span data-cy="bill-form-tax">
|
||||||
|
{totals.federalTax.toFormat()}
|
||||||
|
</span>
|
||||||
|
)}
|
||||||
precision={2}
|
precision={2}
|
||||||
/>
|
/>
|
||||||
<Statistic
|
<Statistic
|
||||||
title={t("bills.labels.state_tax")}
|
title={t("bills.labels.state_tax")}
|
||||||
value={totals.stateTax.toFormat()}
|
valueRender={() => (
|
||||||
|
<span data-cy="bill-form-tax">
|
||||||
|
{totals.stateTax.toFormat()}
|
||||||
|
</span>
|
||||||
|
)}
|
||||||
precision={2}
|
precision={2}
|
||||||
/>
|
/>
|
||||||
<Statistic
|
<Statistic
|
||||||
title={t("bills.labels.local_tax")}
|
title={t("bills.labels.local_tax")}
|
||||||
value={totals.localTax.toFormat()}
|
valueRender={() => (
|
||||||
|
<span data-cy="bill-form-tax">
|
||||||
|
{totals.localTax.toFormat()}
|
||||||
|
</span>
|
||||||
|
)}
|
||||||
precision={2}
|
precision={2}
|
||||||
/>
|
/>
|
||||||
<Statistic
|
<Statistic
|
||||||
|
|||||||
Reference in New Issue
Block a user