mirror of
https://github.com/System-End/shipment-viewer.git
synced 2026-04-19 23:22:55 +00:00
fix some lint
This commit is contained in:
parent
78a724f55a
commit
9b35affbc7
1 changed files with 5 additions and 5 deletions
|
|
@ -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}: #{cashify c}"
|
||||
end.compact.join(", ").presence || "?"
|
||||
%>
|
||||
['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') %>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue