credit_payment.rb 223 B

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