Sha256: 945eb5e33f105d98f9c412c73e7fdd9fe4d2ecd308e44b2f1120b6fbc0a636f0

Contents?: true

Size: 521 Bytes

Versions: 3

Compression:

Stored size: 521 Bytes

Contents

#!/usr/bin/env ruby
# encoding: utf-8
# Html::State::Debitors -- ydim -- 12.01.2006 -- hwyss@ywesee.com

require 'ydim/html/state/global_predefine'
require 'ydim/html/state/debitor'
require 'ydim/html/view/debitors'
require 'ydim/debitor'

module YDIM
	module Html
		module State
class Debitors < Global
	VIEW = Html::View::Debitors
	def init
    lnf = @session.lookandfeel
		@model = @session.debitors.sort_by do |deb|
      [ lnf.lookup(deb.debitor_type) || '', deb.name.to_s.downcase ]
    end
	end
end
		end
	end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ydim-html-1.0.3 lib/ydim/html/state/debitors.rb
ydim-html-1.0.2 lib/ydim/html/state/debitors.rb
ydim-html-1.0.1 lib/ydim/html/state/debitors.rb