refactor: enhance employee and service forms with new fields and validation
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -39,10 +39,9 @@ export function BillPaymentsSection() {
|
||||
{(resourceId) => (
|
||||
<PaymentMadeForm
|
||||
initialData={{
|
||||
anount: bill?.balance_due,
|
||||
amount: bill?.balance_due,
|
||||
vendor: toRelation(bill?.vendor?.id, getFullName(bill?.vendor as any)),
|
||||
payment_made: bill?.balance_due != null ? String(bill.balance_due) : undefined,
|
||||
|
||||
payment_for: "bill",
|
||||
}}
|
||||
billId={bill?.id}
|
||||
resourceId={resourceId}
|
||||
|
||||
Reference in New Issue
Block a user