From 8e12320c19c64a55d7681b816ef7d4cbf97ecd00 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Wed, 15 Apr 2020 15:39:05 -0700 Subject: [PATCH] BOD-23 Added labor pages tab + finalized time ticket tab + created allocation calculations --- bodyshop_translations.babel | 217 +++++++++++++++++- .../employee-search-select.component.jsx | 11 +- .../job-detail-cards.component.jsx | 2 +- .../job-detail-cards.vehicle.component.jsx | 6 +- .../jobs-detail-labor.component.jsx | 30 +++ .../jobs-detail-labor.container.jsx | 49 ++-- .../labor-allocations-table.component.jsx | 54 +++++ .../labor-allocations-table.utility.js | 29 +++ ...p-info.responsibilitycenters.component.jsx | 2 +- .../time-ticket-enter-button.component.jsx | 30 +++ .../time-ticket-list.component.jsx | 94 ++++++++ .../time-ticket-modal.component.jsx | 91 +++++--- .../time-ticket-modal.container.jsx | 155 +++++++++---- .../components/header/header.component.jsx | 4 +- .../appointment-confirmation.template.jsx | 2 +- client/src/graphql/jobs-lines.queries.js | 22 +- client/src/graphql/timetickets.queries.js | 16 ++ client/src/translations/en_us/common.json | 14 +- client/src/translations/es/common.json | 14 +- client/src/translations/fr/common.json | 14 +- 20 files changed, 724 insertions(+), 132 deletions(-) create mode 100644 client/src/components/jobs-detail-labor/jobs-detail-labor.component.jsx create mode 100644 client/src/components/labor-allocations-table/labor-allocations-table.component.jsx create mode 100644 client/src/components/labor-allocations-table/labor-allocations-table.utility.js create mode 100644 client/src/components/time-ticket-enter-button/time-ticket-enter-button.component.jsx create mode 100644 client/src/components/time-ticket-list/time-ticket-list.component.jsx diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel index d8304ef62..b23fcd446 100644 --- a/bodyshop_translations.babel +++ b/bodyshop_translations.babel @@ -1,4 +1,4 @@ - +