[ 'model' => \Bixo\Shop\Models\Accessory::class, 'table' => 'bixo_shop_accessories', 'hidden'=> [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'created_at', 'updated_at'], 'appends' => [], 'fillable' => ['name', 'description', 'price', 'brand', 'car_models', 'stock', 'images', 'user_id'], 'translatables' => [], 'upload_folder' => 'shop/accessory', 'uploads' => [ /* 'images' => [ 'count' => 10, 'type' => 'image', ], 'file' => [ 'count' => 1, 'type' => 'file', ], */ ], 'casts' => [ /* 'images' => 'array', 'file' => 'array', */ ], 'revision' => [], 'perPage' => '20', 'search' => [ 'name' => 'like', 'status', ] ], 'search' => [ ], 'list' => [ [ "key" => "name", "type" => "text", "label" => 'shop::accessory.label.name', 'sort' => true, 'roles' => [], ], [ "key" => "description", "type" => "text", "label" => 'shop::accessory.label.description', 'sort' => true, 'roles' => [], ], [ "key" => "price", "type" => "text", "label" => 'shop::accessory.label.price', 'sort' => true, 'roles' => [], ], [ "key" => "brand", "type" => "text", "label" => 'shop::accessory.label.brand', 'sort' => true, 'roles' => [], ], [ "key" => "car_models", "type" => "text", "label" => 'shop::accessory.label.car_models', 'sort' => true, 'roles' => [], ], [ "key" => "stock", "type" => "text", "label" => 'shop::accessory.label.stock', 'sort' => true, 'roles' => [], ], [ "key" => "images", "type" => "text", "label" => 'shop::accessory.label.images', 'sort' => true, 'roles' => [], ], ], 'form' => [ [ "key" => 'name', "element" => 'package::package.formcontrols.VARCHAR', "type" => 'package::package.formcontrols.VARCHAR', "label" => 'shop::accessory.label.name', "placeholder" => 'shop::accessory.placeholder.name', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'description', "element" => 'package::package.formcontrols.VARCHAR', "type" => 'package::package.formcontrols.VARCHAR', "label" => 'shop::accessory.label.description', "placeholder" => 'shop::accessory.placeholder.description', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'price', "element" => 'package::package.formcontrols.INT', "type" => 'package::package.formcontrols.INT', "label" => 'shop::accessory.label.price', "placeholder" => 'shop::accessory.placeholder.price', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'brand', "element" => 'package::package.formcontrols.VARCHAR', "type" => 'package::package.formcontrols.VARCHAR', "label" => 'shop::accessory.label.brand', "placeholder" => 'shop::accessory.placeholder.brand', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'car_models', "element" => 'package::package.formcontrols.TEXT', "type" => 'package::package.formcontrols.TEXT', "label" => 'shop::accessory.label.car_models', "placeholder" => 'shop::accessory.placeholder.car_models', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'stock', "element" => 'package::package.formcontrols.INT', "type" => 'package::package.formcontrols.INT', "label" => 'shop::accessory.label.stock', "placeholder" => 'shop::accessory.placeholder.stock', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'images', "element" => 'package::package.formcontrols.TEXT', "type" => 'package::package.formcontrols.TEXT', "label" => 'shop::accessory.label.images', "placeholder" => 'shop::accessory.placeholder.images', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], ], 'urls' => [ 'new' => [ 'url' => 'shop/accessory/new', 'method' => 'GET', ], 'create' => [ 'url' => 'shop/accessory/create', 'method' => 'GET', ], 'store' => [ 'url' => 'shop/accessory', 'method' => 'POST', ], 'update' => [ 'url' => 'shop/accessory', 'method' => 'PUT', ], 'list' => [ 'url' => 'shop/accessory', 'method' => 'GET', ], 'delete' => [ 'url' => 'shop/accessory', 'method' => 'DELETE', ], ], 'order' => [ 'created_at' => 'shop::accessory.label.created_at', 'name' => 'shop::accessory.label.name', 'status' => 'shop::accessory.label.status', ], 'groups' => [ [ 'icon' => "mdi:account-supervisor-outline", 'name' => "shop::accessory.groups.main", 'group' => "main.main", 'title' => "shop::accessory.groups.main", ], [ 'icon' => "fe:home", 'name' => "shop::accessory.groups.details", 'group' => "main.details", 'title' => "shop::accessory.groups.details", ], 'images' => [ 'icon' => "fe:home", 'name' => "shop::accessory.groups.images", 'group' => "main.images", 'title' => "shop::accessory.groups.images", ], 'settings' => [ 'icon' => "fe:home", 'name' => "shop::accessory.groups.settings", 'group' => "main.settings", 'title' => "shop::accessory.groups.settings", ] ], 'controller' => [ 'provider' => 'Bixo', 'package' => 'Shop', 'module' => 'Accessory', ], ];