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