mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
fix(FE): fixing injection payload negative not send properly
This commit is contained in:
@@ -94,7 +94,7 @@ const FormFinanceInjection = ({
|
||||
return {
|
||||
bank_id: Number(values.bank_id_option?.value) || 0,
|
||||
adjustment_date: formatDate(values.adjustment_date, 'YYYY-MM-DD'),
|
||||
nominal: Number(values.nominal.replace(/\D/g, '')) || 0,
|
||||
nominal: isNaN(Number(values.nominal)) ? 0 : Number(values.nominal),
|
||||
notes: values.note,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user