fix some lint

This commit is contained in:
24c02 2025-02-11 18:01:48 -05:00
parent 78a724f55a
commit 9b35affbc7

View file

@ -4,11 +4,11 @@
<% end %>
<%# i acknowledge that this is nasty %>
💸: <%=
['Postage', 'Labor', 'Contents', 'Total'].map do |f|
next unless (c = shipment.fields["Warehouse#{f} Cost"])
"#{f.downcase}:&nbsp;#{cashify c}"
end.compact.join(", ").presence || "?"
%>
['Postage', 'Labor', 'Contents', 'Total'].map do |f|
next unless (c = shipment.fields["Warehouse#{f} Cost"])
"#{f.downcase}:&nbsp;#{cashify c}"
end.compact.join(", ").presence || "?"
%>
<%= render_ii(shipment, 'WarehouseOrder ID', '🆔', 'zenventory ID') %>
<%= render_ii(shipment, 'WarehouseWeight', '<i class="fa-solid fa-weight-hanging"></i>', 'weight') %>