<?php defined('BASEPATH') or exit('No direct script access allowed');
$config = [
  'company/createDepartment' => [
    [
      'field' => 'name',
      'label' => 'lang:name',
      'rules' => 'required',
    ],
    [
      'field' => 'user_id',
      'label' => 'lang:hr_department_head',
      'rules' => 'required',
    ],
    [
      'field' => 'location_id',
      'label' => 'lang:hr_location',
      'rules' => 'required',
    ],
  ],
];