From 8d951a64e688c36a8f14ab1c23430a897eca1856 Mon Sep 17 00:00:00 2001 From: sky121113 Date: Tue, 23 Jun 2026 16:15:24 +0800 Subject: [PATCH] =?UTF-8?q?[FIX]=20=E6=A9=9F=E5=8F=B0=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E8=A1=8C=E5=8B=95=E7=89=88=E8=A3=9C=E4=B8=8A=E7=A1=AC=E9=AB=94?= =?UTF-8?q?=E7=8B=80=E6=85=8B=EF=BC=8C=E8=88=87=E6=A1=8C=E6=A9=9F=E8=B3=87?= =?UTF-8?q?=E6=96=99=E5=B0=8D=E9=BD=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 行動/平板卡片 Info Grid 新增「硬體狀態」欄位(原本僅桌機表格有,RWD 漏顯示) 2. 沿用桌機相同邏輯:下位機 hardware_status,啟用刷卡機時顯示 card_terminal_status,燈號配色一致 3. 欄位排於 Status 旁填滿兩欄列,標籤樣式遵循 Mobile Card Info Grid 規範 Co-Authored-By: Claude Opus 4.8 (1M context) --- .../views/admin/machines/index.blade.php | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/resources/views/admin/machines/index.blade.php b/resources/views/admin/machines/index.blade.php index 9ba4845..e5b8185 100644 --- a/resources/views/admin/machines/index.blade.php +++ b/resources/views/admin/machines/index.blade.php @@ -830,6 +830,39 @@

{{ $machine->latest_status_log_time->diffForHumans() }}

@endif +
+

+ {{ __('Hardware Status') }}

+ @php $hStatus = $machine->hardware_status; @endphp +
+ {{-- 下位機 --}} +
+ + {{ __('Sub-machine') }} +
+ {{-- 刷卡機 (信用卡/電子票證/手機支付共用同一台):僅基礎版且啟用刷卡機才顯示 --}} + @if($machine->show_card_terminal) + @php $ctStatus = $machine->card_terminal_status; @endphp +
+ + {{ __('Card Terminal') }} +
+ @endif +
+