spree_emails 4.3.0.rc1 → 4.4.0.rc1
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: 1c7f17c960c2de9db89ec038fd75542f8b7d39724c12cf5d857b32bca855f75a
|
4
|
+
data.tar.gz: c3d7c28932f1c683f8f644be9bf6e779481941b904b1cdfb09d5a272e64fca1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fef4f7431c9261ffd7d091648baab0b641af13c24c8369f521d2315848252e408adee888473870913e998d708631898b8348a4e29939d449d9dd5e649f8093f5
|
7
|
+
data.tar.gz: ec9f45bce1e051f217c32154a01d6b705417fb773bacfe9cc3a101f7663596a4874dbd12ee922b04a2a281c442f9ff1d7cfa6bde28acdc9bc957378771d39c90
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<% line_items.each do |item| %>
|
2
|
+
<%= item.variant.sku %> <%= raw(item.variant.product.name) %> <%= raw(item.variant.options_text) -%> (<%=item.quantity%>) <%= Spree.t('at_symbol') %> <%= item.single_money %> = <%= item.display_amount %>
|
3
|
+
<% end %>
|
4
|
+
============================================================
|
5
|
+
<%= Spree.t('order_mailer.subtotal') %> <%= order.display_item_total %>
|
6
|
+
<% if order.line_item_adjustments.exists? %>
|
7
|
+
<% if order.all_adjustments.promotion.eligible.exists? %>
|
8
|
+
<% order.all_adjustments.promotion.eligible.group_by(&:label).each do |label, adjustments| %>
|
9
|
+
<%= Spree.t(:promotion) %>: <%= label %> <%= Spree::Money.new(adjustments.sum(&:amount), currency: order.currency) %>
|
10
|
+
<% end %>
|
11
|
+
<% end %>
|
12
|
+
<% end %>
|
13
|
+
|
14
|
+
<% order.shipments.group_by { |s| s.selected_shipping_rate.try(:name) }.each do |name, shipments| %>
|
15
|
+
<%= Spree.t(:shipping) %>: <%= name %> <%= Spree::Money.new(shipments.sum(&:discounted_cost), currency: order.currency) %>
|
16
|
+
<% end %>
|
17
|
+
|
18
|
+
<% if order.additional_tax_total != 0 %>
|
19
|
+
<%= Spree.t(:tax) %>: <%= order.display_additional_tax_total.to_html %>
|
20
|
+
<% end %>
|
21
|
+
|
22
|
+
<% order.adjustments.eligible.each do |adjustment| %>
|
23
|
+
<% next if (adjustment.source_type == 'Spree::TaxRate') and (adjustment.amount == 0) %>
|
24
|
+
<%= adjustment.label %> <%= adjustment.display_amount %>
|
25
|
+
<% end %>
|
data/spree_emails.gemspec
CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.metadata = {
|
17
17
|
"bug_tracker_uri" => "https://github.com/spree/spree/issues",
|
18
18
|
"changelog_uri" => "https://github.com/spree/spree/releases/tag/v#{s.version}",
|
19
|
-
"documentation_uri" => "https://
|
19
|
+
"documentation_uri" => "https://dev-docs.spreecommerce.org/",
|
20
20
|
"source_code_uri" => "https://github.com/spree/spree/tree/v#{s.version}",
|
21
21
|
}
|
22
22
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_emails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.4.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Schofield
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-12-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: spree_core
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 4.
|
20
|
+
version: 4.4.0.rc1
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 4.
|
27
|
+
version: 4.4.0.rc1
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: actionmailer
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,6 +108,7 @@ files:
|
|
108
108
|
- app/views/spree/shared/_base_mailer_stylesheets.html.erb
|
109
109
|
- app/views/spree/shared/_mailer_line_item.html.erb
|
110
110
|
- app/views/spree/shared/_purchased_items_table.html.erb
|
111
|
+
- app/views/spree/shared/_purchased_items_table.text.erb
|
111
112
|
- app/views/spree/shared/purchased_items_table/_adjustment.html.erb
|
112
113
|
- app/views/spree/shared/purchased_items_table/_line_item.html.erb
|
113
114
|
- app/views/spree/shared/purchased_items_table/_subtotal.html.erb
|
@@ -133,9 +134,9 @@ licenses:
|
|
133
134
|
- BSD-3-Clause
|
134
135
|
metadata:
|
135
136
|
bug_tracker_uri: https://github.com/spree/spree/issues
|
136
|
-
changelog_uri: https://github.com/spree/spree/releases/tag/v4.
|
137
|
-
documentation_uri: https://
|
138
|
-
source_code_uri: https://github.com/spree/spree/tree/v4.
|
137
|
+
changelog_uri: https://github.com/spree/spree/releases/tag/v4.4.0.rc1
|
138
|
+
documentation_uri: https://dev-docs.spreecommerce.org/
|
139
|
+
source_code_uri: https://github.com/spree/spree/tree/v4.4.0.rc1
|
139
140
|
post_install_message:
|
140
141
|
rdoc_options: []
|
141
142
|
require_paths:
|
@@ -151,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
151
152
|
- !ruby/object:Gem::Version
|
152
153
|
version: 1.8.23
|
153
154
|
requirements: []
|
154
|
-
rubygems_version: 3.2.
|
155
|
+
rubygems_version: 3.2.22
|
155
156
|
signing_key:
|
156
157
|
specification_version: 4
|
157
158
|
summary: Transactional emails for Spree eCommerce platform
|