Sha256: 07119450c01477e1e6a4f147e585e3d17199a5424ed1fc6b9ca220d1f148b313

Contents?: true

Size: 489 Bytes

Versions: 2

Compression:

Stored size: 489 Bytes

Contents

module BillysBilling
  class Invoice < BillysBilling::Base
    attr_accessor :id, :type, :created_time, :approved_time, :invoice_no, :entry_date, 
                  :due_date, :state, :amount, :vat, :exchange_rate, :balance, :is_paid,
                  :contact_message, :print_url, :url, :success,
                  :currency

    has_one :contact
    has_one :att_contact_person, :class_name => "contact"
  
    has_many :lines
    has_many :payments
    has_many :attachments

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
billysbilling-rails-1.1.1 lib/billys_billing/invoice.rb
billysbilling-rails-1.1.0 lib/billys_billing/invoice.rb