@@ 717-720 (lines=4) @@ | ||
714 | if ($this->_transaction->get('TXN_paid') == $this->_transaction->get('TXN_total')) { |
|
715 | // paid in full |
|
716 | $this->_template_args['amount_due'] = false; |
|
717 | } elseif ($this->_transaction->get('TXN_paid') > $this->_transaction->get('TXN_total')) { |
|
718 | // overpaid |
|
719 | $this->_template_args['amount_due_class'] = 'txn-overview-no-payment-spn'; |
|
720 | } elseif ($this->_transaction->get('TXN_total') > 0 |
|
721 | && $this->_transaction->get('TXN_paid') > 0 |
|
722 | ) { |
|
723 | // monies owing |
|
@@ 725-728 (lines=4) @@ | ||
722 | ) { |
|
723 | // monies owing |
|
724 | $this->_template_args['amount_due_class'] = 'txn-overview-part-payment-spn'; |
|
725 | } elseif ($this->_transaction->get('TXN_total') > 0 |
|
726 | && $this->_transaction->get('TXN_paid') == 0 |
|
727 | ) { |
|
728 | // no payments made yet |
|
729 | $this->_template_args['amount_due_class'] = 'txn-overview-no-payment-spn'; |
|
730 | } elseif ($this->_transaction->get('TXN_total') == 0) { |
|
731 | // free event |