diff --git a/frontend/src/components/TicketContent/PPRAdminContentTable.js b/frontend/src/components/TicketContent/PPRAdminContentTable.js index ba6a16f..4ce17e0 100644 --- a/frontend/src/components/TicketContent/PPRAdminContentTable.js +++ b/frontend/src/components/TicketContent/PPRAdminContentTable.js @@ -35,8 +35,8 @@ const PPRAdminContentTable = () => { return ( <>

- To transition status, reporter must upload - supporting documents and manually transition the + To transition status, reporter must upload the + expense claim form and manually transition the status

diff --git a/frontend/src/components/UploadFileModal.js b/frontend/src/components/UploadFileModal.js index bbdaee3..223513a 100644 --- a/frontend/src/components/UploadFileModal.js +++ b/frontend/src/components/UploadFileModal.js @@ -4,6 +4,7 @@ import { Button, CloseButton, Divider, + Link, ListItem, Modal, ModalBody, @@ -21,6 +22,7 @@ import { axiosPreset } from '../axiosConfig' import LoadingSpinner from './LoadingSpinner' import { createErrorMessage } from '../utils/errorToasts' import { useGetCurrentTicket } from '../hooks/hooks' +import { ExternalLinkIcon } from '@chakra-ui/icons' const fileTypes = ['PNG', 'JPG', 'PDF'] const UploadFileModal = ({ @@ -101,10 +103,22 @@ const UploadFileModal = ({ {isSupportingDocument - ? 'Upload Supporting Documents' + ? 'Upload Expense Claim Form' : 'Upload Files'} + {isSupportingDocument && ( + + + Expense Claim Form Guide + + + + )} { > Upload Files - + {currentTicket.type === TICKET_TYPES.PPR && ( + + )} )} {getCurrentTicketContentTable()} @@ -351,7 +353,7 @@ const Dashboard = () => { {supportingDocuments.length > 0 && ( - Supporting Documents + Expense Claim Form {supportingDocuments?.map((file) => { @@ -419,7 +421,7 @@ const Dashboard = () => { (file) => file.is_supporting_document )} refetchFiles={getUploadedFiles} - isSupportingDocument={true} + isSupportingDocument /> )} {isDeleteTicketOpen && (