mirror of
https://github.com/System-End/shipment-viewer.git
synced 2026-04-19 16:28:19 +00:00
no more awa
This commit is contained in:
parent
67beb4b37b
commit
8f4e7c42f9
1 changed files with 0 additions and 1 deletions
|
|
@ -165,7 +165,6 @@ class WarehouseShipment < Shipment
|
|||
def description
|
||||
return "it's a surprise!" if hide_contents?
|
||||
begin
|
||||
puts "awa#{source_id}"
|
||||
fields['user_facing_description'] ||
|
||||
fields["Warehouse–Items Shipped JSON"] && JSON.parse(fields["Warehouse–Items Shipped JSON"]).select {|item| (item["quantity"]&.to_i || 0) > 0}.map do |item|
|
||||
"#{item["quantity"]}x #{item["name"]}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue