|
@@ 555-558 (lines=4) @@
|
| 552 |
|
if ( $this->_transaction->get('TXN_paid') == $this->_transaction->get('TXN_total') ) { |
| 553 |
|
// paid in full |
| 554 |
|
$this->_template_args['amount_due'] = FALSE; |
| 555 |
|
} elseif ( $this->_transaction->get('TXN_paid') > $this->_transaction->get('TXN_total') ) { |
| 556 |
|
// overpaid |
| 557 |
|
$this->_template_args['amount_due_class'] = 'txn-overview-no-payment-spn'; |
| 558 |
|
} elseif (( $this->_transaction->get('TXN_total') > 0 ) && ( $this->_transaction->get('TXN_paid') > 0 )) { |
| 559 |
|
// monies owing |
| 560 |
|
$this->_template_args['amount_due_class'] = 'txn-overview-part-payment-spn'; |
| 561 |
|
} elseif (( $this->_transaction->get('TXN_total') > 0 ) && ( $this->_transaction->get('TXN_paid') == 0 )) { |
|
@@ 561-564 (lines=4) @@
|
| 558 |
|
} elseif (( $this->_transaction->get('TXN_total') > 0 ) && ( $this->_transaction->get('TXN_paid') > 0 )) { |
| 559 |
|
// monies owing |
| 560 |
|
$this->_template_args['amount_due_class'] = 'txn-overview-part-payment-spn'; |
| 561 |
|
} elseif (( $this->_transaction->get('TXN_total') > 0 ) && ( $this->_transaction->get('TXN_paid') == 0 )) { |
| 562 |
|
// no payments made yet |
| 563 |
|
$this->_template_args['amount_due_class'] = 'txn-overview-no-payment-spn'; |
| 564 |
|
} elseif ( $this->_transaction->get('TXN_total') == 0 ) { |
| 565 |
|
// free event |
| 566 |
|
$this->_template_args['amount_due'] = FALSE; |
| 567 |
|
} |