star-cloud/app
sky121113 d3e455fc82 [FIX] 修正訂單詳情發票狀態勾稽與列印作廢按鈕
1. 訂單詳情發票徽章改為動態讀取 invoice->status,依 pending/issued/failed/void 顯示對應狀態與顏色,不再寫死「有效」。
2. 移除不存在的 invoice_time 欄位引用,開立時間改以 invoice_date 格式化顯示。
3. 作廢按鈕接上既有 admin.sales.invoices.void 路由,僅於 issued 狀態顯示並加上確認對話框。
4. 新增列印發票功能:EcpayInvoiceService::invoicePrint() 呼叫綠界 B2CInvoice/InvoicePrint 取得列印頁網址,SalesController::printInvoice() 加守衛後 302 導向,並新增 admin.sales.invoices.print 路由,按鈕以新分頁開啟。
5. 補齊三語系 key(Failed to get invoice print URL、Only issued invoices can be printed),完成 zh_TW/en/ja 對齊排序。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 09:57:37 +08:00
..
Console [FEAT] 實作訂單 pending 狀態轉移與逾時交易自動清除機制 2026-06-16 08:32:06 +08:00
Exceptions first commit 2025-11-21 17:15:27 +08:00
Http [FIX] 修正訂單詳情發票狀態勾稽與列印作廢按鈕 2026-06-16 09:57:37 +08:00
Jobs [FEAT] 電子發票後台開立、對帳、補開與作廢流程 2026-06-15 16:18:33 +08:00
Listeners [FEAT] 實作角色權限分類、租戶角控管理與介面多語系優化 2026-03-17 16:53:28 +08:00
Models [FEAT] 實作訂單 pending 狀態轉移與逾時交易自動清除機制 2026-06-16 08:32:06 +08:00
Policies/Machine [FEAT] 實作維修管理模組與 RBAC 權限整合、多語系支援及 UI 優化 2026-03-25 14:25:42 +08:00
Providers [FEAT] 實作維修管理模組與 RBAC 權限整合、多語系支援及 UI 優化 2026-03-25 14:25:42 +08:00
Services [FIX] 修正訂單詳情發票狀態勾稽與列印作廢按鈕 2026-06-16 09:57:37 +08:00
Traits feat: 重構 Discord 雙 Tab 告警設定與機台自適應溫控三層繼承鏈,並導入 Modal 內拉式複製 UX 2026-05-21 10:05:36 +08:00
View/Components first commit 2025-11-21 17:15:27 +08:00