Tweaks for trave lform

This commit is contained in:
2014-06-11 23:53:44 +10:00
parent 5267f368b2
commit 7751058348
4 changed files with 36 additions and 4 deletions

View File

@@ -702,6 +702,14 @@ function _booking_total_due($person)
{
$total_due = 0.00;
//check for a spouse
if ($person->booking_partner_id > 0 && variable_get('booking_enable_combined_pricing', 0) == 1)
{
//watchdog('booking', "Calculating total amount due for a married couple.");
//TODO: figure out if anything special is needed here
}
//determine what rate this person needs to pay
if ($person->booking_welfare_required == 'Y' || $person->booking_committee_member == 'Y')
{