From 153e17132a911beb7d5ae2c6d99b9f22cbdcd056 Mon Sep 17 00:00:00 2001 From: Vitalii Kiiko Date: Fri, 14 Feb 2025 16:05:04 +0100 Subject: [PATCH] - added amountAccepted field; --- src/pages/DomandaEditPreInstructor/index.js | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/pages/DomandaEditPreInstructor/index.js b/src/pages/DomandaEditPreInstructor/index.js index 6e1def2..95d42b5 100644 --- a/src/pages/DomandaEditPreInstructor/index.js +++ b/src/pages/DomandaEditPreInstructor/index.js @@ -72,6 +72,7 @@ const DomandaEditPreInstructor = () => { const [isVisibleCompleteDialog, setIsVisibleCompleteDialog] = useState(false); const [operationType, setOperationType] = useState(''); const [motivation, setMotivation] = useState(''); + const [amountAccepted, setAmountAccepted] = useState(0); const [isVisibleAppointmentDialog, setIsVisibleAppointmentDialog] = useState(false); const [allFilesRated, setAllFilesRated] = useState(false); const [atLeastOneChecked, setAtLeastOneChecked] = useState(false); @@ -388,7 +389,8 @@ const DomandaEditPreInstructor = () => { checklist: klona(data.checklist), files: klona(data.files), note: data.note, - motivation + motivation, + amountAccepted } setLoading(true); @@ -1206,6 +1208,17 @@ const DomandaEditPreInstructor = () => { footer={footerCompleteDialog} style={{ maxWidth: '600px', width: '100%' }} onHide={hideCompleteDialog}> +
+ + setAmountAccepted(e.value)}/> +