Sha256: e1c314b373cf801704adc18d2ffeb7058d0b7ced25dde0b1e9e9a95c377ac0d9
Contents?: true
Size: 638 Bytes
Versions: 6
Compression:
Stored size: 638 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
6 entries across 6 versions & 1 rubygems