effective_events 2.28.3 → 2.29.0

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: 49c704a7c670fde5b6cf18f335c419c306601caf0dfc8c69febaa44ad650c4df
4
- data.tar.gz: 69824c9e0cb8b1715f89477e61a281f497d1f43276a8e29d423000d9fe43654b
3
+ metadata.gz: 3fd4cccf384770e4b061ff775b4b897c374ea9682dc3da142bf96b5d3660e0b6
4
+ data.tar.gz: b14016ffa7febad385aa03e53ef3d2b66cc04a3acaf1cd7c08922f69c0cbe906
5
5
  SHA512:
6
- metadata.gz: a0139e96ea89846365f8bc3c31efd12eec1c15d8510e4f320fcb32227003ac10a4c2b359b9702783d2d26da3da2730c4ba265d72a59aefe5715078a6e29f3eef
7
- data.tar.gz: e0f3120777ef52c0cc5943a1a363998f794cc7df9e39a04f2189d8bd2b7fe342f69e7dcd3eab96aa4d3863e9bee2c794811345cc581d903d7b2bd1718c7ffc68
6
+ metadata.gz: 98f1052081b05189b102c2d971f5e5b620a448980ba1725178aad152ed73619490f9249d648939717642609faad2f6418a9b45d1f75ed1cbd3ee6f323a54cd73
7
+ data.tar.gz: eaedb7ff8cfef0be586b3dd26f0da550201b5f65a1f5742ba0c4df8a5cc59137e15bb8e40b9d90b76c62fa7761b6a40cbfa8b0e8510620341f77a78de86e26f4
@@ -3,12 +3,7 @@
3
3
 
4
4
  = f.text_field :title
5
5
  = f.number_field :capacity, hint: 'The number of addons will be limited to this capacity. Leave blank for unlimited capacity.'
6
-
7
- = f.price_field :price, hint: 'A price of $0 will allow a checkout for free.'
8
- = f.check_box :tax_exempt
9
-
10
- - if defined?(EffectiveQbSync)
11
- = f.text_field :qb_item_name, label: 'QuickBooks item name'
6
+ = acts_as_purchasable_fields(f)
12
7
 
13
8
  = f.check_box :archived, label: 'Archive this product. It will be unavailable for purchase.'
14
9
 
@@ -51,10 +51,8 @@
51
51
  = f.price_field :member_price, hint: 'A price of $0 will allow a checkout for free when selecting a member.'
52
52
 
53
53
  .row
54
- - if defined?(EffectiveQbSync)
55
- .col-md-6= f.text_field :qb_item_name, label: 'QuickBooks item name'
56
-
57
- = f.check_box :tax_exempt
54
+ .col-md-6= qb_item_name_field(f)
55
+ = f.check_box :tax_exempt, label: "Yes, this #{etd(f.object)} is tax exempt"
58
56
  = f.check_box :archived, label: 'Archive this ticket. While archived, it cannot be purchased by users but registrants can only be added by an admin.'
59
57
 
60
58
  = card('Questions') do
@@ -1,3 +1,3 @@
1
1
  module EffectiveEvents
2
- VERSION = '2.28.3'.freeze
2
+ VERSION = '2.29.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_events
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.28.3
4
+ version: 2.29.0
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-13 00:00:00.000000000 Z
11
+ date: 2025-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails