mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 15:20:34 +00:00
fix: Invalid bill payment amount on editing bill payment
This commit is contained in:
@@ -28,6 +28,7 @@ export default function PaymentReceiveItemsTable({
|
||||
// Formik context.
|
||||
const {
|
||||
values: { customer_id },
|
||||
errors,
|
||||
} = useFormikContext();
|
||||
|
||||
// No results message.
|
||||
@@ -58,7 +59,7 @@ export default function PaymentReceiveItemsTable({
|
||||
data={entries}
|
||||
spinnerProps={false}
|
||||
payload={{
|
||||
errors: [],
|
||||
errors: errors?.entries || [],
|
||||
updateData: handleUpdateData,
|
||||
currencyCode,
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user