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}> +