Skip to content

Commit b37bd9d

Browse files
authored
#2082 update GenerateReceiptsModal.tsx
Made refund source required again
1 parent f3933a6 commit b37bd9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/frontend/src/pages/FinancePage/FinanceComponents/GenerateReceiptsModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { ReimbursementRequest } from 'shared';
1313
const schema = yup.object().shape({
1414
startDate: yup.date().required('Start Date is required'),
1515
endDate: yup.date().min(yup.ref('startDate'), `end date can't be before start date`).required('End Date is required'),
16-
refundSource: yup.string()
16+
refundSource: yup.string().required()
1717
});
1818

1919
interface GenerateReceiptsFormInput {

0 commit comments

Comments
 (0)