[ 'url' => guard_url('task/task/new'), 'method' => 'GET', ], 'create' => [ 'url' => guard_url('task/task/create'), 'method' => 'GET', ], 'store' => [ 'url' => guard_url('task/task'), 'method' => 'POST', ], 'update' => [ 'url' => guard_url('task/task'), 'method' => 'PUT', ], 'list' => [ 'url' => guard_url('task/task'), 'method' => 'GET', ], 'delete' => [ 'url' => guard_url('task/task'), 'method' => 'DELETE', ], ]; self::$search = [ 'name' => [ "type" => 'text', "label" => trans('task::task.label.name'), "placeholder" => trans('task::task.placeholder.name'), "rules" => '', "group" => "main", "section" => "first", "col" => "4", "roles" => [], ] ]; self::$orderBy = [ 'created_at' => trans('task::task.label.created_at'), 'name' => trans('task::task.label.name'), 'status' => trans('task::task.label.status'), ]; self::$groups = [ 'main' => trans('task::task.groups.main'), 'details' => trans('task::task.groups.details'), 'images' => trans('task::task.groups.images'), 'settings' => trans('task::task.groups.settings'), ]; self::$list = [ [ 'key' => "ref", 'label' => trans('task::task.label.ref'), 'sortable' => 'true', 'roles' => [], ], [ 'key' => "id", 'label' => trans('task::task.label.id'), 'sortable' => 'true', 'roles' => [], ], [ 'key' => "name", 'label' => trans('task::task.label.name'), 'sortable' => 'true', 'roles' => [], ], [ 'key' => "status", 'label' => trans('task::task.label.status'), 'sortable' => 'true', 'roles' => [], ], ]; self::$fields = [ ]; return new static(); } }