@posx/core 5.5.157 → 5.5.159
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 -2
- package/build/index.js +1 -1
- package/package.json +1 -1
- package/package.publish.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -781,9 +781,10 @@ declare module '@posx/core/services/app.service' {
|
|
|
781
781
|
* @param {string} shift_uid - The shift UID.
|
|
782
782
|
* @param {string} user_uid - The user UID.
|
|
783
783
|
* @param {string} [note] - The note for the till.
|
|
784
|
+
* @param {string} [invoice_uid] - The invoice UID.
|
|
784
785
|
* @returns {Promise<ITill>} - A promise that resolves with the created till.
|
|
785
786
|
*/
|
|
786
|
-
createCashInvoiceTill(payments: IPayment[], shift_uid: string, user_uid: string, note?: string):
|
|
787
|
+
createCashInvoiceTill(payments: IPayment[], shift_uid: string, user_uid: string, note?: string, invoice_uid?: string): ITill;
|
|
787
788
|
}
|
|
788
789
|
export class TillService extends AppRemoteService<ITill> implements ITillService {
|
|
789
790
|
readonly http: AxiosInstance;
|
|
@@ -792,7 +793,7 @@ declare module '@posx/core/services/app.service' {
|
|
|
792
793
|
readonly moduleName: string;
|
|
793
794
|
readonly methodName: string;
|
|
794
795
|
constructor(http: AxiosInstance, db: Dexie, options: IServiceOptions, moduleName?: string, methodName?: string);
|
|
795
|
-
createCashInvoiceTill(payments: IPayment[], shift_uid: string, user_uid: string, note?: string):
|
|
796
|
+
createCashInvoiceTill(payments: IPayment[], shift_uid: string, user_uid: string, note?: string, invoice_uid?: string): ITill;
|
|
796
797
|
}
|
|
797
798
|
/**
|
|
798
799
|
* Represents a service for managing payment methods.
|