Warp Map demo — a Filament plugin for territories and route planning. Draw, plan, reorder and delete anything; the data is reset every hour. warpui.com About Warp Map Docs Ask a question Support
Skip to content

Leads

Try it here: Leads are followed up every 14 days once contacted, and every 7 once they have a quote. “Next visit” counts from “Last call”: the latest sales call in the app’s own table, not a Warp Map route. Warp Map reads it for every lead on the page (and on the map) in one query, with lastVisitsUsing(). Press “Log a call” on a lead that is late: a call is saved for today and the badge turns green. lastVisitedAt(fn ($lead) => …) gives the same result with one query per lead; with many places, use lastVisitsUsing().