Skip to content

Commit

Permalink
feat(fulfilment): link product Id to order view
Browse files Browse the repository at this point in the history
  • Loading branch information
belsman committed Nov 1, 2024
1 parent 65e6d67 commit fd2b550
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,12 @@
we expand upon the item. -->
<div class="row justify-content-between align-items-center">
<span>Product id</span>
<span>{{ parcelItem.productId }}</span>
<a
[routerLink]="
productRouter.view.getLink({ id: parcelItem.productId || '' })
"
>{{ parcelItem.productId }}</a
>
</div>

<div class="row justify-content-between align-items-center">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ export class FulfillmentViewDetailsComponent {
@Input({ required: true }) fulfillment!: IFulfillment;

orderRouter = ROUTER.pages.main.children.orders.children;
productRouter = ROUTER.pages.main.children.products.children;
}

0 comments on commit fd2b550

Please sign in to comment.