Cotton code
46 lines · 989 B · JSONRaw
{  "views": [    {      "id": "month",      "label": "This month",      "is_default": true,      "visibility": "staff",      "read": {        "table": "yoga_expense",        "period": "this_month"      },      "face": "cards",      "sort": {        "column": "spent_on",        "descending": true      }    },    {      "id": "all",      "label": "All",      "is_default": false,      "visibility": "staff",      "read": {        "table": "yoga_expense"      },      "face": "cards",      "sort": {        "column": "spent_on",        "descending": true      }    }  ],  "id": "yoga_expenses",  "name": "Expenses",  "picture": "tool-money",  "card_stock": "grey",  "tables": [],  "instructions": "Expenses is what the studio spends (yoga_expense), this month and in all.",  "automations": [],  "author": {    "device": "cotton",    "name": "Cotton"  },  "signature": null,  "purpose": "What the studio spends: rent, salaries, props, laundry."}