File tree Expand file tree Collapse file tree 7 files changed +39
-4
lines changed
DrefApplicationForm/Operation
DrefFinalReportForm/Operation
DrefOperationalUpdateForm Expand file tree Collapse file tree 7 files changed +39
-4
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " go-web-app " : patch
3+ ---
4+
5+ Update DREF forms
6+
7+ - Move Response strategy description from placeholder to below the input
8+ - Add DREF allocation field in event details for the Loan type Ops. update form
Original file line number Diff line number Diff line change @@ -696,12 +696,12 @@ function Operation(props: Props) {
696696 />
697697 </ InputSection >
698698 < InputSection
699- description = { ! plannedBudgetMatchRequestedAmount && (
699+ description = { ! plannedBudgetMatchRequestedAmount ? (
700700 < div className = { styles . warning } >
701701 < ErrorWarningFillIcon className = { styles . icon } />
702702 { strings . drefFormResponseTotalAmountOfPlannedBudget }
703703 </ div >
704- ) }
704+ ) : < div /> }
705705 >
706706 < div className = { styles . interventionSelectionContainer } >
707707 < SelectInput
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ function Operation(props: Props) {
242242 onChange = { setFieldValue }
243243 value = { value . response_strategy }
244244 error = { error ?. response_strategy }
245- placeholder = { strings . drefFormResponseRationalePlaceholder }
245+ hint = { strings . drefFormResponseRationalePlaceholder }
246246 disabled = { disabled }
247247 />
248248 </ InputSection >
Original file line number Diff line number Diff line change 77 "drefOperationalUpdateSummaryAreYouChangingTargetPopulation" : " Are you changing the target population of the operation" ,
88 "drefOperationalUpdateSummaryAreYouChangingGeographicalLocation" : " Are you changing the geographical location" ,
99 "drefOperationalUpdateSummaryAreYouChangingBudget" : " Are you making changes to the budget" ,
10+ "drefOperationalUpdateAllocationSoFarForTypeLoan" : " Budget Allocated so far" ,
1011 "drefOperationalUpdateSummaryRequestForSecondAllocation" : " Are you requesting an additional allocation?" ,
1112 "drefOperationalUpdateEventMaterialize" : " Has the forecasted event materialize?" ,
1213 "drefOperationalUpdateEventMaterializeExplain" : " Please explain how is the operation is transitioning from Anticipatory to Response" ,
Original file line number Diff line number Diff line change @@ -366,6 +366,21 @@ function EventDetail(props: Props) {
366366 { /* NOTE: Empty div to preserve the layout */ }
367367 < div />
368368 </ InputSection >
369+ { value . type_of_dref === TYPE_LOAN && (
370+ < Container >
371+ < InputSection
372+ title = { strings . drefOperationalUpdateAllocationSoFarForTypeLoan }
373+ >
374+ < NumberInput
375+ name = "total_dref_allocation"
376+ value = { value ?. total_dref_allocation }
377+ onChange = { setFieldValue }
378+ error = { error ?. total_dref_allocation }
379+ disabled = { disabled }
380+ />
381+ </ InputSection >
382+ </ Container >
383+ ) }
369384 { value . type_of_dref !== TYPE_LOAN && (
370385 < InputSection
371386 title = {
Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ function Operation(props: Props) {
289289 onChange = { setFieldValue }
290290 value = { value . response_strategy }
291291 error = { error ?. response_strategy }
292- placeholder = { strings . drefFormResponseRationalePlaceholder }
292+ hint = { strings . drefFormResponseRationalePlaceholder }
293293 disabled = { disabled }
294294 />
295295 </ InputSection >
Original file line number Diff line number Diff line change 1+ {
2+ "parent" : " 000033-1748942208005.json" ,
3+ "actions" : [
4+ {
5+ "action" : " add" ,
6+ "key" : " drefOperationalUpdateAllocationSoFarForTypeLoan" ,
7+ "namespace" : " drefOperationalUpdateForm" ,
8+ "value" : " Budget Allocated so far"
9+ }
10+ ]
11+ }
You can’t perform that action at this time.
0 commit comments