From 80cafce9a71fc069a2e510fa643171b29bec16bb Mon Sep 17 00:00:00 2001 From: Vitalii Kiiko Date: Mon, 26 Jan 2026 11:17:02 +0100 Subject: [PATCH] - decimals for amount accepted field; --- src/pages/DomandaEditInstructorManager/index.js | 3 ++- src/pages/DomandaEditPreInstructor/index.js | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pages/DomandaEditInstructorManager/index.js b/src/pages/DomandaEditInstructorManager/index.js index 4d183ad..1f0a76c 100644 --- a/src/pages/DomandaEditInstructorManager/index.js +++ b/src/pages/DomandaEditInstructorManager/index.js @@ -1858,7 +1858,8 @@ const DomandaEditInstructorManager = () => { {__('Importo approvato', 'gepafin')} 0 ? data.amountAccepted : data.amountRequested} + maxFractionDigits={2} readOnly={!isEmpty(data.amountAccepted) && data.amountAccepted > 0} keyfilter="int" invalid={!finalDialogData.amount || isEmpty(finalDialogData.amount) || finalDialogData.amount === 0} diff --git a/src/pages/DomandaEditPreInstructor/index.js b/src/pages/DomandaEditPreInstructor/index.js index 76d2733..c6facd0 100644 --- a/src/pages/DomandaEditPreInstructor/index.js +++ b/src/pages/DomandaEditPreInstructor/index.js @@ -1858,9 +1858,9 @@ const DomandaEditPreInstructor = () => { {__('Importo approvato', 'gepafin')} 0 ? data.amountAccepted : data.amountRequested} + maxFractionDigits={2} readOnly={!isEmpty(data.amountAccepted) && data.amountAccepted > 0} - keyfilter="int" invalid={!finalDialogData.amount || isEmpty(finalDialogData.amount) || finalDialogData.amount === 0} onChange={(e) => updateFinalDialogData(e.value, 'amount')}/> : null}