credit_payment.rb 204 B

1234567891011
  1. class CreditPayment < ActiveRecord::Base
  2. belongs_to :customer
  3. belongs_to :pointsale
  4. belongs_to :user
  5. belongs_to :credit
  6. has_one :cash_registers_move
  7. enum status: [ :active, :cancelled ]
  8. end