Enable trigger processing for missed payment status
This commit is contained in:
@@ -1373,9 +1373,6 @@ function _booking_update($node) {
|
||||
{
|
||||
watchdog('booking', 'Detected person moving from Booked In list to Missed Payment Deadline list.');
|
||||
|
||||
//disable this until we're sure that's what we want to do
|
||||
|
||||
/*
|
||||
//let this person know they're no longer "booked in"
|
||||
_booking_missedpayment_email($node->nid);
|
||||
|
||||
@@ -1388,7 +1385,7 @@ function _booking_update($node) {
|
||||
//check if there is room on the booked-in list
|
||||
if (_booking_check_bookings_full() == False)
|
||||
{
|
||||
watchdog('booking', 'Looks like there was room on the booked in list, so lets tell the next person');
|
||||
watchdog('booking', 'Position available, so lets tell the next person');
|
||||
//find the first person on the waiting list
|
||||
$temp_nid = _booking_get_waitinglist_top();
|
||||
|
||||
@@ -1402,8 +1399,9 @@ function _booking_update($node) {
|
||||
}
|
||||
}
|
||||
else
|
||||
watchdog('booking', 'Still no room on the booked in list though.');
|
||||
*/
|
||||
{
|
||||
watchdog('booking', 'Still no room on the booked in list.');
|
||||
}
|
||||
}
|
||||
//if someone is moving to the not-coming list from the waiting list
|
||||
elseif ($previous_status->booking_status == 2 && $node->booking_status == 3)
|
||||
|
Reference in New Issue
Block a user