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