From dfaa691fa618acdacbfd3e587f81e9c53b7befd9 Mon Sep 17 00:00:00 2001 From: Oneami Date: Mon, 23 Oct 2023 19:36:41 +0000 Subject: [PATCH] Format Oneami code --- src/app/Admin/Controllers/OrderController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/Admin/Controllers/OrderController.php b/src/app/Admin/Controllers/OrderController.php index c1c98b89..6d2e7915 100644 --- a/src/app/Admin/Controllers/OrderController.php +++ b/src/app/Admin/Controllers/OrderController.php @@ -92,6 +92,7 @@ protected function grid() $comments = $model->adminComments->map(function ($comment) { return $comment->only(['created_at', 'comment']); }); + return new Table(['Дата создания', 'Коммент'], $comments->toArray()); }) : null);