[ 'url' => guard_url('department/department/new'), 'method' => 'GET', ], 'create' => [ 'url' => guard_url('department/department/create'), 'method' => 'GET', ], 'store' => [ 'url' => guard_url('department/department'), 'method' => 'POST', ], 'update' => [ 'url' => guard_url('department/department'), 'method' => 'PUT', ], 'list' => [ 'url' => guard_url('department/department'), 'method' => 'GET', ], 'delete' => [ 'url' => guard_url('department/department'), 'method' => 'DELETE', ], ]; self::$search = [ 'name' => [ "type" => 'text', "label" => trans('department::department.label.name'), "placeholder" => trans('department::department.placeholder.name'), "rules" => '', "group" => "main", "section" => "first", "col" => "4", "roles" => [], ] ]; self::$orderBy = [ 'created_at' => trans('department::department.label.created_at'), 'name' => trans('department::department.label.name'), 'status' => trans('department::department.label.status'), ]; self::$groups = [ 'main' => trans('department::department.groups.main'), 'details' => trans('department::department.groups.details'), 'images' => trans('department::department.groups.images'), 'settings' => trans('department::department.groups.settings'), ]; self::$list = [ [ 'key' => "ref", 'label' => trans('department::department.label.ref'), 'sortable' => 'true', 'roles' => [], ], [ 'key' => "id", 'label' => trans('department::department.label.id'), 'sortable' => 'true', 'roles' => [], ], [ 'key' => "name", 'label' => trans('department::department.label.name'), 'sortable' => 'true', 'roles' => [], ], [ 'key' => "status", 'label' => trans('department::department.label.status'), 'sortable' => 'true', 'roles' => [], ], ]; self::$fields = [ 'name' => [ "element" => 'text', "type" => 'text', "label" => trans('department::department.label.name'), "placeholder" => trans('department::department.placeholder.name'), "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'description' => [ "element" => 'text', "type" => 'text', "label" => trans('department::department.label.description'), "placeholder" => trans('department::department.placeholder.description'), "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'department_head_id' => [ "element" => 'numeric', "type" => 'numeric', "label" => trans('department::department.label.department_head_id'), "placeholder" => trans('department::department.placeholder.department_head_id'), "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], ]; return new static(); } }