[ 'url' => guard_url('branch/branch/new'), 'method' => 'GET', ], 'create' => [ 'url' => guard_url('branch/branch/create'), 'method' => 'GET', ], 'store' => [ 'url' => guard_url('branch/branch'), 'method' => 'POST', ], 'update' => [ 'url' => guard_url('branch/branch'), 'method' => 'PUT', ], 'list' => [ 'url' => guard_url('branch/branch'), 'method' => 'GET', ], 'delete' => [ 'url' => guard_url('branch/branch'), 'method' => 'DELETE', ], ]; self::$search = [ 'name' => [ "type" => 'text', "label" => trans('branch::branch.label.name'), "placeholder" => trans('branch::branch.placeholder.name'), "rules" => '', "group" => "main", "section" => "first", "col" => "4", "roles" => [], ] ]; self::$orderBy = [ 'created_at' => trans('branch::branch.label.created_at'), 'name' => trans('branch::branch.label.name'), 'status' => trans('branch::branch.label.status'), ]; self::$groups = [ 'main' => trans('branch::branch.groups.main'), 'details' => trans('branch::branch.groups.details'), 'images' => trans('branch::branch.groups.images'), 'settings' => trans('branch::branch.groups.settings'), ]; self::$list = [ [ 'key' => "ref", 'label' => trans('branch::branch.label.ref'), 'sortable' => 'true', 'roles' => [], ], [ 'key' => "id", 'label' => trans('branch::branch.label.id'), 'sortable' => 'true', 'roles' => [], ], [ 'key' => "name", 'label' => trans('branch::branch.label.name'), 'sortable' => 'true', 'roles' => [], ], [ 'key' => "status", 'label' => trans('branch::branch.label.status'), 'sortable' => 'true', 'roles' => [], ], ]; self::$fields = [ 'name' => [ "element" => 'text', "type" => 'text', "label" => trans('branch::branch.label.name'), "placeholder" => trans('branch::branch.placeholder.name'), "required" => 'true', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'status' => [ "element" => 'select', "type" => 'select', "label" => trans('branch::branch.label.status'), "placeholder" => trans('branch::branch.placeholder.status'), "required" => 'true', "options" => function(){ return []; }, "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'image' => [ "element" => 'file', "type" => 'image', "label" => trans('branch::branch.label.image'), "placeholder" => trans('branch::branch.placeholder.image'), "rules" => '', "group" => "main", "section" => "first", "col" => "12", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'address' => [ "element" => 'textarea', "type" => 'textarea', "label" => trans('branch::branch.label.address'), "placeholder" => trans('branch::branch.placeholder.address'), "required" => 'true', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'contact' => [ "element" => 'text', "type" => 'text', "label" => trans('branch::branch.label.contact'), "placeholder" => trans('branch::branch.placeholder.contact'), "required" => 'true', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'brand' => [ "element" => 'select', "type" => 'select', "label" => trans('branch::branch.label.brand'), "placeholder" => trans('branch::branch.placeholder.brand'), "required" => 'true', "options" => function(){ return []; }, "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'Email' => [ "element" => 'email', "type" => 'email', "label" => trans('branch::branch.label.Email'), "placeholder" => trans('branch::branch.placeholder.Email'), "required" => 'true', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'region' => [ "element" => 'model_select', "type" => 'model_select', "label" => trans('branch::branch.label.region'), "placeholder" => trans('branch::branch.placeholder.region'), "required" => 'true', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'coordinates' => [ "element" => 'text', "type" => 'text', "label" => trans('branch::branch.label.coordinates'), "placeholder" => trans('branch::branch.placeholder.coordinates'), "required" => 'true', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'hour' => [ "element" => 'time_picker', "type" => 'time_picker', "label" => trans('branch::branch.label.hour'), "placeholder" => trans('branch::branch.placeholder.hour'), "required" => 'true', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'monday' => [ "element" => 'time', "type" => 'time', "label" => trans('branch::branch.label.monday'), "placeholder" => trans('branch::branch.placeholder.monday'), "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'tuesday' => [ "element" => 'time', "type" => 'time', "label" => trans('branch::branch.label.tuesday'), "placeholder" => trans('branch::branch.placeholder.tuesday'), "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'wednesday' => [ "element" => 'time', "type" => 'time', "label" => trans('branch::branch.label.wednesday'), "placeholder" => trans('branch::branch.placeholder.wednesday'), "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'thursday' => [ "element" => 'time', "type" => 'time', "label" => trans('branch::branch.label.thursday'), "placeholder" => trans('branch::branch.placeholder.thursday'), "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'friday' => [ "element" => 'time', "type" => 'time', "label" => trans('branch::branch.label.friday'), "placeholder" => trans('branch::branch.placeholder.friday'), "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'saturday' => [ "element" => 'time', "type" => 'time', "label" => trans('branch::branch.label.saturday'), "placeholder" => trans('branch::branch.placeholder.saturday'), "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'sunday' => [ "element" => 'time', "type" => 'time', "label" => trans('branch::branch.label.sunday'), "placeholder" => trans('branch::branch.placeholder.sunday'), "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'coordinate' => [ "element" => 'text', "type" => 'text', "label" => trans('branch::branch.label.coordinate'), "placeholder" => trans('branch::branch.placeholder.coordinate'), "required" => 'true', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], ]; return new static(); } }