WFDASH-WEBAPP/docs/pocketbase/order_counters.collection.json
SJCoetz cdaa2e2b25 fix, feat, style: standardize quote numbers, polish UI
- Standardize quote number format from Q-YYYY-MM-NNN to QYYYYMMNNN across all client, server, test and API code
- Add atomic backfill logic for quote counters to avoid sequence collisions with existing records
- Rearrange Delivery Notes and Repairs to the Operations sidebar section
- Add supplier count badge to pricelist catalogue and improve filter tab overflow styling
- Optimize font loading in root layout to skip preloading unused font weights
- Improve table styling for customer and company pages with better text wrapping and empty states
- Fix rep display logic in quotes page to show "Unassigned" when no rep is assigned
- Add supporting documentation, PocketBase counter schemas and setup migration scripts
- Remove embedded SupplierMap from suppliers page for cleaner layout
- Improve invoice card layout for company and customer info spacing
- Improve filter label styling and accessibility in collection map page
2026-07-10 22:21:50 +02:00

18 lines
700 B
JSON

{
"name": "order_counters",
"type": "base",
"system": false,
"listRule": "@request.auth.id != ''",
"viewRule": "@request.auth.id != ''",
"createRule": "@request.auth.id != ''",
"updateRule": "@request.auth.id != ''",
"deleteRule": "@request.auth.id != ''",
"fields": [
{ "name": "year", "type": "number", "required": true, "min": 2000, "max": 2999, "noDecimal": true },
{ "name": "month", "type": "number", "required": true, "min": 1, "max": 12, "noDecimal": true },
{ "name": "last_seq", "type": "number", "required": false, "min": 0, "noDecimal": true }
],
"indexes": [
"CREATE UNIQUE INDEX idx_order_counters_year_month ON order_counters (year, month)"
]
}