From 1460ae95ba09553e70800da923b7e4a8360efe4d Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Thu, 6 May 2021 16:50:55 -0700 Subject: [PATCH] IO-1001 Add total hours to job. --- .../job-totals.table.labor.component.jsx | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/client/src/components/job-totals-table/job-totals.table.labor.component.jsx b/client/src/components/job-totals-table/job-totals.table.labor.component.jsx index 55b41aaf6..deecf7404 100644 --- a/client/src/components/job-totals-table/job-totals.table.labor.component.jsx +++ b/client/src/components/job-totals-table/job-totals.table.labor.component.jsx @@ -106,7 +106,12 @@ export default function JobTotalsTableLabor({ job }) { {t("jobs.labels.labor_rates_subtotal")} - + + {( + job.job_totals.rates.mapa.hours + + job.job_totals.rates.mash.hours + ).toFixed(2)} + {Dinero(job.job_totals.rates.rates_subtotal).toFormat()} @@ -115,8 +120,10 @@ export default function JobTotalsTableLabor({ job }) { {t("jobs.labels.mapa")} - - {job.job_totals.rates.mapa.rate} + + + {job.job_totals.rates.mapa.rate} + {job.job_totals.rates.mapa.hours.toFixed(2)} @@ -127,8 +134,10 @@ export default function JobTotalsTableLabor({ job }) { {t("jobs.labels.mash")} - - {job.job_totals.rates.mash.rate} + + + {job.job_totals.rates.mash.rate} + {job.job_totals.rates.mash.hours.toFixed(2)}