effective_events 2.28.2 → 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: 6130c240c651d39a73336de7887344539eb6bc88dc7aa6a7f7cd513ce4f64ee5
4
- data.tar.gz: 62cf88742008ab057676b15ca4b375f90c3be9440533371e0fe7f10bac3a1034
3
+ metadata.gz: 3fd4cccf384770e4b061ff775b4b897c374ea9682dc3da142bf96b5d3660e0b6
4
+ data.tar.gz: b14016ffa7febad385aa03e53ef3d2b66cc04a3acaf1cd7c08922f69c0cbe906
5
5
  SHA512:
6
- metadata.gz: c286740eef5dab3c8f33fe5ce4c67e485036db315aca7a90a55b1d22ad04ed0007ea07b6db7e35d09f2726b743c893554a0a62000c1329b1021a4c92705cdb3e
7
- data.tar.gz: d30685a52414d140bc3b15cd42e83d1abf9590b491130c255f9cd72da1f250a299fb36a4b2f1ec0a9648336cd3eca585033c5c64c0fae2f34539856b45db8754
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
@@ -6,7 +6,8 @@ en:
6
6
  activerecord:
7
7
  models:
8
8
  effective/event: 'Event'
9
- effective/event_registrant: 'Event registrant'
9
+ effective/event_registrant: 'Event Registrant'
10
+ effective/event_addon: 'Event Addon'
10
11
 
11
12
  attributes:
12
13
  effective/event_registrant:
@@ -1,3 +1,3 @@
1
1
  module EffectiveEvents
2
- VERSION = '2.28.2'.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.2
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: 2024-12-20 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