spree_emails 4.3.0.rc3 → 4.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/spree/shared/_purchased_items_table.text.erb +25 -0
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2904d8167f983cb4a0b8b69487dd6ddfb33b4e6408156627dba48271a4f96bf2
|
4
|
+
data.tar.gz: 441b5e4fd93059cff30bcc8d4432e013ddb984dde30edc96bd5e0b3f68849af2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 328663652a0c3642ffb923a9dd97eb85ba79cfc29c927405977a31d2f600648c64dbac7d7b2175a20c08624f85651063818a25b945a502cdd42d1d959ba8e71b
|
7
|
+
data.tar.gz: 83642176274ca4b17ffbeccd3d5e028cbe7ad8a85a1ea30c123cf6e89ec2a1f3270b86506d500fad115bba3b18baa6cf1caefe635678a93295462f541e3e6571
|
@@ -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 %>
|
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.3.
|
4
|
+
version: 4.3.2
|
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:
|
12
|
+
date: 2022-06-01 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.3.
|
20
|
+
version: 4.3.2
|
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.3.
|
27
|
+
version: 4.3.2
|
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.3.
|
137
|
+
changelog_uri: https://github.com/spree/spree/releases/tag/v4.3.2
|
137
138
|
documentation_uri: https://dev-docs.spreecommerce.org/
|
138
|
-
source_code_uri: https://github.com/spree/spree/tree/v4.3.
|
139
|
+
source_code_uri: https://github.com/spree/spree/tree/v4.3.2
|
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.
|
155
|
+
rubygems_version: 3.0.9
|
155
156
|
signing_key:
|
156
157
|
specification_version: 4
|
157
158
|
summary: Transactional emails for Spree eCommerce platform
|