{"list": {"title": "My Quotations", "columns": [{"field": "quotation_number", "label": "Number", "sortable": true}, {"type": "date", "field": "date", "label": "Date", "sortable": true}, {"type": "date", "field": "expires_at", "label": "Valid Until", "sortable": true}, {"type": "currency", "field": "total_amount", "label": "Amount", "sortable": true}, {"type": "badge", "field": "status", "label": "Status", "sortable": true}], "rowActions": [{"icon": "fa-eye", "label": "View", "action": "openModal", "modalId": "quotation-detail"}, {"icon": "fa-check", "class": "btn-success btn-sm", "label": "Accept", "action": "quotations:accept", "confirm": "Accept this quotation?", "condition": "status == \"sent\""}, {"icon": "fa-times", "class": "btn-error btn-sm", "label": "Reject", "action": "quotations:reject", "condition": "status == \"sent\""}, {"icon": "fa-file-pdf", "class": "btn-ghost btn-sm", "label": "Download PDF", "action": "quotations:pdf"}], "defaultSort": {"field": "date", "direction": "desc"}}, "type": "list-detail", "table": "quotations", "detail": {"size": "large", "title": "Quotation Details", "modalId": "quotation-detail", "readonly": true, "sections": [{"title": "Quotation Information", "fields": [{"name": "quotation_number", "type": "text", "label": "Quotation #", "readonly": true}, {"name": "date", "type": "date", "label": "Date", "readonly": true}, {"name": "expires_at", "type": "date", "label": "Valid Until", "readonly": true}, {"name": "status", "type": "text", "label": "Status", "readonly": true}, {"name": "note", "type": "textarea", "label": "Notes", "readonly": true}]}, {"title": "Amount", "fields": [{"name": "total_amount", "type": "currency", "label": "Total Amount", "readonly": true}]}]}, "dataFilter": "client_id IN (SELECT client_id FROM clients WHERE user_id = {current_user_id})", "primaryKey": "quotation_id"}