{
    "title": "Employee Profile",
    "modulePath": "modules/HR/EmployeeProfile",
    "header": [],
    "body": [
      {
        "type": "tabs",
        "tabs": [
          {
            "id": "salary",
            "label": "Salary",
            "icon": "fa-money-bill-wave",
            "content": {
              "type": "table",
              "options": {
                "tableName": "salaries",
                "columnLabels": {
                  "salary_type": "Type",
                  "rate": "Amount",
                  "currency": "Currency",
                  "effective_date": "Start Date",
                  "end_date": "End Date"
                },
                "showGlobalSearch": false,
                "filters": {}
              }
            }
          },
          {
            "id": "disciplinary",
            "label": "Disciplinary",
            "icon": "fa-gavel",
            "content": {
              "type": "html",
              "html": "<div class=\"alert alert-success\"><i class=\"fas fa-check-circle\"></i> No disciplinary records found. Employee has a clean record.</div>"
            }
          },
          {
            "id": "hours",
            "label": "Hours",
            "icon": "fa-clock",
            "content": {
              "type": "table",
              "options": {
                "tableName": "time_clocks",
                "columnLabels": {
                  "clock_type": "Type",
                  "clocked_at": "Time",
                  "location_name": "Location"
                },
                "showGlobalSearch": false,
                "filters": {}
              }
            }
          },
          {
            "id": "bonus",
            "label": "Bonus",
            "icon": "fa-gift",
            "content": {
              "type": "html",
              "html": "<div class=\"alert alert-info\"><i class=\"fas fa-gift\"></i> Bonus tracking feature - Shows how much bonus an employee should receive</div>"
            }
          },
          {
            "id": "leave",
            "label": "Leave",
            "icon": "fa-umbrella-beach",
            "content": {
              "type": "table",
              "options": {
                "tableName": "leave_requests",
                "columnLabels": {
                  "leavetype": "Type",
                  "startdate": "Start Date",
                  "enddate": "End Date",
                  "reason": "Reason",
                  "status": "Status"
                },
                "showGlobalSearch": false,
                "filters": {}
              }
            }
          }
        ]
      }
    ],
    "footer": [
      {
        "type": "button",
        "label": "Close",
        "onClick": "closeModal"
      }
    ]
  }