mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
Merged PR 1248: #2877 Preisunterschied Menge wird pro Item übergeben
#2877 Preisunterschied Menge wird pro Item übergeben Related work items: #2877
This commit is contained in:
committed by
Lorenz Hilpert
parent
007ea92bd5
commit
c762871cce
@@ -60,13 +60,11 @@ export class PrintPriceDiffQrCodeLabelActionHandler extends ActionHandler<OrderI
|
||||
ean: item.product?.ean,
|
||||
price: item.retailPrice?.value,
|
||||
title: item.product?.name,
|
||||
copies: data.itemQuantity?.get(item.orderItemSubsetId) || item?.quantity,
|
||||
} as PriceQRCodeDTO;
|
||||
});
|
||||
|
||||
const item = data.items?.find((_) => true);
|
||||
const copies = data.itemQuantity?.get(item.orderItemSubsetId) || item?.quantity;
|
||||
|
||||
const response = await this.domainPrinterService.printQrCode({ printer, copies, data: payload }).toPromise();
|
||||
const response = await this.domainPrinterService.printQrCode({ printer, data: payload }).toPromise();
|
||||
if (!!response?.error) {
|
||||
this.uiModal.open({
|
||||
content: UiErrorModalComponent,
|
||||
|
||||
@@ -16,6 +16,11 @@ export interface PriceQRCodeDTO {
|
||||
*/
|
||||
compartmentInfo?: string;
|
||||
|
||||
/**
|
||||
* Anzahl Ausdrucke
|
||||
*/
|
||||
copies?: number;
|
||||
|
||||
/**
|
||||
* EAN
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user