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