Class: BBMB::Html::View::CurrentPositions
- Inherits:
-
HtmlGrid::List
- Object
- HtmlGrid::List
- BBMB::Html::View::CurrentPositions
- Includes:
- Backorder, ListPrices, PositionMethods
- Defined in:
- lib/bbmb/html/view/current_order.rb
Constant Summary collapse
- CSS_CLASS =
'list'
- COMPONENTS =
{ [0,0] => :delete_position, [1,0] => :quantity, [2,0] => :description, [3,0] => :backorder, [4,0] => :price_base, [5,0] => :total, }
- CSS_MAP =
{ [0,0] => 'delete', [1,0] => 'tiny right', [2,0] => 'description', [4,0] => 'right', [5,0] => 'total', }
- CSS_HEAD_MAP =
{ [1,0] => 'right', [4,0] => 'right', [5,0] => 'right', }
- SORT_DEFAULT =
:description
Constants included from ListPrices
ListPrices::BACKGROUND_ROW, ListPrices::BACKGROUND_SUFFIX, ListPrices::HEAD_OFFSET_STEP, ListPrices::OFFSET_STEP
Instance Method Summary collapse
Methods included from PositionMethods
Methods included from ListPrices
#price1, #price2, #price3, #price4, #price5, #price6, #price_levels, #pricex
Methods included from Vat
Methods included from Backorder
Instance Method Details
#delete_position(model) ⇒ Object
282 283 284 |
# File 'lib/bbmb/html/view/current_order.rb', line 282 def delete_position(model) super(model, :order_product) end |
#description(model) ⇒ Object
285 286 287 |
# File 'lib/bbmb/html/view/current_order.rb', line 285 def description(model) position_modifier(model, :description, :search) end |