class YDIM::Html::View::DebitorComposite

Constants

SYMBOL_MAP
COMPONENTS
CSS_MAP

Private Instance Methods

autoinvoice_list(model) click to toggle source
# File lib/ydim/html/view/debitor.rb, line 88
def autoinvoice_list(model)
  AutoInvoiceList.new(@session.state.autoinvoice_infos, @session, self)
end
button(key, model) click to toggle source
# File lib/ydim/html/view/debitor.rb, line 91
def button(key, model)
      if(model.unique_id)
              button = HtmlGrid::Button.new(key, model, @session, self)
              args = {:unique_id => model.unique_id}
              url = @lookandfeel._event_url(key, args)
              button.set_attribute('onClick', "document.location.href='#{url}'")
              button
      end
end
create_autoinvoice(model) click to toggle source
# File lib/ydim/html/view/debitor.rb, line 100
def create_autoinvoice(model)
  button(:create_autoinvoice, model)
end
create_invoice(model) click to toggle source
# File lib/ydim/html/view/debitor.rb, line 103
def create_invoice(model)
  button(:create_invoice, model)
end
invoice_list(model) click to toggle source
# File lib/ydim/html/view/debitor.rb, line 106
def invoice_list(model)
        InvoiceList.new(@session.state.invoice_infos, @session, self)
end