Class: Dashboard::V2::Group::OverrideInventoriesGrid
- Inherits:
-
OverrideInventoriesGrid
- Object
- ApplicationGrid
- OverrideInventoriesGrid
- Dashboard::V2::Group::OverrideInventoriesGrid
- Defined in:
- app/grids/dashboard/v2/group/override_inventories_grid.rb
Instance Attribute Summary collapse
-
#current_group ⇒ Object
Returns the value of attribute current_group.
Instance Method Summary collapse
Instance Attribute Details
#current_group ⇒ Object
Returns the value of attribute current_group.
7 8 9 |
# File 'app/grids/dashboard/v2/group/override_inventories_grid.rb', line 7 def current_group @current_group end |
Instance Method Details
#branches ⇒ Object
31 32 33 |
# File 'app/grids/dashboard/v2/group/override_inventories_grid.rb', line 31 def branches current_group.restaurants.map { |r| [r.name, r.id] } end |