167 lines · 3.1 KB · JSONRaw
{ "format_version": 1, "id": "yoga_expense", "name": "Expense", "plural": "Expenses", "picture": null, "builtin": false, "engine": null, "visibility": "staff", "columns": [ { "key": "name", "name": "Expense", "type": "text", "required": true, "placeholder": "Rent" }, { "key": "category", "name": "Kind", "type": "choice", "format": "words", "choices": [ "rent", "salaries", "utilities", "props", "laundry", "marketing", "maintenance", "other" ], "labels": { "rent": "Rent", "salaries": "Salaries", "utilities": "Utilities", "props": "Mats and props", "laundry": "Towels and laundry", "marketing": "Marketing", "maintenance": "Maintenance", "other": "Other" } }, { "key": "amount", "name": "Amount", "type": "amount", "required": true, "currency": "currency" }, { "key": "currency", "name": "Currency", "type": "text" }, { "key": "spent_on", "name": "Spent on", "type": "date" }, { "key": "paid_to", "name": "Paid to", "type": "text" }, { "key": "method", "name": "By", "type": "choice", "format": "words", "choices": [ "cash", "upi", "bank" ], "labels": { "cash": "Cash", "upi": "UPI", "bank": "Bank transfer" } }, { "key": "notes", "name": "Notes", "type": "longtext" } ], "title": "name", "date": "spent_on", "project": null, "order": null, "slip": { "title": "name", "photo": null, "toggle": null, "subtitle": [ "category", "paid_to" ], "trailing": "amount" }, "tile": { "face": "slip-list" }, "page": [ { "heading": null, "columns": [ "name", "category", "amount", "method" ] }, { "heading": "When", "columns": [ "spent_on", "paid_to" ] }, { "heading": "Notes", "columns": [ "notes", "currency" ] } ], "sort": { "column": "spent_on", "descending": true, "tie": "name" }, "empty": { "title": "No expenses", "message": "What the studio spends: rent, salaries, props, laundry." }, "card": { "face": "transaction.receipt", "fields": [ { "slot": "title", "column": "name" }, { "slot": "subtitle", "column": "paid_to" }, { "slot": "amount", "column": "amount" }, { "slot": "date", "column": "spent_on", "form": "weekday_date" }, { "slot": "body", "column": "notes" } ] }, "instructions": "One row per sum the studio spends, staff only: what, how much, on which day, to whom and how. Write one only for money actually spent.", "by_day": "spent_on"}