[ 'model' => \Litepie\User\Models\Client::class, 'table' => 'litepie_user_clients', 'hidden'=> [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'created_at', 'updated_at'], 'appends' => [], 'fillable' => ['name', 'email', 'password', 'api_token', 'remember_token', 'sex', 'dob', 'designation', 'mobile', 'phone', 'address', 'street', 'city', 'Region', 'state', 'country', 'photo', 'web', 'status', 'email_verified_at', 'user_id', 'user_type'], 'translatables' => [], 'upload_folder' => 'user/client', '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" => 'user::client.label.name', 'sort' => true, 'roles' => [], ], [ "key" => "email", "type" => "text", "label" => 'user::client.label.email', 'sort' => true, 'roles' => [], ], [ "key" => "sex", "type" => "text", "label" => 'user::client.label.sex', 'sort' => true, 'roles' => [], ], [ "key" => "dob", "type" => "text", "label" => 'user::client.label.dob', 'sort' => true, 'roles' => [], ], [ "key" => "designation", "type" => "text", "label" => 'user::client.label.designation', 'sort' => true, 'roles' => [], ], [ "key" => "mobile", "type" => "text", "label" => 'user::client.label.mobile', 'sort' => true, 'roles' => [], ], [ "key" => "phone", "type" => "text", "label" => 'user::client.label.phone', 'sort' => true, 'roles' => [], ], [ "key" => "address", "type" => "text", "label" => 'user::client.label.address', 'sort' => true, 'roles' => [], ], [ "key" => "street", "type" => "text", "label" => 'user::client.label.street', 'sort' => true, 'roles' => [], ], [ "key" => "city", "type" => "text", "label" => 'user::client.label.city', 'sort' => true, 'roles' => [], ], [ "key" => "state", "type" => "text", "label" => 'user::client.label.state', 'sort' => true, 'roles' => [], ], [ "key" => "country", "type" => "text", "label" => 'user::client.label.country', 'sort' => true, 'roles' => [], ], [ "key" => "photo", "type" => "text", "label" => 'user::client.label.photo', 'sort' => true, 'roles' => [], ], [ "key" => "web", "type" => "text", "label" => 'user::client.label.web', 'sort' => true, 'roles' => [], ], ], 'form' => [ [ "key" => 'name', "element" => 'text', "type" => 'text', "label" => 'user::client.label.name', "placeholder" => 'user::client.placeholder.name', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'email', "element" => 'text', "type" => 'text', "label" => 'user::client.label.email', "placeholder" => 'user::client.placeholder.email', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'sex', "element" => 'radios', "type" => 'radios', "label" => 'user::client.label.sex', "placeholder" => 'user::client.placeholder.sex', "rules" => '', "options" => function(){ return trans('user::client.options.sex'); }, "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'dob', "element" => 'date', "type" => 'date', "label" => 'user::client.label.dob', "placeholder" => 'user::client.placeholder.dob', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'designation', "element" => 'text', "type" => 'text', "label" => 'user::client.label.designation', "placeholder" => 'user::client.placeholder.designation', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'mobile', "element" => 'text', "type" => 'text', "label" => 'user::client.label.mobile', "placeholder" => 'user::client.placeholder.mobile', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'phone', "element" => 'text', "type" => 'text', "label" => 'user::client.label.phone', "placeholder" => 'user::client.placeholder.phone', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'address', "element" => 'text', "type" => 'text', "label" => 'user::client.label.address', "placeholder" => 'user::client.placeholder.address', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'street', "element" => 'text', "type" => 'text', "label" => 'user::client.label.street', "placeholder" => 'user::client.placeholder.street', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'city', "element" => 'text', "type" => 'text', "label" => 'user::client.label.city', "placeholder" => 'user::client.placeholder.city', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'state', "element" => 'text', "type" => 'text', "label" => 'user::client.label.state', "placeholder" => 'user::client.placeholder.state', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'country', "element" => 'numeric', "type" => 'numeric', "label" => 'user::client.label.country', "placeholder" => 'user::client.placeholder.country', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'photo', "element" => 'file', "type" => 'image', "label" => 'user::client.label.photo', "placeholder" => 'user::client.placeholder.photo', "rules" => '', "group" => "main.main", "col" => "12", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'web', "element" => 'text', "type" => 'text', "label" => 'user::client.label.web', "placeholder" => 'user::client.placeholder.web', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], ], 'urls' => [ 'new' => [ 'url' => 'user/client/new', 'method' => 'GET', ], 'create' => [ 'url' => 'user/client/create', 'method' => 'GET', ], 'store' => [ 'url' => 'user/client', 'method' => 'POST', ], 'update' => [ 'url' => 'user/client', 'method' => 'PUT', ], 'list' => [ 'url' => 'user/client', 'method' => 'GET', ], 'delete' => [ 'url' => 'user/client', 'method' => 'DELETE', ], ], 'order' => [ 'created_at' => 'user::client.label.created_at', 'name' => 'user::client.label.name', 'status' => 'user::client.label.status', ], 'groups' => [ [ 'icon' => "mdi:account-supervisor-outline", 'name' => "user::client.groups.main", 'group' => "main.main", 'title' => "user::client.groups.main", ], [ 'icon' => "fe:home", 'name' => "user::client.groups.details", 'group' => "main.details", 'title' => "user::client.groups.details", ], 'images' => [ 'icon' => "fe:home", 'name' => "user::client.groups.images", 'group' => "main.images", 'title' => "user::client.groups.images", ], 'settings' => [ 'icon' => "fe:home", 'name' => "user::client.groups.settings", 'group' => "main.settings", 'title' => "user::client.groups.settings", ] ], 'controller' => [ 'provider' => 'Litepie', 'package' => 'User', 'module' => 'Client', ], ];