[internal] make warehouse order IDs link to zenventory

This commit is contained in:
24c02 2025-02-11 18:02:03 -05:00
parent 9b35affbc7
commit 1c88247f74

View file

@ -10,5 +10,5 @@
end.compact.join(", ").presence || "?"
%>
<%= render_ii(shipment, 'WarehouseOrder ID', '🆔', 'zenventory ID') %>
<%= render_ii(shipment, 'WarehouseOrder ID', '🆔', 'zenventory ID', -> (s) { external_link(shipment['WarehouseOrder ID'], "https://app.zenventory.com/orders/edit-order/#{shipment['WarehouseOrder ID']}") }) %>
<%= render_ii(shipment, 'WarehouseWeight', '<i class="fa-solid fa-weight-hanging"></i>', 'weight') %>