Commit a79f92d8 by 孙龙

pdflogo

parent 6ae024dc
...@@ -103,7 +103,7 @@ class OrderController extends AdminController ...@@ -103,7 +103,7 @@ class OrderController extends AdminController
}); });
$grid->fixColumns(1,-1);
$grid->showFilter(); $grid->showFilter();
...@@ -133,10 +133,12 @@ class OrderController extends AdminController ...@@ -133,10 +133,12 @@ class OrderController extends AdminController
new OrderReverseAuditAction(), new OrderReverseAuditAction(),
new OrderEditSatusAction(), new OrderEditSatusAction(),
]); ]);
$grid->disableCreateButton();
$grid->setActionClass(Grid\Displayers\Actions::class); $grid->setActionClass(Grid\Displayers\Actions::class);
$grid->actions(function (Grid\Displayers\Actions $actions) { $grid->actions(function (Grid\Displayers\Actions $actions) {
$actions->disableDelete(); $actions->disableDelete();
$actions->disableEdit(); $actions->disableEdit();
$actions->disableQuickEdit(); $actions->disableQuickEdit();
......
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 sign in to comment