From 0f515172feab04f3874207ae82b3b53a382879b7 Mon Sep 17 00:00:00 2001 From: GotPPay Date: Wed, 8 Aug 2018 16:47:45 +0200 Subject: [PATCH] change statuses to adapt to woocommerce statuses --- frontend/src/constants/dashboardConstants.js | 6 +++--- frontend/src/containers/dashboard/NextActions.scss | 4 ++-- frontend/src/containers/dashboard/OrderCentral.scss | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/frontend/src/constants/dashboardConstants.js b/frontend/src/constants/dashboardConstants.js index 36fea0b..aaff788 100644 --- a/frontend/src/constants/dashboardConstants.js +++ b/frontend/src/constants/dashboardConstants.js @@ -30,10 +30,10 @@ export const dashboardTexts = { }, statuses: { open: 'Open', - 'in-progress': 'In Progress', - production: 'Production', + processing: 'In Progress', + completed: 'Production', 'end-of-life': 'End Of Life', - canceled: 'Canceled', + cancelled: 'Cancelled', 'not-accepted': 'Not Accepted', invalid: 'Invalid', pending: 'Pending' diff --git a/frontend/src/containers/dashboard/NextActions.scss b/frontend/src/containers/dashboard/NextActions.scss index f3c8ff4..16e4b70 100644 --- a/frontend/src/containers/dashboard/NextActions.scss +++ b/frontend/src/containers/dashboard/NextActions.scss @@ -36,8 +36,8 @@ background: $not-accepted-status-color; } - .in-progress { - background: $in-progress-status-color; + .processing { + background: $processing-status-color; } .next-action-details{ diff --git a/frontend/src/containers/dashboard/OrderCentral.scss b/frontend/src/containers/dashboard/OrderCentral.scss index d24da32..639d8c1 100644 --- a/frontend/src/containers/dashboard/OrderCentral.scss +++ b/frontend/src/containers/dashboard/OrderCentral.scss @@ -31,15 +31,15 @@ background: $open-status-color; } - .in-progress { - background: $in-progress-status-color; + .processing { + background: $processing-status-color; } .line-open { border-left: 3px $open-status-color solid; } - .line-in-progress { - border-left: 3px $in-progress-status-color solid; + .line-processing { + border-left: 3px $processing-status-color solid; } }