[ '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" => 'select', "type" => 'select', "label" => trans('candidate::candidate.label.gender'), "placeholder" => trans('candidate::candidate.placeholder.gender'), "rules" => '', "options" => function(){ return []; }, "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_picker', "type" => 'date_picker', "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" => [], ], ], 'birthplace' => [ "element" => 'text', "type" => 'text', "label" => trans('candidate::candidate.label.birthplace'), "placeholder" => trans('candidate::candidate.placeholder.birthplace'), "required" => 'true', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'country' => [ "element" => 'select', "type" => 'select', "label" => trans('candidate::candidate.label.country'), "placeholder" => trans('candidate::candidate.placeholder.country'), "required" => 'true', "options" => function(){ return []; }, "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'marital_status' => [ "element" => 'select', "type" => 'select', "label" => trans('candidate::candidate.label.marital_status'), "placeholder" => trans('candidate::candidate.placeholder.marital_status'), "rules" => '', "options" => function(){ return []; }, "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'children' => [ "element" => 'text', "type" => 'text', "label" => trans('candidate::candidate.label.children'), "placeholder" => trans('candidate::candidate.placeholder.children'), "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'religion' => [ "element" => 'text', "type" => 'text', "label" => trans('candidate::candidate.label.religion'), "placeholder" => trans('candidate::candidate.placeholder.religion'), "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'profile_pitcure' => [ "element" => 'file', "type" => 'image', "label" => trans('candidate::candidate.label.profile_pitcure'), "placeholder" => trans('candidate::candidate.placeholder.profile_pitcure'), "rules" => '', "group" => "main", "section" => "first", "col" => "12", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'email' => [ "element" => 'email', "type" => 'email', "label" => trans('candidate::candidate.label.email'), "placeholder" => trans('candidate::candidate.placeholder.email'), "required" => 'true', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'phone' => [ "element" => 'text', "type" => 'text', "label" => trans('candidate::candidate.label.phone'), "placeholder" => trans('candidate::candidate.placeholder.phone'), "required" => 'true', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'whatsapp_number' => [ "element" => 'text', "type" => 'text', "label" => trans('candidate::candidate.label.whatsapp_number'), "placeholder" => trans('candidate::candidate.placeholder.whatsapp_number'), "required" => 'true', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], ]; return new static(); } }