feat(receipt): 票據模板新增頁尾文字欄位

同時收緊標題欄位的必填語意說明
This commit is contained in:
HIsheR
2026-10-16 15:55:56 +08:00
parent 4aa66ca865
commit edf5cf6d36
+3 -1
View File
@@ -11,8 +11,10 @@ export interface ReceiptTemplate {
templateId: string; templateId: string;
/** 版型:熱感紙或 A4 */ /** 版型:熱感紙或 A4 */
layout: ReceiptLayout; layout: ReceiptLayout;
/** 模板標題,顯示於票據頂部 */ /** 模板標題,顯示於票據頂部(熱感紙版型必填) */
headerText: string; headerText: string;
/** 票據頁尾文字,顯示於票據底部 */
footerText: string;
} }
/** 依版型查詢可用模板 */ /** 依版型查詢可用模板 */