Sha256: 88b15bd0efd489f5144c27bd5b26f9c584a804f5f5f3757d5764b29a75d7b187
Contents?: true
Size: 632 Bytes
Versions: 10
Compression:
Stored size: 632 Bytes
Contents
require 'clevic.rb' # db connection Sequel.connect( "postgres://#{host}/accounts_test?user=#{$options[:username] || 'accounts'}&password=#{$options[:password]}" ) # This is a read-only view, which is currently not implemented class Value < Sequel::Model set_table_name 'values' include Clevic::Record define_ui do read_only! plain :date plain :description plain :debit plain :credit plain :pre_vat_amount plain :cheque_number plain :vat, :label => 'VAT' plain :financial_year plain :month records :order => 'date' end end
Version data entries
10 entries across 10 versions & 1 rubygems