This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
|
class Ledger < ActiveRecord::Base
|
|
belongs_to :barista
|
|
belongs_to :fund
|
|
|
|
validates_numericality_of :debit_amount, :credit_amount, :allow_nil => true
|
|
end
|