From 9ee9d2e8a857fe4ea74a5345e0b70b8cf99a0001 Mon Sep 17 00:00:00 2001 From: Hamed Valiollahi Bayeki Date: Fri, 12 Jan 2024 10:14:34 -0800 Subject: [PATCH] fix: update labels in notifications settings as per new act --- .../constants/settings/notificationsCreditTransfers.js | 8 ++++---- .../settings/notificationsGovernmentTransfers.js | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/src/constants/settings/notificationsCreditTransfers.js b/frontend/src/constants/settings/notificationsCreditTransfers.js index f99fce084..17400a1a1 100644 --- a/frontend/src/constants/settings/notificationsCreditTransfers.js +++ b/frontend/src/constants/settings/notificationsCreditTransfers.js @@ -8,21 +8,21 @@ const CREDIT_TRANSFER_NOTIFICATIONS = [{ }, { id: 2, code: 'CREDIT_TRANSFER_SIGNED_1OF2', - description: 'Proposed', + description: 'Sent', key: 'submitted', recipients: ['fuel_supplier'], feature: 'credit_transfer' }, { id: 10, code: 'CREDIT_TRANSFER_PROPOSAL_REFUSED', - description: 'Refused', + description: 'Declined', key: 'refused', recipients: ['fuel_supplier'], feature: 'credit_transfer' }, { id: 3, code: 'CREDIT_TRANSFER_SIGNED_2OF2', - description: 'Signed', + description: 'Submitted', key: 'accepted', recipients: ['fuel_supplier', 'government'], feature: 'credit_transfer' @@ -53,7 +53,7 @@ const CREDIT_TRANSFER_NOTIFICATIONS = [{ }, { id: 9, code: 'CREDIT_TRANSFER_DECLINED', - description: 'Declined to record', + description: 'Refused', key: 'declined', permission: 'DECLINE_CREDIT_TRANSFER', recipients: ['fuel_supplier', 'government'], diff --git a/frontend/src/constants/settings/notificationsGovernmentTransfers.js b/frontend/src/constants/settings/notificationsGovernmentTransfers.js index f3cd5c869..1a1a26e8a 100644 --- a/frontend/src/constants/settings/notificationsGovernmentTransfers.js +++ b/frontend/src/constants/settings/notificationsGovernmentTransfers.js @@ -7,13 +7,13 @@ const GOVERNMENT_TRANSFER_NOTIFICATIONS = [{ }, { id: 4, code: 'PVR_RECOMMENDED_FOR_APPROVAL', - description: 'Recommended Director record', + description: 'Recommended issuance', key: 'recommended', recipients: ['government'] }, { id: 11, code: 'PVR_RESCINDED', - description: 'Rescinded', + description: 'Deleted', key: 'rescinded', recipients: ['government'] }, {