{"body": [{"tabs": [{"label": "Hours", "elements": [{"type": "button", "label": "Add Hour", "onClick": "openCaseHourForm"}, {"type": "table-view", "viewId": 100, "recordMap": "formatCaseHourRow"}]}, {"label": "Documents", "elements": [{"type": "button", "label": "Upload Document", "onClick": "uploadCaseDocument"}, {"id": "caseDocsTbl", "type": "table", "options": {"addButton": false, "tableName": "documents", "showGlobalSearch": false}}]}, {"label": "Invoices", "elements": [{"type": "button", "label": "Create Invoice", "onClick": "openCaseInvoiceForm"}, {"id": "caseInvoicesTbl", "type": "table", "options": {"addButton": false, "tableName": "invoices", "rowActions": [{"label": "Download", "onClick": "downloadCaseInvoice"}, {"label": "Preview", "onClick": "previewCaseInvoice"}], "showGlobalSearch": false}}]}, {"label": "Payments", "elements": [{"type": "button", "label": "Record Payment", "onClick": "openCasePaymentForm"}, {"id": "casePaymentsTbl", "type": "table", "options": {"addButton": false, "tableName": "payments", "showGlobalSearch": false}}]}], "type": "tabs"}], "title": "Case Detail", "footer": [{"type": "button", "label": "Close", "onClick": "closeModal"}]}