Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-05-07 11:30:23 +03:00
co-authored by Copilot
parent cdd1cbc31a
commit 1fda8d8d7b
5 changed files with 65 additions and 11 deletions
@@ -252,7 +252,7 @@ export function JobCardForm({ resourceId, initialData, onSuccess }: JobCardFormP
<div className="grid grid-cols-1 gap-4 sm:grid-cols-2">
<RhfCustomerSelectField name="customer" />
<RhfVehicleSelectField name="vehicle" customer_id={customer?.value} />
<RhfVehicleSelectField name="vehicle" disabled={!customer?.value} customer_id={customer?.value} />
</div>
<RhfCheckboxField name="has_insurance" label="Has Insurance Work?" />