mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
Merged PR 1260: #2737 Bei Zubuchen kein Abholfachzettel ausdrucken
#2737 Bei Zubuchen kein Abholfachzettel ausdrucken Related work items: #2737
This commit is contained in:
committed by
Lorenz Hilpert
parent
efdc365b90
commit
2983d5a068
@@ -154,6 +154,12 @@ export class SharedGoodsInOutOrderDetailsComponent extends SharedGoodsInOutOrder
|
||||
return;
|
||||
}
|
||||
|
||||
// #2737 Bei Zubuchen kein Abholfachzettel ausdrucken
|
||||
let command = action.command;
|
||||
if (compartmentCode) {
|
||||
command = action.command.replace('|PRINT_COMPARTMENTLABEL', '');
|
||||
}
|
||||
|
||||
this.changeActionLoader$.next(action.command);
|
||||
this.changeActionDisabled$.next(true);
|
||||
|
||||
@@ -165,7 +171,7 @@ export class SharedGoodsInOutOrderDetailsComponent extends SharedGoodsInOutOrder
|
||||
receipts: this.receipts,
|
||||
};
|
||||
try {
|
||||
commandData = await this.commandService.handleCommand(action.command, commandData);
|
||||
commandData = await this.commandService.handleCommand(command, commandData);
|
||||
let navigateTo: 'details' | 'main' | 'reservation' = 'details';
|
||||
if (action.command.includes('ARRIVED')) {
|
||||
navigateTo = await this.arrivedActionNavigation();
|
||||
|
||||
Reference in New Issue
Block a user