190 lines · 3.2 KB · JSONRaw
{ "format_version": 1, "id": "yoga_lead", "name": "Lead", "plural": "Leads", "picture": null, "builtin": false, "engine": null, "visibility": "staff", "columns": [ { "key": "name", "name": "Name", "type": "text", "required": true }, { "key": "person", "name": "Person", "type": "link", "link_to": "person", "contributes": { "label": "Yoga lead" } }, { "key": "phone", "name": "Phone", "type": "text" }, { "key": "demo_on", "name": "Demo on", "type": "date" }, { "key": "came_by", "name": "Came by", "type": "choice", "choices": [ "walk_in", "phone", "whatsapp", "instagram", "friend" ], "format": "words" }, { "key": "status", "name": "Status", "type": "choice", "choices": [ "new", "demo_booked", "joined", "not_now" ], "format": "words", "default": "new", "labels": { "new": "New", "demo_booked": "Demo booked", "joined": "Joined", "not_now": "Not now" } }, { "key": "notes", "name": "Notes", "type": "longtext" } ], "title": "name", "date": "demo_on", "project": null, "order": null, "slip": { "title": "name", "photo": null, "toggle": null, "subtitle": [ "status", "came_by" ], "trailing": "demo_on" }, "tile": { "face": "slip-list" }, "page": [ { "heading": null, "columns": [ "name", "person", "phone", "status" ], "actions": [ { "label": "Joined", "sets": { "status": "joined" } }, { "label": "Not now", "sets": { "status": "not_now" } } ] }, { "heading": "Demo", "columns": [ "demo_on", "came_by" ] }, { "heading": "Notes", "columns": [ "notes" ] } ], "sort": { "column": "demo_on", "descending": false, "tie": "name" }, "empty": { "title": "No leads", "message": "People who asked about classes or came for a demo." }, "group": { "column": "status", "sections": [ { "heading": null, "values": [ "new", "demo_booked" ] }, { "heading": "Joined", "values": [ "joined" ], "closed": true }, { "heading": "Not now", "values": [ "not_now" ], "closed": true } ] }, "instructions": "One row per person who asked about classes, with the day of their demo class.", "card": { "face": "sharmila.client", "fields": [ { "slot": "title", "column": "name" }, { "slot": "subtitle", "column": "status", "also": [ "came_by" ] }, { "slot": "reached", "column": "demo_on", "form": "relative" }, { "slot": "body", "column": "notes" } ] }}