class Place::BookingApprovalWorkflows
- Place::BookingApprovalWorkflows
- PlaceOS::Driver
- Reference
- Object
Included Modules
- PlaceOS::Driver::Interface::MailerTemplates
Defined in:
place/booking_approval_workflows.crClass Method Summary
Instance Method Summary
- #check_bookings(months_from_now : Int32 = 2)
- #get_building_name(zones : Array(String))
- #get_manager(staff_email : String)
- #mailer
- #on_load
- #on_update
- #send_checkin_reminder(zones : Array(String) | Nil = nil, timezone : String | Nil = nil)
-
#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
- #users_with_invalid_desk_bookings(building_zone : String, ending : Int64)
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