From 1dd7efd1b0ab9036f293a7f4c973111784f4bd8e Mon Sep 17 00:00:00 2001 From: HIsheR Date: Fri, 16 Oct 2026 15:56:14 +0800 Subject: [PATCH] =?UTF-8?q?feat(receipt):=20=E7=A5=A8=E6=93=9A=E6=A8=99?= =?UTF-8?q?=E9=A1=8C=E6=94=B9=E7=82=BA=E5=8F=AF=E9=81=B8=E4=B8=A6=E5=B8=B6?= =?UTF-8?q?=E5=85=A5=E9=96=80=E5=BA=97=E5=90=8D=E7=A8=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 與另一功能分支同時改動同一欄位說明 --- src/modules/receipt-template.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/receipt-template.ts b/src/modules/receipt-template.ts index 8c4db1f..a3ef75a 100644 --- a/src/modules/receipt-template.ts +++ b/src/modules/receipt-template.ts @@ -11,8 +11,8 @@ export interface ReceiptTemplate { templateId: string; /** 版型:熱感紙或 A4 */ layout: ReceiptLayout; - /** 模板標題,顯示於票據頂部 */ - headerText: string; + /** 模板標題,顯示於票據頂部(留空則帶入門店名稱) */ + headerText?: string; } /** 依版型查詢可用模板 */