Sha256: a717c801583041ca78eb1c6b2a494f6273d26e0655fcda1e37f0cb7c64c41800

Contents?: true

Size: 1.21 KB

Versions: 6

Compression:

Stored size: 1.21 KB

Contents

= render order

.effective-order.effective-order-purchase-actions
  - if EffectiveOrders.moneris_enabled
    = render :partial => '/effective/orders/moneris/form', :locals => {:order => order, :purchased_redirect_url => purchased_redirect_url, :declined_redirect_url => declined_redirect_url}

  - if EffectiveOrders.paypal_enabled
    = render :partial => '/effective/orders/paypal/form', :locals => {:order => order}

  - if EffectiveOrders.stripe_enabled
    = render :partial => '/effective/orders/stripe/form', :locals => {:order => order}

  - if EffectiveOrders.allow_pretend_purchase_in_production
    = link_to 'Purchase Order', effective_orders.pretend_purchase_path(order, :purchased_redirect_url => purchased_redirect_url, :declined_redirect_url => declined_redirect_url), :class => 'btn btn-primary', :data => {'disable_with' => 'Purchasing...' }
    %p= EffectiveOrders.allow_pretend_purchase_in_production_message
  - elsif Rails.env.development?
    = link_to 'Purchase Order (development only)', effective_orders.pretend_purchase_path(order, :purchased_redirect_url => purchased_redirect_url, :declined_redirect_url => declined_redirect_url), :class => 'btn btn-primary', :data => {'disable_with' => 'Purchasing...' }

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
effective_orders-1.3.7 app/views/effective/orders/_checkout_step_2.html.haml
effective_orders-1.3.6 app/views/effective/orders/_checkout_step_2.html.haml
effective_orders-1.3.5 app/views/effective/orders/_checkout_step_2.html.haml
effective_orders-1.3.4 app/views/effective/orders/_checkout_step_2.html.haml
effective_orders-1.3.3 app/views/effective/orders/_checkout_step_2.html.haml
effective_orders-1.3.2 app/views/effective/orders/_checkout_step_2.html.haml