[ 'model' => \Litecms\Aml\Models\Name::class, 'table' => 'litecms_aml_names', 'hidden'=> [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'created_at', 'updated_at'], 'appends' => [], 'fillable' => ['ref', 'name', 'name_a', 'name_b', 'name_c', 'name_d', 'name_e', 'name_f', 'nationality', 'dob', 'passport_no', 'passport_expiry', 'emirates_id', 'description', 'type', 'source', 'source_internal', 'partial_scan', 'user_id', 'user_type'], 'translatables' => [], 'upload_folder' => 'aml/name', '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' => [ "ref" => [ "key" => "ref", "type" => "text", "label" => 'aml::name.label.ref', 'sort' => true, 'roles' => [], ], "name" => [ "key" => "name", "type" => "text", "label" => 'aml::name.label.name', 'sort' => true, 'roles' => [], ], "name_a" => [ "key" => "name_a", "type" => "text", "label" => 'aml::name.label.name_a', 'sort' => true, 'roles' => [], ], "name_b" => [ "key" => "name_b", "type" => "text", "label" => 'aml::name.label.name_b', 'sort' => true, 'roles' => [], ], "name_c" => [ "key" => "name_c", "type" => "text", "label" => 'aml::name.label.name_c', 'sort' => true, 'roles' => [], ], "name_d" => [ "key" => "name_d", "type" => "text", "label" => 'aml::name.label.name_d', 'sort' => true, 'roles' => [], ], "name_e" => [ "key" => "name_e", "type" => "text", "label" => 'aml::name.label.name_e', 'sort' => true, 'roles' => [], ], "name_f" => [ "key" => "name_f", "type" => "text", "label" => 'aml::name.label.name_f', 'sort' => true, 'roles' => [], ], "nationality" => [ "key" => "nationality", "type" => "text", "label" => 'aml::name.label.nationality', 'sort' => true, 'roles' => [], ], "dob" => [ "key" => "dob", "type" => "text", "label" => 'aml::name.label.dob', 'sort' => true, 'roles' => [], ], "passport_no" => [ "key" => "passport_no", "type" => "text", "label" => 'aml::name.label.passport_no', 'sort' => true, 'roles' => [], ], "passport_expiry" => [ "key" => "passport_expiry", "type" => "text", "label" => 'aml::name.label.passport_expiry', 'sort' => true, 'roles' => [], ], "emirates_id" => [ "key" => "emirates_id", "type" => "text", "label" => 'aml::name.label.emirates_id', 'sort' => true, 'roles' => [], ], "description" => [ "key" => "description", "type" => "text", "label" => 'aml::name.label.description', 'sort' => true, 'roles' => [], ], "type" => [ "key" => "type", "type" => "text", "label" => 'aml::name.label.type', 'sort' => true, 'roles' => [], ], "source" => [ "key" => "source", "type" => "text", "label" => 'aml::name.label.source', 'sort' => true, 'roles' => [], ], "source_internal" => [ "key" => "source_internal", "type" => "text", "label" => 'aml::name.label.source_internal', 'sort' => true, 'roles' => [], ], "partial_scan" => [ "key" => "partial_scan", "type" => "text", "label" => 'aml::name.label.partial_scan', 'sort' => true, 'roles' => [], ], ], 'form' => [ 'ref' => [ "element" => 'text', "type" => 'text', "label" => 'aml::name.label.ref', "placeholder" => 'aml::name.placeholder.ref', "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'name' => [ "element" => 'text', "type" => 'text', "label" => 'aml::name.label.name', "placeholder" => 'aml::name.placeholder.name', "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'name_a' => [ "element" => 'text', "type" => 'text', "label" => 'aml::name.label.name_a', "placeholder" => 'aml::name.placeholder.name_a', "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'name_b' => [ "element" => 'text', "type" => 'text', "label" => 'aml::name.label.name_b', "placeholder" => 'aml::name.placeholder.name_b', "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'name_c' => [ "element" => 'text', "type" => 'text', "label" => 'aml::name.label.name_c', "placeholder" => 'aml::name.placeholder.name_c', "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'name_d' => [ "element" => 'text', "type" => 'text', "label" => 'aml::name.label.name_d', "placeholder" => 'aml::name.placeholder.name_d', "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'name_e' => [ "element" => 'text', "type" => 'text', "label" => 'aml::name.label.name_e', "placeholder" => 'aml::name.placeholder.name_e', "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'name_f' => [ "element" => 'text', "type" => 'text', "label" => 'aml::name.label.name_f', "placeholder" => 'aml::name.placeholder.name_f', "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'nationality' => [ "element" => 'text', "type" => 'text', "label" => 'aml::name.label.nationality', "placeholder" => 'aml::name.placeholder.nationality', "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'dob' => [ "element" => 'text', "type" => 'text', "label" => 'aml::name.label.dob', "placeholder" => 'aml::name.placeholder.dob', "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'passport_no' => [ "element" => 'text', "type" => 'text', "label" => 'aml::name.label.passport_no', "placeholder" => 'aml::name.placeholder.passport_no', "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'passport_expiry' => [ "element" => 'date_picker', "type" => 'date_picker', "label" => 'aml::name.label.passport_expiry', "placeholder" => 'aml::name.placeholder.passport_expiry', "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'emirates_id' => [ "element" => 'text', "type" => 'text', "label" => 'aml::name.label.emirates_id', "placeholder" => 'aml::name.placeholder.emirates_id', "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'description' => [ "element" => 'text', "type" => 'text', "label" => 'aml::name.label.description', "placeholder" => 'aml::name.placeholder.description', "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'type' => [ "element" => 'text', "type" => 'text', "label" => 'aml::name.label.type', "placeholder" => 'aml::name.placeholder.type', "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'source' => [ "element" => 'text', "type" => 'text', "label" => 'aml::name.label.source', "placeholder" => 'aml::name.placeholder.source', "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'source_internal' => [ "element" => 'text', "type" => 'text', "label" => 'aml::name.label.source_internal', "placeholder" => 'aml::name.placeholder.source_internal', "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'partial_scan' => [ "element" => 'numeric', "type" => 'numeric', "label" => 'aml::name.label.partial_scan', "placeholder" => 'aml::name.placeholder.partial_scan', "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], ], 'urls' => [ 'new' => [ 'url' => 'aml/name/new', 'method' => 'GET', ], 'create' => [ 'url' => 'aml/name/create', 'method' => 'GET', ], 'store' => [ 'url' => 'aml/name', 'method' => 'POST', ], 'update' => [ 'url' => 'aml/name', 'method' => 'PUT', ], 'list' => [ 'url' => 'aml/name', 'method' => 'GET', ], 'delete' => [ 'url' => 'aml/name', 'method' => 'DELETE', ], ], 'order' => [ 'created_at' => 'aml::name.label.created_at', 'name' => 'aml::name.label.name', 'status' => 'aml::name.label.status', ], 'groups' => [ 'main' => 'aml::name.groups.main', 'details' => 'aml::name.groups.details', 'images' => 'aml::name.groups.images', 'settings' => 'aml::name.groups.settings', ], 'controller' => [ 'provider' => 'Litecms', 'package' => 'Aml', 'module' => 'Name', ], 'actions' => [ 'copy' => [ 'type' => ['Details', 'List'], 'label' => 'aml::name.action.copy', 'roles' => [ 'user' => ['superuser', 'admin'], 'team' => ['admin'], 'permission' => ['aml.name.copy', 'aml.name.duplicate'], ], 'form' => [ 'count' => [ "element" => 'select', "type" => 'select', "label" => 'aml::name.label.count', "placeholder" => 'aml::name.placeholder.count', "options" => call_user_func(function () { return [ 1 => ['value' => 1, 'text' => 1], 2 => ['value' => 2, 'text' => 2], 3 => ['value' => 3, 'text' => 3], 4 => ['value' => 4, 'text' => 4], ]; }), "col" => "12", ], 'comment' => [ "element" => 'textarea', "type" => 'text', "required" => 'required', "label" => 'aml::name.label.comment', "placeholder" => 'aml::name.placeholder.comment', "col" => "12", ], ], ], 'empty' => [ 'type' => ['List', 'Details'], 'label' => 'aml::name.action.empty', 'roles' => [ 'user' => ['superuser'], ], ], ] ];