Skip to content

Commit 79e1e7a

Browse files
committed
fix(full-eap): update accept file in eap forms
1 parent 08f77dc commit 79e1e7a

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

app/src/views/EapFullForm/FinanceLogistics/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function FinanceLogistics(props: Props) {
110110
>
111111
<GoSingleFileInput
112112
name="budget_file"
113-
accept=".pdf, .docx, .pptx"
113+
accept=".xlsx, .xlsm"
114114
fileIdToUrlMap={fileIdToUrlMap}
115115
onChange={setFieldValue}
116116
url="/api/v2/eap-file/"

app/src/views/EapFullForm/SelectionActions/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ function SelectionActions(props: Props) {
330330
)}
331331
>
332332
<GoSingleFileInput
333-
accept=".pdf"
333+
accept=".docx"
334334
required
335335
name="theory_of_change_table_file"
336336
value={value.theory_of_change_table_file}

app/src/views/EapFullForm/TriggerModel/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ function TriggerModel(props: Props) {
245245
)}
246246
>
247247
<GoSingleFileInput
248-
accept=".pdf"
248+
accept=".docx"
249249
name="forecast_table_file"
250250
value={value.forecast_table_file}
251251
url="/api/v2/eap-file/"

app/src/views/EapFullForm/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ function getNextStep(current: TabKeys, direction: 1 | -1) {
8282
'eapActivation',
8383
'meal',
8484
'nationalSocietyCapacity',
85+
'financeLogistics',
8586
];
8687
const currentIndex = tabKeyList.findIndex((key) => key === current);
8788

0 commit comments

Comments
 (0)