mirror of
https://github.com/System-End/theseus.git
synced 2026-04-19 16:38:18 +00:00
only show backordered info on mailed packages
This commit is contained in:
parent
11341e581d
commit
fcd0a2f355
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@
|
|||
<div class="label">Sent to Warehouse</div>
|
||||
<div class="date"><%= @package.dispatched_at&.strftime("%b %d") || "Pending" %></div>
|
||||
</div>
|
||||
<% if @package.line_items.any? { |li| li.sku.in_stock.to_i < 0 } %>
|
||||
<% if !@package.mailed? && @package.line_items.any? { |li| li.sku.in_stock.to_i < 0 } %>
|
||||
<div class="arrow">→</div>
|
||||
<div class="step backorder">
|
||||
<div class="icon">⏳</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue