effective_orders 6.19.0 → 6.19.1
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe4877e8b611ca4cf5aae18c2f43d0e62a6dc333e76634c74d098efe952199b6
|
4
|
+
data.tar.gz: 7fdb4b4fda03ea47a941a032ee320fff2a6f432fd452e596bb2cfae40ed04569
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35d1d862fc154790c9e03ab1e01cd679340ae2c6da181cb26c6206fbaa6d6e3d1788e2b98516ba204e4e575ad98b12331ce81db0c41f5883fab3ca6ce99d1c70
|
7
|
+
data.tar.gz: 468b756bce436cacd7e9132d126edff379f61991dc984cc1ac140dec93750459caa379aedd184c9c5f846770d2566ecf16639c0f2980baa7557acf8746e72c63
|
@@ -810,7 +810,7 @@ module Effective
|
|
810
810
|
|
811
811
|
# Went from delayed to cheque
|
812
812
|
if delayed_payment? && !delayed_payment_provider?
|
813
|
-
assign_attributes(
|
813
|
+
assign_attributes(delayed_payment_intent: nil, delayed_payment_total: nil)
|
814
814
|
end
|
815
815
|
|
816
816
|
if current_user&.email.present?
|
@@ -2,9 +2,26 @@
|
|
2
2
|
%h1.effective-heading= @page_title
|
3
3
|
|
4
4
|
%p.effective-orders-page-content
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
- if @order.delayed? && @order.deferred? && @order.delayed_payment_provider?
|
6
|
+
%p
|
7
|
+
= succeed('.') do
|
8
|
+
- distance = distance_of_time_in_words(Time.zone.now, @order.delayed_payment_date.beginning_of_day)
|
9
|
+
|
10
|
+
The payment date for this order
|
11
|
+
|
12
|
+
- if @order.delayed_payment_date_upcoming?
|
13
|
+
is in #{distance} from now on #{@order.delayed_payment_date.strftime('%F')}
|
14
|
+
- elsif @order.delayed_payment_date_today?
|
15
|
+
was today
|
16
|
+
- else
|
17
|
+
was #{distance} ago on #{@order.delayed_payment_date.strftime('%F')}
|
18
|
+
|
19
|
+
%p Your existing #{@order.delayed_payment_method} will be charged on the payment date.
|
20
|
+
|
21
|
+
- elsif @order.deferred?
|
22
|
+
You have indicated that this order will be paid by #{@order.payment_provider}.
|
23
|
+
Your order will not be considered purchased until we receive your payment.
|
24
|
+
Please contact us at your earliest convenience.
|
8
25
|
|
9
26
|
= render @order
|
10
27
|
|
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: 6.19.
|
4
|
+
version: 6.19.1
|
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: 2025-01-
|
11
|
+
date: 2025-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|