effective_orders 6.4.2 → 6.4.4

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: 90a19ed34f8da51170b8965ccfe0bcbfaf26fcbd93dfae012a8b11829cc80598
4
- data.tar.gz: 9e9ac05750936bc695131008ea968e8686280f28671584ab5c7a9b9a5c805d56
3
+ metadata.gz: 39a490616d23d3fa6a77d50362f39001535889c1edf07eff99e591560d77a18c
4
+ data.tar.gz: e190a899ff398fafce51372870854da6e80bcee2ca9d90d827822e1d44fdd82a
5
5
  SHA512:
6
- metadata.gz: f48d47e8a4c4c2786a5b6f4b0b88ff90bc0d62350c93d1a7424ffb7c40204ea9e53eb4757b10279c235174f201ffb7ec325ca447b31c5c7f4b715798b44ec43f
7
- data.tar.gz: fbc376af786b0c282e0498bd023f33306a60cc1fd9e4139ddf71f63f6e84c9c325ee242faa9185e7574c58609b083144cc65c6b70b912a5e0e5be128c2481eee
6
+ metadata.gz: b47f581cacd6d03ba0da55b5e73571a11216fe98386fa1b116cb677b2eb6166361847e1bf94bf45862876126e01f63a490db8102c866fa4e169ded15177b32b0
7
+ data.tar.gz: 76c775e10083421002756e7226eafa10256dad7be33bb975b4cfd0c9f73914377a45f299a2d52529ab1c5ac3e052dd7f384d73b549b74feae01e595fa56308ec
@@ -104,6 +104,7 @@ module Effective
104
104
  EffectiveResources.authorize!(self, :show, @order)
105
105
  end
106
106
 
107
+ # This is used by both the Admin and User
107
108
  def send_buyer_receipt
108
109
  @order = Effective::Order.purchased.find(params[:id])
109
110
 
@@ -115,7 +116,7 @@ module Effective
115
116
  flash[:danger] = "Unable to send receipt."
116
117
  end
117
118
 
118
- redirect_to effective_orders.order_path(@order)
119
+ redirect_back(fallback_location: effective_orders.order_path(@order))
119
120
  end
120
121
 
121
122
  def bulk_send_buyer_receipt
@@ -13,4 +13,4 @@
13
13
 
14
14
  - if order.persisted? && order.respond_to?(:logs_datatable)
15
15
  = tab 'Logs' do
16
- .effective-order-admin-logs= render_inline_datatable(order.logs_datatable)
16
+ .effective-order-admin-logs= render_inline_datatable(order.log_changes_datatable)
@@ -1,3 +1,3 @@
1
1
  module EffectiveOrders
2
- VERSION = '6.4.2'.freeze
2
+ VERSION = '6.4.4'.freeze
3
3
  end
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.4.2
4
+ version: 6.4.4
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: 2023-05-30 00:00:00.000000000 Z
11
+ date: 2023-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails