@posx/core 5.5.299 → 5.5.300
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 +6 -2
- package/build/index.js +1 -1
- package/package.json +1 -1
- package/package.publish.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1578,7 +1578,7 @@ declare module '@posx/core/services/invoice.service' {
|
|
|
1578
1578
|
addModifier(modifiers: IInvoiceCoreLine[], modifier: IInvoiceCoreLine): IInvoiceCoreLine[];
|
|
1579
1579
|
changeLinePrice(line: IInvoiceLine, price: number): IInvoiceLine;
|
|
1580
1580
|
changeLineDiscount(line: IInvoiceLine, discountType: CalcType, amountOrPercent: number): IInvoiceLine;
|
|
1581
|
-
minusLineQuantity(invoice: IInvoice, line: IInvoiceLine, quantity: number): IInvoice;
|
|
1581
|
+
minusLineQuantity(invoice: IInvoice, line: IInvoiceLine, quantity: number, skipDeletedLines?: boolean): IInvoice;
|
|
1582
1582
|
addLineQuantity(invoice: IInvoice, line: IInvoiceLine, quantity: number): IInvoice;
|
|
1583
1583
|
minusModifierQuantity(modifiers: IInvoiceCoreLine[], modifier: IInvoiceCoreLine, quantity?: number): IInvoiceCoreLine[];
|
|
1584
1584
|
changeModifierQuantity(modifiers: IInvoiceCoreLine[], modifier: IInvoiceCoreLine, quantity?: number): IInvoiceCoreLine[];
|
|
@@ -1596,7 +1596,7 @@ declare module '@posx/core/services/invoice.service' {
|
|
|
1596
1596
|
*/
|
|
1597
1597
|
compareLines(target: IInvoiceLine, source: IInvoiceLine): boolean;
|
|
1598
1598
|
addComboItemToLine(invoice: IInvoice, customer: ICustomer, appConfig: IAppConfig, item: IItem, comboLineUid: string, comboGroupUid: string, modifiers?: IInvoiceCoreLine[], options?: LineOptions): IInvoiceLine;
|
|
1599
|
-
removeAllComboItems(invoice: IInvoice, comboLineUid: string): IInvoiceLine[];
|
|
1599
|
+
removeAllComboItems(invoice: IInvoice, comboLineUid: string, skipDeletedLines?: boolean): IInvoiceLine[];
|
|
1600
1600
|
duplicateComboLines(invoice: IInvoice, comboLine: IInvoiceLine): IInvoice;
|
|
1601
1601
|
}
|
|
1602
1602
|
/**
|
|
@@ -2573,20 +2573,24 @@ declare module '@posx/core/types/config.type' {
|
|
|
2573
2573
|
login_call_to_action_text: string;
|
|
2574
2574
|
menu_banner_image_url: string;
|
|
2575
2575
|
paynow_method: PaynowMethod;
|
|
2576
|
+
disable_pay_at_counter: boolean;
|
|
2576
2577
|
dynamic_order_qr: TDynamicOrderQR;
|
|
2577
2578
|
default_language: string;
|
|
2578
2579
|
category_selector_mode: 'photo_mode' | 'dropdown_mode';
|
|
2579
2580
|
max_dining_time: number;
|
|
2581
|
+
disable_logo_for_item_photo_fallback: boolean;
|
|
2580
2582
|
}
|
|
2581
2583
|
export class OnlineOrderConfig implements IOnlineOrderConfig {
|
|
2582
2584
|
enable_membership: boolean;
|
|
2583
2585
|
login_call_to_action_text: string;
|
|
2584
2586
|
menu_banner_image_url: string;
|
|
2585
2587
|
paynow_method: PaynowMethod.WyoPaynow;
|
|
2588
|
+
disable_pay_at_counter: boolean;
|
|
2586
2589
|
default_language: string;
|
|
2587
2590
|
category_selector_mode: 'photo_mode' | 'dropdown_mode';
|
|
2588
2591
|
dynamic_order_qr: TDynamicOrderQR;
|
|
2589
2592
|
max_dining_time: number;
|
|
2593
|
+
disable_logo_for_item_photo_fallback: boolean;
|
|
2590
2594
|
constructor();
|
|
2591
2595
|
}
|
|
2592
2596
|
export interface IGeneralConfig {
|