Finished moving job totals calculation to server side BOD-267.

This commit is contained in:
Patrick Fic
2020-08-24 10:17:32 -07:00
parent 4b44fdfde5
commit 2acef8f726
18 changed files with 801 additions and 618 deletions

View File

@@ -16,7 +16,7 @@ export function JobsCloseSaveButton({
bodyshop,
suspenseAmount,
jobId,
jobTotals,
labMatAllocations,
partsAllocations,
setInvoicedState,
@@ -60,9 +60,10 @@ export function JobsCloseSaveButton({
return (
<Button
onClick={handleSave}
type='primary'
type="primary"
disabled={suspenseAmount > 0 || disabled}
loading={loading}>
loading={loading}
>
{t("general.actions.save")}
</Button>
);