Module: BookingHelper
- Defined in:
- app/helpers/booking_helper.rb
Instance Method Summary collapse
Instance Method Details
#reference_types_as_collection ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'app/helpers/booking_helper.rb', line 2 def reference_types_as_collection # TODO: Stock model should be available too, from bookyt_stock types = [Invoice] types.inject({}) do |result, type| result[t_model(type)] = type.base_class result end end |