Module: Dashboard::V2::SharedReservationsGrid
- Extended by:
- ActiveSupport::Concern
- Included in:
- ReservationsGrid, RsvPackagesGrid
- Defined in:
- app/grids/dashboard/v2/shared_reservations_grid.rb
Overview
this table has dependency with src/reservations/dashboard.js on owner_dashboard_jsapp repository
Defined Under Namespace
Classes: Action
Instance Method Summary collapse
Instance Method Details
#row_class(reservation) ⇒ Object
265 266 267 268 269 270 271 272 273 |
# File 'app/grids/dashboard/v2/shared_reservations_grid.rb', line 265 def row_class(reservation) if reservation.cancelled? 'bg-yellow' elsif reservation.no_show? 'bg-dark-red' else '' end end |