Added reconciliation clear all IO-607

This commit is contained in:
Patrick Fic
2021-02-08 12:15:42 -08:00
parent 6f3970542e
commit 758090f0d5
5 changed files with 32 additions and 48 deletions

View File

@@ -82,6 +82,14 @@ export default function JobReconciliationTotals({
>
{t("jobs.labels.reconciliation.byprice")}
</Button>
<Button
onClick={() => {
jobLineState[1]([]);
billLineState[1]([]);
}}
>
{t("jobs.labels.reconciliation.clear")}
</Button>
</Space>
{errors.length > 0 && (
<div>