From 3a0b6d27bc6543c5493c6ed4d91fd3e748323848 Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Wed, 18 Jan 2023 00:09:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B=20=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/admin/transactions.blade.php | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/resources/views/admin/transactions.blade.php b/resources/views/admin/transactions.blade.php index d890261..d263d21 100644 --- a/resources/views/admin/transactions.blade.php +++ b/resources/views/admin/transactions.blade.php @@ -26,7 +26,7 @@ @foreach ($transactions as $t) -   + {{ $t->module_id }} @@ -38,9 +38,11 @@ {{ $t->description }} - {{ $t->user_id }} -
- 筛选 + @if ($t->user_id) + {{ $t->user_id }} +
+ 筛选 + @endif @if ($t->host_id) @@ -63,7 +65,13 @@ - {{ $t->user_remain ?? $t->balance }} 元 + @if ($t->user_id) + 用户 {{ $t->user_remain }} 元 + @endif +
+ @if ($t->module_id) + 模块 {{ $t->module_remain }} 元 + @endif {{ $t->created_at }}