debug booking_view

This commit is contained in:
Nathan Coad
2019-09-02 21:37:37 +10:00
parent be4854d933
commit 2f2dd62443

View File

@@ -823,6 +823,8 @@ function booking_view($node, $view_mode) {
$rows = array();
$travel_rows = array();
watchdog('booking_debug', 'booking view node: <pre>@info</pre>', array('@info' => print_r( $node, true)));
//calculate the price owed by this person
//if (_booking_is_earlybird() == true || _booking_amount_owing($node->nid) == 0)
if (_booking_is_earlybird() == true || _booking_amount_owing($node) == 0 || $node->booking_committee_member == 'Y' || $node->booking_welfare_required == 'Y') {