@posx/core 5.5.225 → 5.5.227
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.d.ts +4 -1
- package/build/index.js +1 -1
- package/package.json +1 -1
- package/package.publish.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -939,7 +939,7 @@ declare module '@posx/core/services/app.service' {
|
|
|
939
939
|
syncStandardReports(): Promise<IAppReport>;
|
|
940
940
|
printReport(request: IReportRequest): Promise<void>;
|
|
941
941
|
private getReportData;
|
|
942
|
-
processReportInvoicesData(reportData: IReportData, invoices?: IInvoice[]): IReportData
|
|
942
|
+
processReportInvoicesData(reportData: IReportData, invoices?: IInvoice[]): Promise<IReportData>;
|
|
943
943
|
/**
|
|
944
944
|
* 生成唯一的菜品key
|
|
945
945
|
* 格式: 菜品uid-modifier1:modifier1.quantity-modifier2:modifier2.quantity-modifier3:modifier3.quantity
|
|
@@ -2521,6 +2521,8 @@ declare module '@posx/core/types/config.type' {
|
|
|
2521
2521
|
hide_combo_item_on_receipt: boolean;
|
|
2522
2522
|
/** Flag to hide the point item on receipt view */
|
|
2523
2523
|
hide_combo_item_on_interactive_view: boolean;
|
|
2524
|
+
/** Flag to hide categories when ordering */
|
|
2525
|
+
hide_categories_when_ordering: boolean;
|
|
2524
2526
|
}
|
|
2525
2527
|
export class OrderConfig implements IOrderConfig {
|
|
2526
2528
|
separation_line: boolean;
|
|
@@ -2530,6 +2532,7 @@ declare module '@posx/core/types/config.type' {
|
|
|
2530
2532
|
exit_menu_after_payment: boolean;
|
|
2531
2533
|
hide_combo_item_on_receipt: boolean;
|
|
2532
2534
|
hide_combo_item_on_interactive_view: boolean;
|
|
2535
|
+
hide_categories_when_ordering: boolean;
|
|
2533
2536
|
constructor();
|
|
2534
2537
|
}
|
|
2535
2538
|
export interface IPaymentConfig {
|