This commit is contained in:
BoHung Chiu 2020-11-12 22:48:02 +08:00
parent 6c85cb4edd
commit 8a4dd5b253
4 changed files with 4 additions and 0 deletions

View File

@ -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']

View File

@ -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

View File

@ -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

View File

@ -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