diff --git a/src/modules/receipt-template.ts b/src/modules/receipt-template.ts index 2da1254..d9c946a 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; /** 票據頁尾文字,顯示於票據底部 */ footerText: string; }