Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

Add DREF regional focal point field to DREF Application and Operation Update #2904

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 34 additions & 36 deletions src/root/views/DrefApplicationForm/Submission/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,42 +275,40 @@ function Submission(props: Props) {
/>
</InputSection>
}
{drefType === TYPE_LOAN &&
<InputSection
title={strings.drefFormDrefRegionalPoint}
multiRow
twoColumn
>
<TextInput
label="Name"
name="regional_focal_point_name"
value={value.regional_focal_point_name}
onChange={onValueChange}
error={error?.regional_focal_point_name}
/>
<TextInput
label="Title"
name="regional_focal_point_title"
value={value.regional_focal_point_title}
onChange={onValueChange}
error={error?.regional_focal_point_title}
/>
<TextInput
label="Email"
name="regional_focal_point_email"
value={value.regional_focal_point_email}
onChange={onValueChange}
error={error?.regional_focal_point_email}
/>
<TextInput
label="Phone Number"
name="regional_focal_point_phone_number"
value={value.regional_focal_point_phone_number}
onChange={onValueChange}
error={error?.regional_focal_point_phone_number}
/>
</InputSection>
}
<InputSection
title={strings.drefFormDrefRegionalPoint}
multiRow
twoColumn
>
<TextInput
label="Name"
name="regional_focal_point_name"
value={value.regional_focal_point_name}
onChange={onValueChange}
error={error?.regional_focal_point_name}
/>
<TextInput
label="Title"
name="regional_focal_point_title"
value={value.regional_focal_point_title}
onChange={onValueChange}
error={error?.regional_focal_point_title}
/>
<TextInput
label="Email"
name="regional_focal_point_email"
value={value.regional_focal_point_email}
onChange={onValueChange}
error={error?.regional_focal_point_email}
/>
<TextInput
label="Phone Number"
name="regional_focal_point_phone_number"
value={value.regional_focal_point_phone_number}
onChange={onValueChange}
error={error?.regional_focal_point_phone_number}
/>
</InputSection>
{drefType !== TYPE_LOAN &&
<InputSection
title={strings.drefFormMediaContact}
Expand Down
70 changes: 34 additions & 36 deletions src/root/views/DrefOperationalUpdateForm/Submission/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -277,42 +277,40 @@ function Submission(props: Props) {
/>
</InputSection>
}
{drefType === TYPE_LOAN &&
<InputSection
title={strings.drefFormDrefRegionalPoint}
multiRow
twoColumn
>
<TextInput
label="Name"
name="regional_focal_point_name"
value={value.regional_focal_point_name}
onChange={onValueChange}
error={error?.regional_focal_point_name}
/>
<TextInput
label="Title"
name="regional_focal_point_title"
value={value.regional_focal_point_title}
onChange={onValueChange}
error={error?.regional_focal_point_title}
/>
<TextInput
label="Email"
name="regional_focal_point_email"
value={value.regional_focal_point_email}
onChange={onValueChange}
error={error?.regional_focal_point_email}
/>
<TextInput
label="Phone Number"
name="regional_focal_point_phone_number"
value={value.regional_focal_point_phone_number}
onChange={onValueChange}
error={error?.regional_focal_point_phone_number}
/>
</InputSection>
}
<InputSection
title={strings.drefFormDrefRegionalPoint}
multiRow
twoColumn
>
<TextInput
label="Name"
name="regional_focal_point_name"
value={value.regional_focal_point_name}
onChange={onValueChange}
error={error?.regional_focal_point_name}
/>
<TextInput
label="Title"
name="regional_focal_point_title"
value={value.regional_focal_point_title}
onChange={onValueChange}
error={error?.regional_focal_point_title}
/>
<TextInput
label="Email"
name="regional_focal_point_email"
value={value.regional_focal_point_email}
onChange={onValueChange}
error={error?.regional_focal_point_email}
/>
<TextInput
label="Phone Number"
name="regional_focal_point_phone_number"
value={value.regional_focal_point_phone_number}
onChange={onValueChange}
error={error?.regional_focal_point_phone_number}
/>
</InputSection>
{drefType !== TYPE_LOAN &&
<InputSection
title={strings.drefFormMediaContact}
Expand Down