Commit 3854c0d1 by 汪伟伟

1

parent de649a99
......@@ -21,6 +21,14 @@ class TaskReceiveController extends AdminController
{
protected $title = ' ';
public function noDone(Content $content)
{
return $content
->translation($this->translation())
->title($this->title())
->description($this->description()['index'] ?? trans('admin.list'))
->body( $this->getData(0));
}
/**
* @return Tab
*/
......
......@@ -27,6 +27,8 @@ Route::group([
$router->resource('receives', 'TaskReceiveController');
$router->get('noDone', 'TaskReceiveController@noDone');
$router->resource('approves', 'TasksApproveController');
$router->resource('orders', 'TasksOrderController');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment