From edf5cf6d366f6cd5cbe053d8e321f2360dadbb02 Mon Sep 17 00:00:00 2001 From: HIsheR Date: Fri, 16 Oct 2026 15:55:56 +0800 Subject: [PATCH] =?UTF-8?q?feat(receipt):=20=E7=A5=A8=E6=93=9A=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=E6=96=B0=E5=A2=9E=E9=A0=81=E5=B0=BE=E6=96=87=E5=AD=97?= =?UTF-8?q?=E6=AC=84=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 同時收緊標題欄位的必填語意說明 --- src/modules/receipt-template.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/receipt-template.ts b/src/modules/receipt-template.ts index 8c4db1f..2da1254 100644 --- a/src/modules/receipt-template.ts +++ b/src/modules/receipt-template.ts @@ -11,8 +11,10 @@ export interface ReceiptTemplate { templateId: string; /** 版型:熱感紙或 A4 */ layout: ReceiptLayout; - /** 模板標題,顯示於票據頂部 */ + /** 模板標題,顯示於票據頂部(熱感紙版型必填) */ headerText: string; + /** 票據頁尾文字,顯示於票據底部 */ + footerText: string; } /** 依版型查詢可用模板 */