Update _booking_amount_owing to use $person object instead of just a node id

This commit is contained in:
2014-05-14 18:04:29 +10:00
parent 71772edbd5
commit 0bfa363bcd
6 changed files with 38 additions and 30 deletions

View File

@@ -325,8 +325,8 @@ function booking_manual_email()
foreach($result as $data)
{
//$paid = _booking_amount_owing($data);
$paid = _booking_amount_owing($data->nid);
$paid = _booking_amount_owing($data);
//$paid = _booking_amount_owing($data->nid);
$options[$data->nid] = array (
'booking_nid' => l(t('!id', array('!id' => $data->nid)), t('node/!id', array('!id' => $data->nid))),
'booking_name' => $data->booking_firstname . " " . $data->booking_lastname,