mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 23:00:34 +00:00
fix: Invalid bill payment amount on editing bill payment
This commit is contained in:
@@ -30,6 +30,7 @@ export default function PaymentMadeEntriesTable({
|
||||
// Formik context.
|
||||
const {
|
||||
values: { vendor_id },
|
||||
errors,
|
||||
} = useFormikContext();
|
||||
|
||||
// Handle update data.
|
||||
@@ -63,7 +64,7 @@ export default function PaymentMadeEntriesTable({
|
||||
data={entries}
|
||||
spinnerProps={false}
|
||||
payload={{
|
||||
errors: [],
|
||||
errors: errors?.entries || [],
|
||||
updateData: handleUpdateData,
|
||||
currencyCode,
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user