Fix bug.
This commit is contained in:
parent
6c85cb4edd
commit
8a4dd5b253
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue