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