From dd9364c906aeff6980a02c35be2ee5eca52601f6 Mon Sep 17 00:00:00 2001 From: Kamala Madamanchi Date: Tue, 19 Dec 2023 12:18:40 -0600 Subject: [PATCH] Merge package text area placeholder fix --- client/COPY.json | 2 +- .../app/queue/correspondence/modals/PackageActionModal.jsx | 1 + client/app/queue/correspondence/review_package/utils.js | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/client/COPY.json b/client/COPY.json index c34d38c33e3..ca2d6b8be34 100644 --- a/client/COPY.json +++ b/client/COPY.json @@ -1410,7 +1410,7 @@ "EMPLOYER_IDENTIFICATION_NUMBER": "Employer Identification Number", "PACKAGE_ACTION_MERGE_DESCRIPTION": "By confirming, you will send a request for the supervisor to take action on the following package:", "PACKAGE_ACTION_MERGE_TITLE": "Request merge", - "PACKAGE_ACTION_MERGE_TEXTAREA_LABEL": "Select a reason for merging this package", + "PACKAGE_ACTION_MERGE_TEXTAREA_LABEL": "Reason for merge", "PACKAGE_ACTION_MERGE_RADIO_LABEL": "Select a reason for merging this package.", "PACKAGE_ACTION_MODAL_DESCRIPTION": "By confirming, you will send a request for the supervisor to take action on the following package:", "PACKAGE_ACTION_REMOVAL_TITLE": "Request package removal", diff --git a/client/app/queue/correspondence/modals/PackageActionModal.jsx b/client/app/queue/correspondence/modals/PackageActionModal.jsx index 3dc0b6b9a42..32bc719b1a1 100644 --- a/client/app/queue/correspondence/modals/PackageActionModal.jsx +++ b/client/app/queue/correspondence/modals/PackageActionModal.jsx @@ -183,6 +183,7 @@ const PackageActionModal = (props) => { name={modalInfo.label} aria-label={modalInfo.label} value={textInputReason} + placeholder={modalInfo.placeholder} onChange={(value) => setTextInputReason(value)} /> )} diff --git a/client/app/queue/correspondence/review_package/utils.js b/client/app/queue/correspondence/review_package/utils.js index 42d72a8bf18..5ed0485602e 100644 --- a/client/app/queue/correspondence/review_package/utils.js +++ b/client/app/queue/correspondence/review_package/utils.js @@ -81,7 +81,7 @@ export const getPackageActionColumns = (dropdownType) => { ), valueFunction: (row) => { - const vaDate = moment(row.correspondence.va_date_of_receipt).format('MM/DD/YYYY'); + const vaDate = moment.utc(row.correspondence.va_date_of_receipt).format('MM/DD/YYYY'); return ( @@ -105,7 +105,8 @@ export const getModalInformation = (dropdownType) => { title: PACKAGE_ACTION_MERGE_TITLE, description: PACKAGE_ACTION_MERGE_DESCRIPTION, label: PACKAGE_ACTION_MERGE_TEXTAREA_LABEL, - radioLabel: PACKAGE_ACTION_MERGE_RADIO_LABEL + radioLabel: PACKAGE_ACTION_MERGE_RADIO_LABEL, + placeholder: 'This is a reason for merge', }; case 'removePackage': return {