A tweak to refund feature
This commit is contained in:
@@ -1310,7 +1310,10 @@ function _booking_update($node) {
|
||||
//let this person know their request has been processed
|
||||
_booking_demoted_to_notcoming_email($node->nid);
|
||||
|
||||
//TODO: Calculate refund
|
||||
//Calculate refund
|
||||
$refund = _booking_process_refund($node);
|
||||
drupal_set_message(t('Refund calculated for !first !last is $!refund.',
|
||||
array('!first' => $node->booking_firstname, '!last' => $node->booking_lastname, '!refund' => $refund)));
|
||||
}
|
||||
//if we're not automatically sending emails on registration
|
||||
//and someone moved from not-paid to booked-in (ie, manual payment process)
|
||||
|
Reference in New Issue
Block a user