|
@@ 758-761 (lines=4) @@
|
| 755 |
|
if ($this->_transaction->get('TXN_paid') == $this->_transaction->get('TXN_total')) { |
| 756 |
|
// paid in full |
| 757 |
|
$this->_template_args['amount_due'] = false; |
| 758 |
|
} elseif ($this->_transaction->get('TXN_paid') > $this->_transaction->get('TXN_total')) { |
| 759 |
|
// overpaid |
| 760 |
|
$this->_template_args['amount_due_class'] = 'txn-overview-no-payment-spn'; |
| 761 |
|
} elseif ($this->_transaction->get('TXN_total') > 0 |
| 762 |
|
&& $this->_transaction->get('TXN_paid') > 0 |
| 763 |
|
) { |
| 764 |
|
// monies owing |
|
@@ 766-769 (lines=4) @@
|
| 763 |
|
) { |
| 764 |
|
// monies owing |
| 765 |
|
$this->_template_args['amount_due_class'] = 'txn-overview-part-payment-spn'; |
| 766 |
|
} elseif ($this->_transaction->get('TXN_total') > 0 |
| 767 |
|
&& $this->_transaction->get('TXN_paid') == 0 |
| 768 |
|
) { |
| 769 |
|
// no payments made yet |
| 770 |
|
$this->_template_args['amount_due_class'] = 'txn-overview-no-payment-spn'; |
| 771 |
|
} elseif ($this->_transaction->get('TXN_total') == 0) { |
| 772 |
|
// free event |