From ed9b2a57fb294b9d6cceea8d19ed01bb7ccc2f01 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Tue, 7 Apr 2020 17:06:34 -0700 Subject: [PATCH] BOD-62 WIP total calculations. PST rates is still missing. --- bodyshop_translations.babel | 28 +++++- .../audit-trail-values.component.jsx | 6 +- .../job-totals-table.component.jsx | 53 ++++++++++- .../job-totals-table.container.jsx | 45 +++------- .../job-totals-table/job-totals.utility.js | 89 ++++++++++++++----- .../jobs-detail-financial.component.jsx | 3 +- .../jobs-find-modal.component.jsx | 11 ++- client/src/graphql/bodyshop.queries.js | 1 + client/src/graphql/jobs.queries.js | 6 ++ client/src/translations/en_us/common.json | 3 + client/src/translations/es/common.json | 3 + client/src/translations/fr/common.json | 3 + .../down.yaml | 5 ++ .../up.yaml | 5 ++ .../down.yaml | 43 +++++++++ .../up.yaml | 44 +++++++++ .../down.yaml | 44 +++++++++ .../up.yaml | 45 ++++++++++ 18 files changed, 366 insertions(+), 71 deletions(-) create mode 100644 hasura/migrations/1586284810616_alter_table_public_bodyshops_add_column_shoprates/down.yaml create mode 100644 hasura/migrations/1586284810616_alter_table_public_bodyshops_add_column_shoprates/up.yaml create mode 100644 hasura/migrations/1586284824617_update_permission_user_public_table_bodyshops/down.yaml create mode 100644 hasura/migrations/1586284824617_update_permission_user_public_table_bodyshops/up.yaml create mode 100644 hasura/migrations/1586284834270_update_permission_user_public_table_bodyshops/down.yaml create mode 100644 hasura/migrations/1586284834270_update_permission_user_public_table_bodyshops/up.yaml diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel index c81cdead3..cca38e046 100644 --- a/bodyshop_translations.babel +++ b/bodyshop_translations.babel @@ -1,4 +1,4 @@ - +