Sha256: c4d3536e34e24e5b3eab65e398497e317aa4f4054225b6b3896f730986b5ecfa

Contents?: true

Size: 622 Bytes

Versions: 16

Compression:

Stored size: 622 Bytes

Contents

module Xeroizer
  module Record
    
    class ExpenseClaimModel < BaseModel
        
      set_permissions :read, :write, :update
      
    end
    
    class ExpenseClaim < Base
      
      set_primary_key :expense_claim_id

      guid          :expense_claim_id
      string        :status
      decimal       :total
      decimal       :amount_due
      decimal       :amount_paid
      date          :payment_due_date
      date          :reporting_date
      datetime_utc  :updated_date_utc, :api_name => 'UpdatedDateUTC'
      
      belongs_to    :user
      has_many      :receipts
      
    end
    
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
xeroizer-3.0.1 lib/xeroizer/models/expense_claim.rb
xeroizer-3.0.0 lib/xeroizer/models/expense_claim.rb
xeroizer-3-pre-beta-3.0.0.pre.beta lib/xeroizer/models/expense_claim.rb
xeroizer-2.20.0 lib/xeroizer/models/expense_claim.rb
xeroizer-2.19.0 lib/xeroizer/models/expense_claim.rb
xeroizer-2.18.1 lib/xeroizer/models/expense_claim.rb
xeroizer-2.17.1 lib/xeroizer/models/expense_claim.rb
xeroizer-2.16.5 lib/xeroizer/models/expense_claim.rb
xeroizer-2.16.4 lib/xeroizer/models/expense_claim.rb
xeroizer-2.16.3 lib/xeroizer/models/expense_claim.rb
xeroizer-2.16.1 lib/xeroizer/models/expense_claim.rb
xeroizer-2.16.0 lib/xeroizer/models/expense_claim.rb
xeroizer-2.15.9 lib/xeroizer/models/expense_claim.rb
xeroizer-2.15.8 lib/xeroizer/models/expense_claim.rb
xeroizer-2.15.7 lib/xeroizer/models/expense_claim.rb
xeroizer-2.15.6 lib/xeroizer/models/expense_claim.rb