class YDIM::Html::View::DebitorList

Constants

EVENT
SORT_DEFAULT
COMPONENTS

Private Instance Methods

debitor_type(model) click to toggle source
# File lib/ydim/html/view/debitors.rb, line 22
def debitor_type(model)
        @lookandfeel.lookup(model.debitor_type)
end
next_invoice_date(model) click to toggle source
# File lib/ydim/html/view/debitors.rb, line 25
def next_invoice_date(model)
        if(date = model.next_invoice_date)
                @lookandfeel.format_date(date)
        end
end
phone(model) click to toggle source
# File lib/ydim/html/view/debitors.rb, line 30
def phone(model)
        if(phone = model.phone)
                link = HtmlGrid::Link.new(:phone, model, @session, self)
                link.href = "callto://#{phone.delete(' ')}"
                link.value = phone
                link
        end
end