@posx/core 5.5.281 → 5.5.284

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 CHANGED
@@ -2891,6 +2891,8 @@ declare module '@posx/core/types/config.type' {
2891
2891
  up: boolean;
2892
2892
  /** Cashless rounding flag */
2893
2893
  cashless: boolean;
2894
+ /** Prepayment rounding flag */
2895
+ prepayment_rounding?: boolean;
2894
2896
  }
2895
2897
  export interface IChargeConfig {
2896
2898
  service_charge: boolean;
@@ -2912,6 +2914,7 @@ declare module '@posx/core/types/config.type' {
2912
2914
  base: number;
2913
2915
  up: boolean;
2914
2916
  cashless: boolean;
2917
+ prepayment_rounding: boolean;
2915
2918
  constructor();
2916
2919
  }
2917
2920
  /** Inventory Configuration */
@@ -3267,12 +3270,13 @@ declare module '@posx/core/types/invoice.type' {
3267
3270
  price: number;
3268
3271
  /** Unit of measure (1:quantity | 2:weight) */
3269
3272
  unit_of_measure: UomType;
3270
- /** Quantity if it is quantity*/
3273
+ /** Quantity if it is quantity, e.g. 5*/
3271
3274
  quantity: number;
3272
- /** Whether it is sent to server*/
3275
+ /** Whether it is sent to server, e.g. send = 3, it means 2 items are not sent to server*/
3276
+ /** item A, qty = 5 sent 3 => kitchen slip will show quantity 2 on item A */
3273
3277
  sent: number;
3274
3278
  /** Whether cancel slip is printed */
3275
- cancel_printed: number;
3279
+ is_cancel_printed: boolean;
3276
3280
  /** Whether it is selected */
3277
3281
  selected: boolean;
3278
3282
  }
@@ -3485,7 +3489,7 @@ declare module '@posx/core/types/invoice.type' {
3485
3489
  unit_of_measure: UomType;
3486
3490
  quantity: number;
3487
3491
  sent: number;
3488
- cancel_printed: number;
3492
+ is_cancel_printed: boolean;
3489
3493
  selected: boolean;
3490
3494
  constructor();
3491
3495
  }
@@ -3514,7 +3518,7 @@ declare module '@posx/core/types/invoice.type' {
3514
3518
  modifiers: any[];
3515
3519
  duplicated_from_uid: string;
3516
3520
  sent: number;
3517
- cancel_printed: number;
3521
+ is_cancel_printed: boolean;
3518
3522
  selected: boolean;
3519
3523
  meta: {};
3520
3524
  constructor();