mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
Merged PR 1297: #2953 Updated PRINT_PRICEDIFFQRCODELABEL compartmentCode and compartmentInfo
#2953 Updated PRINT_PRICEDIFFQRCODELABEL compartmentCode and compartmentInfo
This commit is contained in:
committed by
Lorenz Hilpert
parent
3ada83efff
commit
59c9275cc4
@@ -13,7 +13,8 @@ export class PrintPriceDiffQrCodeLabelActionHandler extends ActionHandler<OrderI
|
||||
}
|
||||
|
||||
async handler(data: OrderItemsContext): Promise<OrderItemsContext> {
|
||||
await this.print(data);
|
||||
// CompartmentCode und CompartmentInfo nur dann übergeben, wenn 'QR Code erneut drucken' ausgewählt wurde. Siehe Ticket #2953 Preis // Preisunterschied (Bestellpreis vs. Ladenpreis) - QR Code Design
|
||||
await this.print({ ...data, compartmentCode: undefined, compartmentInfo: undefined });
|
||||
|
||||
const result = await this.uiModal
|
||||
.open({
|
||||
|
||||
@@ -166,7 +166,7 @@ export class SharedGoodsInOutOrderDetailsComponent extends SharedGoodsInOutOrder
|
||||
let commandData: OrderItemsContext = {
|
||||
items: this.getitemsToUpdate(),
|
||||
compartmentInfo: compartmentInfo || this.compartmentInfo,
|
||||
compartmentCode,
|
||||
compartmentCode: action.command.includes('PRINT_PRICEDIFFQRCODELABEL') ? this.orderItems[0].compartmentCode : compartmentCode,
|
||||
itemQuantity: this.getItemQuantityMap(),
|
||||
receipts: this.receipts,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user