@posx/core 5.5.37 → 5.5.39
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
|
@@ -1341,10 +1341,11 @@ declare module '@posx/core/services/invoice.service' {
|
|
|
1341
1341
|
* @param employee the employee to associate with the invoice
|
|
1342
1342
|
* @param specificPrinter the printer to use for the payment
|
|
1343
1343
|
* @param specificKioskDeviceUid the kiosk device uid to use for the payment
|
|
1344
|
+
* @param kitchenPrintOverride override the kitchen print setting, if true, will print kitchen print even if kitchen print is disabled in config
|
|
1344
1345
|
* @returns A promise that resolves with the direct pay invoice options
|
|
1345
1346
|
* @internal 加入 specificKioskDeviceUid 主要是考虑到多台 kiosk 和 iPad 作为主 POS 情况下, iPad有可能没在运行 APP 的情况下, 需要指定 kiosk 设备来打印小票
|
|
1346
1347
|
*/
|
|
1347
|
-
directPayInvoice(invoice: IInvoice, till?: ITill, employee?: IEmployee, specificPrinter?: IPrinter, specificKioskDeviceUid?: string): Promise<DirectPayInvoiceOptions>;
|
|
1348
|
+
directPayInvoice(invoice: IInvoice, till?: ITill, employee?: IEmployee, specificPrinter?: IPrinter, specificKioskDeviceUid?: string, kitchenPrintOverride?: boolean): Promise<DirectPayInvoiceOptions>;
|
|
1348
1349
|
/**
|
|
1349
1350
|
* Pays an invoice
|
|
1350
1351
|
* @param invoice - The invoice to pay
|
|
@@ -1499,7 +1500,7 @@ declare module '@posx/core/services/invoice.service' {
|
|
|
1499
1500
|
checkInvoice(invoice: IInvoice, sectionItem: ISectionItem, employee?: IEmployee): Promise<CheckInvoiceOptions>;
|
|
1500
1501
|
switchInvoice(invoice: IInvoice, targetSectionItem: ISectionItem, sourceSectionItem: ISectionItem, employee?: IEmployee): Promise<SwitchInvoiceOptions>;
|
|
1501
1502
|
payInvoice(invoice: IInvoice, sectionItem: ISectionItem, till?: ITill, employee?: IEmployee): Promise<PayInvoiceOptions>;
|
|
1502
|
-
directPayInvoice(invoice: IInvoice, till?: ITill, employee?: IEmployee, specificPrinter?: IPrinter, specificKioskDeviceUid?: string): Promise<DirectPayInvoiceOptions>;
|
|
1503
|
+
directPayInvoice(invoice: IInvoice, till?: ITill, employee?: IEmployee, specificPrinter?: IPrinter, specificKioskDeviceUid?: string, kitchenPrintOverride?: boolean): Promise<DirectPayInvoiceOptions>;
|
|
1503
1504
|
voidInvoice(invoice: IInvoice, till?: ITill, reason?: string, employee?: IEmployee): Promise<VoidInvoiceOptions>;
|
|
1504
1505
|
duplicateInvoice(invoice: IInvoice, employee?: IEmployee): Promise<IInvoice>;
|
|
1505
1506
|
reprintReceipt(invoice: IInvoice): Promise<boolean>;
|