@posx/core 5.5.177 → 5.5.178
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 +11 -3
- package/build/index.js +1 -1
- package/package.json +1 -1
- package/package.publish.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1346,6 +1346,12 @@ declare module '@posx/core/services/invoice.service' {
|
|
|
1346
1346
|
* Interface for invoice operation service that extends line operation service
|
|
1347
1347
|
*/
|
|
1348
1348
|
export interface IInvoiceOperationService extends ILineOperationService {
|
|
1349
|
+
/**
|
|
1350
|
+
* Hold an invoice
|
|
1351
|
+
* @param invoice - The invoice to hold
|
|
1352
|
+
* @param sectionItem - The section item to associate with the invoice
|
|
1353
|
+
* @returns A promise that resolves with the held invoice options
|
|
1354
|
+
*/
|
|
1349
1355
|
/**
|
|
1350
1356
|
* Creates an invoice
|
|
1351
1357
|
* @param invoice - The invoice to create
|
|
@@ -2675,7 +2681,9 @@ declare module '@posx/core/types/invoice.type' {
|
|
|
2675
2681
|
ChangePayment = "change_payment",
|
|
2676
2682
|
AddCustomer = "add_customer",
|
|
2677
2683
|
VoidAndDuplicate = "void_and_duplicate",
|
|
2678
|
-
Duplicate = "duplicate"
|
|
2684
|
+
Duplicate = "duplicate",
|
|
2685
|
+
PayAtCounter = "pay_at_counter",
|
|
2686
|
+
PayInvoice = "pay_invoice"
|
|
2679
2687
|
}
|
|
2680
2688
|
export enum UomType {
|
|
2681
2689
|
quantity = "quantity",
|
|
@@ -2953,7 +2961,7 @@ declare module '@posx/core/types/invoice.type' {
|
|
|
2953
2961
|
is_sales_exclusive: boolean;
|
|
2954
2962
|
/** Etc */
|
|
2955
2963
|
etc: Record<string, any>;
|
|
2956
|
-
/** Action */
|
|
2964
|
+
/** Action : is mainly used for online order and tracking the invoice operation activities*/
|
|
2957
2965
|
action: InvoiceAction;
|
|
2958
2966
|
/** Invoice Lines */
|
|
2959
2967
|
lines: IInvoiceLine[];
|
|
@@ -3086,7 +3094,7 @@ declare module '@posx/core/types/invoice.type' {
|
|
|
3086
3094
|
payment_source_charge_ref: string;
|
|
3087
3095
|
is_sales_exclusive: boolean;
|
|
3088
3096
|
etc: Record<string, any>;
|
|
3089
|
-
action: InvoiceAction
|
|
3097
|
+
action: InvoiceAction;
|
|
3090
3098
|
lines: IInvoiceLine[];
|
|
3091
3099
|
deleted_lines: IInvoiceLine[];
|
|
3092
3100
|
payment_has_cash: boolean;
|