Yes, by changing the values in em-ticket.php in classes folder 🙂
Thread Starter
snaweb
(@snaweb)
It seems to be possible yes, but i don’t know if my coding is good and safe :
I’ve duplicate the function booking_add_one (lines v320-330) (i’ve created booking_addcancel) in actions.php by changing only one line to add the booking then to cancel it :
if( $EM_Event->get_bookings()->add($EM_Booking) ){
becames :
if( $EM_Event->get_bookings()->add($EM_Booking) && $EM_Booking->cancel() ){
After that, one another form in bookingform.php with the new action and the new button and i’ve my new booking, with status cancelled 🙂
I’ve change the bookingform.js to display a different message for each button, and to refresh the booking page
I don’t know if this method is good but it seems to be operational.
Furthermore, i’ve edited the attendeelist.php to show the absent people.
-
This reply was modified 8 years, 3 months ago by snaweb.