Events Made Easy Forums How do I … Auto Approve booking by group

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #61828

    If there is a way to do this, I haven’t seen it, so please direct me.

    My site has 2 tiers of memberships, sorted into eme groups. Lets just call them bosses and workers.

    I’d like for any time a boss makes a booking, the system auto approves it. However, when a worker logs makes a booking, the normal behavior is followed.



    You can use rsvp action hooks for that:
    Use e.g. eme_insert_rsvp_action and look at the hints below the list of hooks to get the person or member based on the booking. Based on your evaluation, you can then call
    eme_approve_booking($booking_id) to approve a booking.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.