Holdinggggg (#21)

This commit is contained in:
Budzio 2025-01-22 20:05:37 +01:00 committed by GitHub
parent 6a74bf8fee
commit e7a0ac1168
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -205,7 +205,7 @@ class HighSeasShipment < Shipment
def status_text
case fields["status"]
when "PENDING_MANUAL_REVIEW"
when "PENDING_MANUAL_REVIEW", "on_hold"
"awaiting manual review..."
when "AWAITING_YSWS_VERIFICATION"
"waiting for you to get verified..."
@ -220,7 +220,7 @@ class HighSeasShipment < Shipment
def status_icon
case fields["status"]
when "PENDING_MANUAL_REVIEW"
when "PENDING_MANUAL_REVIEW", "on_hold"
'<i class="fa-solid fa-hourglass-half"></i>'
when "AWAITING_YSWS_VERIFICATION"
'<i class="fa-solid fa-user-clock"></i>'
@ -456,4 +456,4 @@ class SprigShipment < Shipment
end
end
SHIPMENT_TYPES = [WarehouseShipment, HighSeasShipment, BobaDropsShipment, SprigShipment].freeze
SHIPMENT_TYPES = [WarehouseShipment, HighSeasShipment, BobaDropsShipment, SprigShipment].freeze