Skip to content

Commit 14bbfa1

Browse files
committed
Add funding source to MCC request details page
1 parent 421fc3a commit 14bbfa1

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

mcc/src/client/RequestReview/components/ReadOnlyRequest.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { AnimalRequestModel, AnimalRequestProps } from '../../components/RequestUtils';
33
import {
44
existingMarmosetColonyOptions,
5-
existingNHPFacilityOptions,
5+
existingNHPFacilityOptions, fundingSourceOptions,
66
IACUCApprovalOptions,
77
institutionTypeOptions
88
} from '../../AnimalRequest/components/values';
@@ -144,6 +144,12 @@ export default function ReadOnlyRequest(props: {requestData: AnimalRequestModel}
144144
])
145145
}) : 'N/A'}
146146
</Grid>
147+
<StyledGridFieldLabel item xs={2}>
148+
<div>Funding Source(s): </div>
149+
</StyledGridFieldLabel>
150+
<Grid item xs={10}>
151+
{translateRawToDisplayValue(requestData.request.fundingsource, fundingSourceOptions, true)}
152+
</Grid>
147153
</Grid>
148154

149155
<p />

mcc/src/client/components/RequestUtils.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export class AnimalRequestProps {
2929
officiallastname: string;
3030
officialfirstname: string;
3131
officialemail: string;
32+
fundingsource: string;
3233
experimentalrationale: string;
3334
breedinganimals: string;
3435
breedingpurpose: string;

0 commit comments

Comments
 (0)