Sha256: 1d6dfac8c873e91f948be336fc49a57a41e00ae812bccacecd57753148c3f32f

Contents?: true

Size: 292 Bytes

Versions: 5

Compression:

Stored size: 292 Bytes

Contents

<% highest_bidder = auction.highest_bidder_id == spree_current_user.id %>
<% if auction.complete && highest_bidder %>
  <% order = auction.order %>
  <% if order.complete? %>
    <%= link_to order.number, order %>
  <% else %>
    <%= link_to order.number, cart_path %>
  <% end %>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
solidus_auction-0.0.6 app/views/spree/shared/_auction_order_link.html.erb
solidus_auction-0.0.5 app/views/spree/shared/_auction_order_link.html.erb
solidus_auction-0.0.4 app/views/spree/shared/_auction_order_link.html.erb
solidus_auction-0.0.3 app/views/spree/shared/_auction_order_link.html.erb
solidus_auction-0.0.1 app/views/spree/shared/_auction_order_link.html.erb