@posx/core 5.5.159 → 5.5.165
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 +42 -0
- package/build/index.js +1 -1
- package/package.json +1 -1
- package/package.publish.json +2 -2
package/build/index.d.ts
CHANGED
|
@@ -1752,6 +1752,42 @@ declare module '@posx/core/services/printer.service' {
|
|
|
1752
1752
|
openCashDrawer(): Promise<void>;
|
|
1753
1753
|
}
|
|
1754
1754
|
|
|
1755
|
+
}
|
|
1756
|
+
declare module '@posx/core/test/services/discount/coupon-calculation-test/coupon-calculation.test' {
|
|
1757
|
+
export {};
|
|
1758
|
+
|
|
1759
|
+
}
|
|
1760
|
+
declare module '@posx/core/test/services/discount/flat-discount-test/flat-discount.test' {
|
|
1761
|
+
export {};
|
|
1762
|
+
|
|
1763
|
+
}
|
|
1764
|
+
declare module '@posx/core/test/services/invoice/invoice-discount-calculations-test/invoice-discount-calculations.test' {
|
|
1765
|
+
export {};
|
|
1766
|
+
|
|
1767
|
+
}
|
|
1768
|
+
declare module '@posx/core/test/services/invoice/invoice-discount-test/invoice-discount.test' {
|
|
1769
|
+
export {};
|
|
1770
|
+
|
|
1771
|
+
}
|
|
1772
|
+
declare module '@posx/core/test/services/invoice/invoice-rounding-test/invoice-rounding.test' {
|
|
1773
|
+
export {};
|
|
1774
|
+
|
|
1775
|
+
}
|
|
1776
|
+
declare module '@posx/core/test/services/payment/add-payment-test/add-payment.test' {
|
|
1777
|
+
export {};
|
|
1778
|
+
|
|
1779
|
+
}
|
|
1780
|
+
declare module '@posx/core/test/services/payment/cash-payment-test/cash-payment.test' {
|
|
1781
|
+
export {};
|
|
1782
|
+
|
|
1783
|
+
}
|
|
1784
|
+
declare module '@posx/core/test/services/report/item-sales-report-test/item-sales-report.test' {
|
|
1785
|
+
export {};
|
|
1786
|
+
|
|
1787
|
+
}
|
|
1788
|
+
declare module '@posx/core/test/services/tax/tax-exempt-test/tax-exempt.test' {
|
|
1789
|
+
export {};
|
|
1790
|
+
|
|
1755
1791
|
}
|
|
1756
1792
|
declare module '@posx/core/types/abstract.type' {
|
|
1757
1793
|
export const transformer: {
|
|
@@ -2751,6 +2787,8 @@ declare module '@posx/core/types/invoice.type' {
|
|
|
2751
2787
|
quantity: number;
|
|
2752
2788
|
/** Whether it is sent to server*/
|
|
2753
2789
|
sent: number;
|
|
2790
|
+
/** Whether it is selected */
|
|
2791
|
+
selected: boolean;
|
|
2754
2792
|
}
|
|
2755
2793
|
/**
|
|
2756
2794
|
* Represents a line item on an invoice.
|
|
@@ -2957,6 +2995,7 @@ declare module '@posx/core/types/invoice.type' {
|
|
|
2957
2995
|
unit_of_measure: UomType;
|
|
2958
2996
|
quantity: number;
|
|
2959
2997
|
sent: number;
|
|
2998
|
+
selected: boolean;
|
|
2960
2999
|
constructor();
|
|
2961
3000
|
}
|
|
2962
3001
|
export class InvoiceLine extends AppCoreModel implements IInvoiceLine {
|
|
@@ -2984,6 +3023,7 @@ declare module '@posx/core/types/invoice.type' {
|
|
|
2984
3023
|
modifiers: any[];
|
|
2985
3024
|
duplicated_from_uid: string;
|
|
2986
3025
|
sent: number;
|
|
3026
|
+
selected: boolean;
|
|
2987
3027
|
meta: {};
|
|
2988
3028
|
constructor();
|
|
2989
3029
|
}
|
|
@@ -4503,6 +4543,7 @@ declare module '@posx/core/types/section.type' {
|
|
|
4503
4543
|
export interface ISectionItem extends IAppBaseModel {
|
|
4504
4544
|
/** List of printer ID order */
|
|
4505
4545
|
printer_id_order_list: number[];
|
|
4546
|
+
order_printer_uids: string[];
|
|
4506
4547
|
/** Total amount */
|
|
4507
4548
|
total: number;
|
|
4508
4549
|
/** Time duration */
|
|
@@ -4539,6 +4580,7 @@ declare module '@posx/core/types/section.type' {
|
|
|
4539
4580
|
}
|
|
4540
4581
|
export class SectionItem extends AppBaseModel implements ISectionItem {
|
|
4541
4582
|
printer_id_order_list: number[];
|
|
4583
|
+
order_printer_uids: string[];
|
|
4542
4584
|
total: number;
|
|
4543
4585
|
time: number;
|
|
4544
4586
|
pax: number;
|