UI Fixes on Job list page. Refactored form row component. BOD-155

This commit is contained in:
Patrick Fic
2020-06-12 15:04:16 -07:00
parent 12924fe13a
commit a88785fc43
26 changed files with 634 additions and 528 deletions

View File

@@ -22,7 +22,6 @@ export function JobsTotalsTableComponent({ bodyshop, job }) {
}, [bodyshop, job]);
if (!!!totals) {
console.log("Totals was falsey.");
return <LoadingSkeleton />;
}
@@ -179,7 +178,17 @@ export function JobsTotalsTableComponent({ bodyshop, job }) {
</tbody>
</table>
</div>
<div className='job-totals-stats'>
<div
className='job-totals-stats'
onClick={(e) => {
if (e.detail === 3) {
try {
console.log("Job", job);
} catch {
console.log("Unable to show job.");
}
}
}}>
<Statistic
title={t("jobs.labels.subtotal")}
value={totals.totals.subtotal.toFormat()}