|
@@ 598-601 (lines=4) @@
|
| 595 |
|
if ( $this->_transaction->get('TXN_paid') == $this->_transaction->get('TXN_total') ) { |
| 596 |
|
// paid in full |
| 597 |
|
$this->_template_args['amount_due'] = FALSE; |
| 598 |
|
} elseif ( $this->_transaction->get('TXN_paid') > $this->_transaction->get('TXN_total') ) { |
| 599 |
|
// overpaid |
| 600 |
|
$this->_template_args['amount_due_class'] = 'txn-overview-no-payment-spn'; |
| 601 |
|
} elseif (( $this->_transaction->get('TXN_total') > 0 ) && ( $this->_transaction->get('TXN_paid') > 0 )) { |
| 602 |
|
// monies owing |
| 603 |
|
$this->_template_args['amount_due_class'] = 'txn-overview-part-payment-spn'; |
| 604 |
|
} elseif (( $this->_transaction->get('TXN_total') > 0 ) && ( $this->_transaction->get('TXN_paid') == 0 )) { |
|
@@ 604-607 (lines=4) @@
|
| 601 |
|
} elseif (( $this->_transaction->get('TXN_total') > 0 ) && ( $this->_transaction->get('TXN_paid') > 0 )) { |
| 602 |
|
// monies owing |
| 603 |
|
$this->_template_args['amount_due_class'] = 'txn-overview-part-payment-spn'; |
| 604 |
|
} elseif (( $this->_transaction->get('TXN_total') > 0 ) && ( $this->_transaction->get('TXN_paid') == 0 )) { |
| 605 |
|
// no payments made yet |
| 606 |
|
$this->_template_args['amount_due_class'] = 'txn-overview-no-payment-spn'; |
| 607 |
|
} elseif ( $this->_transaction->get('TXN_total') == 0 ) { |
| 608 |
|
// free event |
| 609 |
|
$this->_template_args['amount_due'] = FALSE; |
| 610 |
|
} |