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; } /** 依版型查詢可用模板 */