mirror of
https://github.com/System-End/shipment-viewer.git
synced 2026-04-19 16:28:19 +00:00
14 lines
578 B
Text
14 lines
578 B
Text
<% if shipment.fields['Internal Notes'].present? %>
|
||
🗒️ notes:
|
||
<%= md shipment.fields['Internal Notes'] %>
|
||
<% end %>
|
||
<%# i acknowledge that this is nasty %>
|
||
💸: <%=
|
||
['Postage', 'Labor', 'Contents', 'Total'].map do |f|
|
||
next unless (c = shipment.fields["Warehouse–#{f} Cost"])
|
||
"#{f.downcase}: #{cashify c}"
|
||
end.compact.join(", ").presence || "?"
|
||
%>
|
||
|
||
<%= render_ii(shipment, 'Warehouse–Order ID', '🆔', 'zenventory ID') %>
|
||
<%= render_ii(shipment, 'Warehouse–Weight', '<i class="fa-solid fa-weight-hanging"></i>', 'weight') %>
|