{"body": [{"tabs": [{"label": "Worked Hours", "elements": [{"type": "table", "options": {"rowClick": "selectRecord", "addButton": false, "tableName": "time_clock_aggregates", "rowActions": [{"label": "Daily Details", "onClick": "viewDailyDetails"}, {"label": "View Details", "onClick": "viewTimeClockDetails"}, {"label": "View GPS Map", "onClick": "viewTimeClockGpsMap"}], "filterField": "start_date", "syncFilters": true, "listenColumn": "start_date", "columnsToShow": ["name", "start_date", "end_date", "total_net_hours", "total_overtime_hours", "total_regular_hours", "total_payable_hours", "total_days_worked"], "showGlobalSearch": false}}]}, {"label": "Payslips", "elements": [{"type": "table", "options": {"addButton": false, "tableName": "generated_payslips", "filterField": "start_date", "listenColumn": "start_date", "columnsToShow": ["user_name", "org_name", "gross_pay", "net_pay", "start_date", "end_date"], "showGlobalSearch": false}}]}], "type": "tabs"}], "title": "Payroll", "footer": [{"type": "button", "label": "Close", "onClick": "closeModal"}], "header": [{"type": "filter-date-range", "options": {"label": "Pay Period", "data_column": "start_date"}}, {"type": "button", "label": "Generate Pay", "onClick": "generatePayForEmployees"}, {"type": "button", "label": "Export Excel", "onClick": "exportTimeClockExcel"}]}