[ 'model' => \Crm\Customer\Models\Website::class, 'table' => 'crm_customer_websites', 'hidden'=> [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'created_at', 'updated_at'], 'appends' => [], 'fillable' => ['customer_id', 'category', 'name', 'logo', 'about', 'services', 'slider', 'gallery', 'location_details'], 'translatables' => [], 'upload_folder' => 'customer/website', '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" => "customer_id", "type" => "text", "label" => 'customer::website.label.customer_id', 'sort' => true, 'roles' => [], ], [ "key" => "category", "type" => "text", "label" => 'customer::website.label.category', 'sort' => true, 'roles' => [], ], [ "key" => "name", "type" => "text", "label" => 'customer::website.label.name', 'sort' => true, 'roles' => [], ], [ "key" => "logo", "type" => "text", "label" => 'customer::website.label.logo', 'sort' => true, 'roles' => [], ], [ "key" => "about", "type" => "text", "label" => 'customer::website.label.about', 'sort' => true, 'roles' => [], ], [ "key" => "services", "type" => "text", "label" => 'customer::website.label.services', 'sort' => true, 'roles' => [], ], [ "key" => "slider", "type" => "text", "label" => 'customer::website.label.slider', 'sort' => true, 'roles' => [], ], [ "key" => "gallery", "type" => "text", "label" => 'customer::website.label.gallery', 'sort' => true, 'roles' => [], ], [ "key" => "location_details", "type" => "text", "label" => 'customer::website.label.location_details', 'sort' => true, 'roles' => [], ], ], 'form' => [ [ "key" => 'customer_id', "element" => 'numeric', "type" => 'numeric', "label" => 'customer::website.label.customer_id', "placeholder" => 'customer::website.placeholder.customer_id', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'category', "element" => 'text', "type" => 'text', "label" => 'customer::website.label.category', "placeholder" => 'customer::website.placeholder.category', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'name', "element" => 'text', "type" => 'text', "label" => 'customer::website.label.name', "placeholder" => 'customer::website.placeholder.name', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'logo', "element" => 'text', "type" => 'text', "label" => 'customer::website.label.logo', "placeholder" => 'customer::website.placeholder.logo', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'about', "element" => 'text', "type" => 'text', "label" => 'customer::website.label.about', "placeholder" => 'customer::website.placeholder.about', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'services', "element" => 'text', "type" => 'text', "label" => 'customer::website.label.services', "placeholder" => 'customer::website.placeholder.services', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'slider', "element" => 'text', "type" => 'text', "label" => 'customer::website.label.slider', "placeholder" => 'customer::website.placeholder.slider', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'gallery', "element" => 'text', "type" => 'text', "label" => 'customer::website.label.gallery', "placeholder" => 'customer::website.placeholder.gallery', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'location_details', "element" => 'numeric', "type" => 'numeric', "label" => 'customer::website.label.location_details', "placeholder" => 'customer::website.placeholder.location_details', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], ], 'urls' => [ 'new' => [ 'url' => 'customer/website/new', 'method' => 'GET', ], 'create' => [ 'url' => 'customer/website/create', 'method' => 'GET', ], 'store' => [ 'url' => 'customer/website', 'method' => 'POST', ], 'update' => [ 'url' => 'customer/website', 'method' => 'PUT', ], 'list' => [ 'url' => 'customer/website', 'method' => 'GET', ], 'delete' => [ 'url' => 'customer/website', 'method' => 'DELETE', ], ], 'order' => [ 'created_at' => 'customer::website.label.created_at', 'name' => 'customer::website.label.name', 'status' => 'customer::website.label.status', ], 'groups' => [ [ 'icon' => "mdi:account-supervisor-outline", 'name' => "customer::website.groups.main", 'group' => "main.main", 'title' => "customer::website.groups.main", ], [ 'icon' => "fe:home", 'name' => "customer::website.groups.details", 'group' => "main.details", 'title' => "customer::website.groups.details", ], 'images' => [ 'icon' => "fe:home", 'name' => "customer::website.groups.images", 'group' => "main.images", 'title' => "customer::website.groups.images", ], 'settings' => [ 'icon' => "fe:home", 'name' => "customer::website.groups.settings", 'group' => "main.settings", 'title' => "customer::website.groups.settings", ] ], 'controller' => [ 'provider' => 'Crm', 'package' => 'Customer', 'module' => 'Website', ], ];