Events Manager
[resolved] Save Booking (3 posts)

  1. glennbennett
    Posted 4 years ago #

    I'm trying to save a booking. I called save() on the EM_BOOKING object and it entered the data into the bookings table, but not in the tickets_bookings table which seem to mess things up a bit.

    I set the status, booking and comment then save. What am I missing?


    $EM_BOOKING->booking_status = "1";
    $EM_BOOKING->booking_spaces = "1";
    $EM_BOOKING->booking_comment = "hello";


  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 4 years ago #

    you need to also create a EM_Ticket_Booking object to associate the booking with a ticket for x spaces of that booking.

  3. glennbennett
    Posted 4 years ago #

    Thanks that seemed to work

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic