mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-07-22 08:48:34 +00:00
Previously, any HubSpot outcome would override bookingStatus="Do Not Book" and keep the property in the normal pipeline. That was too permissive — outcomes like "Tenant Refusal" or "Not Viable" combined with Do Not Book should classify the property as Removed from Bookings, not lurk in Queries or the survey-issues bucket. Now only completed survey outcomes (Surveyed, Surveyed - Pending Upload, EPC Completed) override Do Not Book. Any other outcome + Do Not Book falls through to Removed from Bookings, surfaces in the Halted or Removed panel, and gets the matching stage badge in the Properties tab. The redundant "Removed from Bookings" chip in the drill-down table is gone since the stage classification now carries that signal cleanly. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| actions | ||
| api | ||
| auth | ||
| components | ||
| db | ||
| domna | ||
| email_templates | ||
| engineDb | ||
| help | ||
| home | ||
| hooks | ||
| lib | ||
| onboarding | ||
| portfolio/[slug] | ||
| shadcn_components/ui | ||
| types | ||
| utils | ||
| verify/[token] | ||
| globals.css | ||
| layout.tsx | ||
| page.tsx | ||
| ReactQueryProvider.tsx | ||
| utils.test.ts | ||
| utils.ts | ||