Bugfixes relating to early bird rate closing
This commit is contained in:
@@ -84,7 +84,7 @@ function booking_form($node, &$form_state, $inserting = FALSE) {
|
||||
else
|
||||
{
|
||||
$select_early = 0;
|
||||
watchdog('booking', 'No longer accepting earlybird prices');
|
||||
//watchdog('booking', 'No longer accepting earlybird prices');
|
||||
}
|
||||
|
||||
$result = db_query("SELECT pid, booking_price_descrip, booking_price, booking_late_price FROM {booking_price} where booking_eventid = :eid " .
|
||||
@@ -1054,7 +1054,7 @@ function booking_load($nodes) {
|
||||
$query->condition('p.nid', array_keys($nodes), 'IN')
|
||||
->fields('p')
|
||||
->fields('t')
|
||||
->fields('pr', array('booking_price', 'booking_price_descrip'));
|
||||
->fields('pr', array('booking_price', 'booking_price_descrip','booking_late_price'));
|
||||
|
||||
//now add the study group fields
|
||||
for ($i = 1; $i <= 7; $i++)
|
||||
@@ -1072,7 +1072,7 @@ function booking_load($nodes) {
|
||||
$query->condition('p.nid', array_keys($nodes), 'IN')
|
||||
->fields('p')
|
||||
->fields('t')
|
||||
->fields('pr', array('booking_price', 'booking_price_descrip'));
|
||||
->fields('pr', array('booking_price', 'booking_price_descrip','booking_late_price'));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user