effective_orders 1.3.11 → 1.3.12
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c7b3b018e79698ed00c4de4515e215fe8ee9ffc
|
4
|
+
data.tar.gz: d28eecbbe23937b8a46b2a21214fb8dbf3c57023
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00bf45972290436dab97bd5202b7343cfde44dd31d9bbf2ae8305378384fa7d4af3d0e4ed75d959b9913567ea4828e3c6cddf5e9f10a268a9d3d7983f18d2887
|
7
|
+
data.tar.gz: fcedfdc649cabf1724a7381ae5ec31d1f116956dcbc78a7d37191096647dc1377a0a0594842412e57e75d02dad02b412bcf4fcf341930101718cf10b4210b107
|
@@ -1,6 +1,12 @@
|
|
1
1
|
= render order
|
2
2
|
|
3
3
|
.effective-order.effective-order-purchase-actions
|
4
|
+
- if EffectiveOrders.allow_pretend_purchase_in_production
|
5
|
+
= render :partial => '/effective/orders/pretend/form', locals: {label: 'Purchase Order', order: order, purchased_redirect_url: purchased_redirect_url, declined_redirect_url: declined_redirect_url}
|
6
|
+
%p= EffectiveOrders.allow_pretend_purchase_in_production_message
|
7
|
+
- elsif (Rails.env.development? || Rails.env.test?)
|
8
|
+
= render :partial => '/effective/orders/pretend/form', locals: {label: 'Purchase Order (development only)', order: order, purchased_redirect_url: purchased_redirect_url, declined_redirect_url: declined_redirect_url}
|
9
|
+
|
4
10
|
- if EffectiveOrders.moneris_enabled
|
5
11
|
= render :partial => '/effective/orders/moneris/form', :locals => {:order => order, :purchased_redirect_url => purchased_redirect_url, :declined_redirect_url => declined_redirect_url}
|
6
12
|
|
@@ -10,9 +16,4 @@
|
|
10
16
|
- if EffectiveOrders.stripe_enabled
|
11
17
|
= render :partial => '/effective/orders/stripe/form', :locals => {:order => order}
|
12
18
|
|
13
|
-
- if EffectiveOrders.allow_pretend_purchase_in_production
|
14
|
-
= 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...' }
|
15
|
-
%p= EffectiveOrders.allow_pretend_purchase_in_production_message
|
16
|
-
- elsif (Rails.env.development? || Rails.env.test?)
|
17
|
-
= 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...' }
|
18
19
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_orders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -394,6 +394,7 @@ files:
|
|
394
394
|
- app/views/effective/orders/my_sales.html.haml
|
395
395
|
- app/views/effective/orders/new.html.haml
|
396
396
|
- app/views/effective/orders/paypal/_form.html.haml
|
397
|
+
- app/views/effective/orders/pretend/_form.html.haml
|
397
398
|
- app/views/effective/orders/purchased.html.haml
|
398
399
|
- app/views/effective/orders/show.html.haml
|
399
400
|
- app/views/effective/orders/stripe/_form.html.haml
|