study group bugfixes
This commit is contained in:
@@ -661,6 +661,13 @@ function _booking_process_refund($person)
|
||||
//calculate the refund due
|
||||
//don't include paypal fees in the deposit amount
|
||||
$refund = $paid - _booking_deposit_amount(FALSE);
|
||||
|
||||
//if there is a spouse, subtract their deposit too
|
||||
if (variable_get('booking_enable_combined_pricing', 0) == 1 && $person->booking_partner_id > 0)
|
||||
{
|
||||
$refund = $refund - _booking_deposit_amount(FALSE);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
watchdog('booking', "Processing refund due to !first !last. Calculated as $!refund",
|
||||
|
Reference in New Issue
Block a user