Add 'mongoid/enum' to gem dependency.
This commit is contained in:
parent
dcaa9f0ef1
commit
a885881651
|
@ -2,6 +2,7 @@ require 'orbit_form_helper'
|
|||
class VenueManagementBill
|
||||
include Mongoid::Document
|
||||
include Mongoid::Timestamps
|
||||
require 'mongoid/enum'
|
||||
include Mongoid::Enum
|
||||
BILLTYPE = {'venue_fee'=>["usage_fee", "royalties", "admin_fee", "land_rent"],'utility_bill'=>['electricity','water'],'tax'=>['house_tax','land_tax'],'prejudgment_interest'=>["usage_fee", "royalties", "admin_fee", "land_rent",'electricity','water','house_tax','land_tax','other'],'other'=>['penalty','other']}
|
||||
NOTFIELDKEY = ['float','fields','clear','no_margin','unit','display_title','display_unit','option_select']
|
||||
|
|
|
@ -5,6 +5,7 @@ require 'orbit_form_helper'
|
|||
class VenueManagementContract
|
||||
include Mongoid::Document
|
||||
include Mongoid::Timestamps
|
||||
require 'mongoid/enum'
|
||||
include Mongoid::Enum
|
||||
|
||||
PAYERS = [ :school, :vendor].freeze
|
||||
|
|
|
@ -5,6 +5,7 @@ require 'orbit_form_helper'
|
|||
class VenueManagementInviting
|
||||
include Mongoid::Document
|
||||
include Mongoid::Timestamps
|
||||
require 'mongoid/enum'
|
||||
include Mongoid::Enum
|
||||
include OrbitTag::Taggable
|
||||
PAYERS = [ :school, :vendor].freeze
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
class VenueManagementMemorabilia
|
||||
include Mongoid::Document
|
||||
include Mongoid::Timestamps
|
||||
require 'mongoid/enum'
|
||||
include Mongoid::Enum
|
||||
|
||||
field :event_date, type: Date, default: Time.now
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
Gem::Specification.new do |s|
|
||||
s.name = "venue_management"
|
||||
s.version = "0.0.1"
|
||||
|
||||
s.add_dependency 'mongoid-enum'
|
||||
s.authors = ["chiu"]
|
||||
s.description = "Venue Management plugin."
|
||||
s.email = ["naruto0426@rulingcom.com"]
|
||||
|
|
Loading…
Reference in New Issue