@posx/core 5.5.168 → 5.5.170
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 +3 -3
- package/build/index.js +1 -1
- package/package.json +1 -1
- package/package.publish.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1184,7 +1184,7 @@ declare module '@posx/core/services/invoice.service' {
|
|
|
1184
1184
|
* @param options - Additional options for the line.
|
|
1185
1185
|
* @returns The updated invoice.
|
|
1186
1186
|
*/
|
|
1187
|
-
addItemToLine(invoice: IInvoice, customer: ICustomer, appConfig: IAppConfig, item: IItem, modifiers?: IInvoiceCoreLine[], options?: LineOptions): IInvoiceLine;
|
|
1187
|
+
addItemToLine(invoice: IInvoice, customer: ICustomer, appConfig: IAppConfig, item: IItem, modifiers?: IInvoiceCoreLine[], options?: LineOptions, createNewLine?: boolean, comboLineUid?: string): IInvoiceLine;
|
|
1188
1188
|
/**
|
|
1189
1189
|
* Duplicates an invoice line
|
|
1190
1190
|
* @param invoice - The invoice to duplicate the line in.
|
|
@@ -1315,7 +1315,7 @@ declare module '@posx/core/services/invoice.service' {
|
|
|
1315
1315
|
removeAllComboItems(Invoice: IInvoice, comboLineUid: string): IInvoiceLine[];
|
|
1316
1316
|
}
|
|
1317
1317
|
export class LineOperationService extends InvoiceBaseService implements ILineOperationService {
|
|
1318
|
-
addItemToLine(invoice: IInvoice, customer: ICustomer, appConfig: IAppConfig, item: IItem, modifiers?: IInvoiceCoreLine[], lineOptions?: LineOptions, createNewLine?: boolean): IInvoiceLine;
|
|
1318
|
+
addItemToLine(invoice: IInvoice, customer: ICustomer, appConfig: IAppConfig, item: IItem, modifiers?: IInvoiceCoreLine[], lineOptions?: LineOptions, createNewLine?: boolean, comboLineUid?: string): IInvoiceLine;
|
|
1319
1319
|
duplicateLine(invoice: IInvoice, line: IInvoiceLine): IInvoice;
|
|
1320
1320
|
calibrateDuplicates(invoice: IInvoice): IInvoice;
|
|
1321
1321
|
toInvoiceCoreLine(modifier: ICoreItem, quantity?: number): IInvoiceCoreLine;
|
|
@@ -1329,7 +1329,7 @@ declare module '@posx/core/services/invoice.service' {
|
|
|
1329
1329
|
addModifierQuantity(modifiers: IInvoiceCoreLine[], modifier: IInvoiceCoreLine, quantity?: number): IInvoiceCoreLine[];
|
|
1330
1330
|
changeModifierPrice(modifier: IInvoiceCoreLine, price: number): IInvoiceCoreLine;
|
|
1331
1331
|
overwriteNoteToLine(line: IInvoiceLine, note: string): IInvoiceLine;
|
|
1332
|
-
findOrCreateLine(invoice: IInvoice, item: IItem, quantity: number, price?: number, modifiers?: IInvoiceCoreLine[], remark?: string, createNewLine?: boolean): IInvoiceLine;
|
|
1332
|
+
findOrCreateLine(invoice: IInvoice, item: IItem, quantity: number, price?: number, modifiers?: IInvoiceCoreLine[], remark?: string, createNewLine?: boolean, comboLineUid?: string): IInvoiceLine;
|
|
1333
1333
|
private createInvoiceLine;
|
|
1334
1334
|
protected compareModifiers(target: IInvoiceCoreLine[], source: IInvoiceCoreLine[]): boolean;
|
|
1335
1335
|
/**
|