referralSource — it was never added, not removed. The BookingDetailsBox component is the natural home for this field as it already groups booking-origin context (Scheduled By, Confirmed By, Canceled By).InspectionFullyPopulated type already passes the inspection object into BookingDetailsBox, so referralSource is available in the component's props with no additional fetching required.Locked
BookingDetailsBox component on the Work Order, alongside the other booking context fields.referralSource is null or an empty string.Open
Frontend (attik-frontend)
src/app/tools/inspections/[id]/components/BookingDetailsBox.tsx — Primary change. Add a Referral Source row below the existing Scheduled/Confirmed/Canceled grid. Reads inspection.referralSource; renders conditionally when present.src/app/tools/inspections/[id]/components/WorkorderPage.tsx — No changes expected; inspection is already passed to BookingDetailsBox.referralSource field definition in src/config/exportFieldDefinitions.ts (both inspectionFields and quoteFields)src/models/inspectionSchema.ts — confirms field stored on inspectionsrc/util/functions/inspection/createInspection.ts — confirms field written at booking timePlease authenticate to join the conversation.
Planned
Main App
About 3 hours ago
Linear
Get notified by email when there are changes.
Planned
Main App
About 3 hours ago
Linear
Get notified by email when there are changes.