class Place::BookingNotifier
- Place::BookingNotifier
- PlaceOS::Driver
- Reference
- Object
Included Modules
- PlaceOS::Driver::Interface::MailerTemplates
Defined in:
place/booking_notifier.crClass Method Summary
Instance Method Summary
- #calendar
- #check_bookings(months_from_now : Int32 = 2)
- #create_network_user(user_email : String, password : String, group_ids : Array(String) = [] of String)
- #get_building_name(zones : Array(String))
- #get_manager(staff_email : String)
- #mailer
- #on_load
- #on_update
-
#template_fields : Array(TemplateFields)
[ TemplateFields.new( trigger: {"bookings", "booked_by_notify"}, name: "Booking booked by notification", description: nil, fields: common_fields ), TemplateFields.new( trigger: {"bookings", "booking_notify"}, name: "Booking notification", description: "This template is used for booking notifications", fields: common_fields + [ {name: "start_time", description: "The start time of the booking"}, ] ), ] end
- #update_network_user_password(user_email : String, password : String, network_group_ids : Array(String) = [] of String)
Class Method Detail
Instance Method Detail
[ TemplateFields.new( trigger: {"bookings", "booked_by_notify"}, name: "Booking booked by notification", description: nil, fields: common_fields ), TemplateFields.new( trigger: {"bookings", "booking_notify"}, name: "Booking notification", description: "This template is used for booking notifications", fields: common_fields + [ {name: "start_time", description: "The start time of the booking"}, ] ), ] end