fix: bugfix for view order item page template

This commit is contained in:
Lance Edgar 2025-01-23 20:09:45 -06:00
parent b35c9bcdfa
commit f8f745c243

View file

@ -200,12 +200,12 @@
</b-field>
% if not item.product_id and item.local_product:
<b-field horizontal label="Local Product">
<span>${h.link_to(item.local_product, url('local_products.view', uuid=order.local_product.uuid))}</span>
<span>${h.link_to(item.local_product, url('local_products.view', uuid=item.local_product.uuid))}</span>
</b-field>
% endif
% if not item.product_id and item.pending_product:
<b-field horizontal label="Pending Product">
<span>${h.link_to(item.pending_product, url('pending_products.view', uuid=order.pending_product.uuid))}</span>
<span>${h.link_to(item.pending_product, url('pending_products.view', uuid=item.pending_product.uuid))}</span>
</b-field>
% endif
<b-field horizontal label="Scancode">