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