Fix for people manually set to booked in when there is already a waiting list
This commit is contained in:
@@ -157,7 +157,12 @@ function _booking_process_payment($data) {
|
||||
if ($balance_payment == FALSE)
|
||||
{
|
||||
watchdog('booking', 'Processing an initial payment. Booking status is currently ' . $payment->booking_status);
|
||||
if (_booking_check_bookings_full() == True || $payment->booking_status == 2)
|
||||
if ($payment->booking_status == 1)
|
||||
{
|
||||
watchdog('booking', 'This registration has been manually assigned to the booked-in list.');
|
||||
$status = 1;
|
||||
}
|
||||
elseif (_booking_check_bookings_full() == True || $payment->booking_status == 2)
|
||||
{
|
||||
watchdog('booking', 'This registration belongs on the waiting list.');
|
||||
$status = 2;
|
||||
|
Reference in New Issue
Block a user