@posx/core 5.5.133 → 5.5.135
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 +8 -1
- package/build/index.js +1 -1
- package/package.json +1 -1
- package/package.publish.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1285,6 +1285,13 @@ declare module '@posx/core/services/invoice.service' {
|
|
|
1285
1285
|
* @returns The updated invoice line.
|
|
1286
1286
|
*/
|
|
1287
1287
|
overwriteNoteToLine(line: IInvoiceLine, note: string): IInvoiceLine;
|
|
1288
|
+
/**
|
|
1289
|
+
* Compares two invoice lines.
|
|
1290
|
+
* @param target - The target invoice line to compare.
|
|
1291
|
+
* @param source - The source invoice line to compare.
|
|
1292
|
+
* @returns True if the lines are the same, false otherwise.
|
|
1293
|
+
*/
|
|
1294
|
+
compareLines(target: IInvoiceLine, source: IInvoiceLine): boolean;
|
|
1288
1295
|
/**
|
|
1289
1296
|
* To add combo items under one combo
|
|
1290
1297
|
* @param invoice - The invoice to add the item to.
|
|
@@ -1330,7 +1337,7 @@ declare module '@posx/core/services/invoice.service' {
|
|
|
1330
1337
|
* @param target
|
|
1331
1338
|
* @param source
|
|
1332
1339
|
*/
|
|
1333
|
-
|
|
1340
|
+
compareLines(target: IInvoiceLine, source: IInvoiceLine): boolean;
|
|
1334
1341
|
addComboItemToLine(invoice: IInvoice, customer: ICustomer, appConfig: IAppConfig, item: IItem, comboLineUid: string, comboGroupUid: string, modifiers?: IInvoiceCoreLine[], options?: LineOptions): IInvoiceLine;
|
|
1335
1342
|
removeAllComboItems(invoice: IInvoice, comboLineUid: string): IInvoiceLine[];
|
|
1336
1343
|
}
|