@posx/core 5.5.36 → 5.5.38
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
|
@@ -1156,6 +1156,9 @@ declare module '@posx/core/services/invoice.service' {
|
|
|
1156
1156
|
export interface ILineOperationService extends IInvoiceBaseService {
|
|
1157
1157
|
/**
|
|
1158
1158
|
* Adds an item to an invoice line. If the item already exists in the invoice, the quantity is increased, otherwise a new line is created.
|
|
1159
|
+
* Adding items with positive quantities
|
|
1160
|
+
* Reducing quantities of existing items with negative values
|
|
1161
|
+
* Automatic removal of lines when quantity reaches 0 or below
|
|
1159
1162
|
* @param invoice - The invoice to add the item to.
|
|
1160
1163
|
* @param customer - The customer associated with the invoice.
|
|
1161
1164
|
* @param appConfig - The app configuration.
|
|
@@ -1496,7 +1499,7 @@ declare module '@posx/core/services/invoice.service' {
|
|
|
1496
1499
|
checkInvoice(invoice: IInvoice, sectionItem: ISectionItem, employee?: IEmployee): Promise<CheckInvoiceOptions>;
|
|
1497
1500
|
switchInvoice(invoice: IInvoice, targetSectionItem: ISectionItem, sourceSectionItem: ISectionItem, employee?: IEmployee): Promise<SwitchInvoiceOptions>;
|
|
1498
1501
|
payInvoice(invoice: IInvoice, sectionItem: ISectionItem, till?: ITill, employee?: IEmployee): Promise<PayInvoiceOptions>;
|
|
1499
|
-
directPayInvoice(invoice: IInvoice, till?: ITill, employee?: IEmployee, specificPrinter?: IPrinter, specificKioskDeviceUid?: string): Promise<DirectPayInvoiceOptions>;
|
|
1502
|
+
directPayInvoice(invoice: IInvoice, till?: ITill, employee?: IEmployee, specificPrinter?: IPrinter, specificKioskDeviceUid?: string, kitchenPrintOverride?: boolean): Promise<DirectPayInvoiceOptions>;
|
|
1500
1503
|
voidInvoice(invoice: IInvoice, till?: ITill, reason?: string, employee?: IEmployee): Promise<VoidInvoiceOptions>;
|
|
1501
1504
|
duplicateInvoice(invoice: IInvoice, employee?: IEmployee): Promise<IInvoice>;
|
|
1502
1505
|
reprintReceipt(invoice: IInvoice): Promise<boolean>;
|