mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
#3617 CompartmentLabel für Kunden zwischenhspeichern
This commit is contained in:
@@ -220,6 +220,8 @@ export class GoodsInReservationComponent implements OnInit, OnDestroy {
|
||||
return acc;
|
||||
}, {});
|
||||
|
||||
let compartmentCode: string;
|
||||
|
||||
for (const command of Object.keys(itemsToUpdateGroupedByCommand)) {
|
||||
const itemsToUpdateForCommand = itemsToUpdateGroupedByCommand[command];
|
||||
const itemQuantity = new Map(itemsToUpdateForCommand.map((item) => [item.orderItemSubsetId, item.quantity]));
|
||||
@@ -228,9 +230,11 @@ export class GoodsInReservationComponent implements OnInit, OnDestroy {
|
||||
items: itemsToUpdateForCommand,
|
||||
shippingDelayComment: `Aktion: ${action.label}`,
|
||||
itemQuantity,
|
||||
compartmentCode,
|
||||
};
|
||||
|
||||
await this._commandService.handleCommand(command, data);
|
||||
const result = await this._commandService.handleCommand(command, data);
|
||||
compartmentCode = result.compartmentCode;
|
||||
}
|
||||
}
|
||||
this._store.reload();
|
||||
|
||||
Reference in New Issue
Block a user