effective_orders 2.1.12 → 2.1.13

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: 490c96cb8f2a3fcc52d2940401433bc1a4f0de35
4
- data.tar.gz: 02caa5ed740970bc3592674386da0ea66807ebb9
3
+ metadata.gz: e387c7ea18e839ff7d84f8b760659fc9d8495dd6
4
+ data.tar.gz: 79e0c66224c5a2069404ee5278f7a9bb27c841f5
5
5
  SHA512:
6
- metadata.gz: 7a48a2e508ce05e6a0c233bf51e95aff88ebf8c035a64736b15e8eb5389fcb8954d676377f1398a755c9b596af5f5a85f98c32bb65552a07c4153064ddb07741
7
- data.tar.gz: 2f9aba09e6f9228c5e373fbeee8dbe37151c44445f3d075500514edc97a6ac1b69c032880d4143e48f02185be68cfabbee1cf0bd7a23f28a81449fb463796fde
6
+ metadata.gz: 31c24b4435293249780b6159b91878bb51ef136288a458f85c1a6364ec2216174117b4983631ae6e70544d550f7831a706d19bfa648cf3f10c03b6fc1d4002a5
7
+ data.tar.gz: 2b4bc2d6dfdccb6fdc50bebb473223de6ce88c59cc9b76c37793007b58ee1116204682a0f913035848da303630a3736e36f5becd26ee892769ae78a1976a29ba
@@ -22,7 +22,8 @@
22
22
  label: 'Yes, send a payment request email to the buyer.',
23
23
  value: (f.object.send_payment_request_to_buyer.nil? ? EffectiveOrders.mailer[:send_payment_request_to_buyer] : f.object.send_payment_request_to_buyer?)
24
24
 
25
- %h3 Internal Note
26
- = f.input :note_internal, label: 'Internal note', hint: 'For internal admin use only. This note will never be displayed to the buyer.'
25
+ .effective-order-internal-note
26
+ %h3 Internal Note
27
+ = f.input :note_internal, label: false, hint: 'For internal admin use only. This note will never be displayed to the buyer.'
27
28
 
28
29
  = render partial: '/admin/orders/order_actions', locals: { order: @order, form: f, f: f }
@@ -25,8 +25,9 @@
25
25
  label: 'Yes, send an email receipt to the buyer.',
26
26
  value: (f.object.send_mark_as_paid_email_to_buyer.nil? ? EffectiveOrders.mailer[:send_order_receipts_when_mark_as_paid_by_admin] : f.object.send_mark_as_paid_email_to_buyer?)
27
27
 
28
- %h3 Note to Buyer
29
- = f.input :note_to_buyer, label: 'Note to buyer', hint: 'This is displayed to the buyer on all order receipts.'
28
+ .effective-order-note-to-buyer
29
+ %h3 Note to Buyer
30
+ = f.input :note_to_buyer, label: false, hint: 'This is displayed to the buyer on all order receipts.'
30
31
 
31
32
  = render partial: '/admin/orders/order_actions', locals: { order: @order, form: f, f: f }
32
33
 
@@ -1,6 +1,7 @@
1
- %h3 Internal Note
1
+ .effective-order-internal-note-form
2
+ %h3 Internal Note
2
3
 
3
- = simple_form_for [:admin, order], (EffectiveOrders.admin_simple_form_options || {}).merge(url: effective_orders.admin_order_path(order)) do |f|
4
- = f.input :note_internal, label: 'Internal note', hint: 'For internal admin use only. This note will never be displayed to the buyer.'
4
+ = simple_form_for [:admin, order], (EffectiveOrders.admin_simple_form_options || {}).merge(url: effective_orders.admin_order_path(order)) do |f|
5
+ = f.input :note_internal, label: false, hint: 'For internal admin use only. This note will never be displayed to the buyer.'
5
6
 
6
- = render partial: '/admin/orders/order_actions', locals: { order: @order, form: f, f: f }
7
+ = render partial: '/admin/orders/order_actions', locals: { order: @order, form: f, f: f }
@@ -1,8 +1,9 @@
1
1
  - if order.note_to_buyer.present?
2
- %table.table
3
- %thead
4
- %tr
5
- %th Receipt note
6
- %tbody
7
- %tr
8
- %td= order.note_to_buyer
2
+ .effective-order-note-to-buyer
3
+ %table.table
4
+ %thead
5
+ %tr
6
+ %th Receipt note
7
+ %tbody
8
+ %tr
9
+ %td= order.note_to_buyer
@@ -1,3 +1,3 @@
1
1
  module EffectiveOrders
2
- VERSION = '2.1.12'.freeze
2
+ VERSION = '2.1.13'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_orders
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.12
4
+ version: 2.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect