mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
Merged PR 1186: #3032 AHF Routing Fix
#3032 AHF Routing Fix Related work items: #3032
This commit is contained in:
committed by
Lorenz Hilpert
parent
f657a088d4
commit
146ad7b20a
@@ -135,11 +135,16 @@ export class GoodsInRemissionPreviewComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
navigateToDetails(orderItem: OrderItemListItemDTO) {
|
||||
const customerNumber = orderItem.buyerNumber;
|
||||
const orderNumber = orderItem.orderNumber;
|
||||
const processingStatus = orderItem.processingStatus;
|
||||
const orderItemId = orderItem.orderItemId;
|
||||
|
||||
this._router.navigate([`/filiale/goods/in/details/order/${encodeURIComponent(orderNumber)}/item/${orderItemId}/${processingStatus}`]);
|
||||
this._router.navigate([
|
||||
`/filiale/goods/in/details/customer/${encodeURIComponent(customerNumber)}/order/${encodeURIComponent(
|
||||
orderNumber
|
||||
)}/item/${orderItemId}/${processingStatus}`,
|
||||
]);
|
||||
}
|
||||
|
||||
async handleAction(action: KeyValueDTOOfStringAndString) {
|
||||
|
||||
@@ -135,11 +135,16 @@ export class GoodsInReservationComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
navigateToDetails(orderItem: OrderItemListItemDTO) {
|
||||
const customerNumber = orderItem.buyerNumber;
|
||||
const orderNumber = orderItem.orderNumber;
|
||||
const processingStatus = orderItem.processingStatus;
|
||||
const orderItemId = orderItem.orderItemId;
|
||||
|
||||
this._router.navigate([`/filiale/goods/in/details/order/${encodeURIComponent(orderNumber)}/item/${orderItemId}/${processingStatus}`]);
|
||||
this._router.navigate([
|
||||
`/filiale/goods/in/details/customer/${encodeURIComponent(customerNumber)}/order/${encodeURIComponent(
|
||||
orderNumber
|
||||
)}/item/${orderItemId}/${processingStatus}`,
|
||||
]);
|
||||
}
|
||||
|
||||
initInitialSearch() {
|
||||
|
||||
Reference in New Issue
Block a user