Class: BBMB::Html::View::HistoryComposite

Inherits:
HtmlGrid::DivComposite
  • Object
show all
Defined in:
lib/bbmb/html/view/history.rb

Constant Summary collapse

COMPONENTS =
{
  [0,0]  =>  HistoryProducts,
  [0,1]  =>  :turnover,
}
CSS_MAP =
{ 1 => 'right' }
CSS_ID_MAP =
{ 1 => 'order-total' }

Instance Method Summary collapse

Instance Method Details

#turnover(model) ⇒ Object



51
52
53
# File 'lib/bbmb/html/view/history.rb', line 51

def turnover(model)
  @lookandfeel.lookup(:history_turnover, model.turnover)
end