@@ 588-591 (lines=4) @@ | ||
585 | if ( $this->_transaction->get('TXN_paid') == $this->_transaction->get('TXN_total') ) { |
|
586 | // paid in full |
|
587 | $this->_template_args['amount_due'] = FALSE; |
|
588 | } elseif ( $this->_transaction->get('TXN_paid') > $this->_transaction->get('TXN_total') ) { |
|
589 | // overpaid |
|
590 | $this->_template_args['amount_due_class'] = 'txn-overview-no-payment-spn'; |
|
591 | } elseif (( $this->_transaction->get('TXN_total') > 0 ) && ( $this->_transaction->get('TXN_paid') > 0 )) { |
|
592 | // monies owing |
|
593 | $this->_template_args['amount_due_class'] = 'txn-overview-part-payment-spn'; |
|
594 | } elseif (( $this->_transaction->get('TXN_total') > 0 ) && ( $this->_transaction->get('TXN_paid') == 0 )) { |
|
@@ 594-597 (lines=4) @@ | ||
591 | } elseif (( $this->_transaction->get('TXN_total') > 0 ) && ( $this->_transaction->get('TXN_paid') > 0 )) { |
|
592 | // monies owing |
|
593 | $this->_template_args['amount_due_class'] = 'txn-overview-part-payment-spn'; |
|
594 | } elseif (( $this->_transaction->get('TXN_total') > 0 ) && ( $this->_transaction->get('TXN_paid') == 0 )) { |
|
595 | // no payments made yet |
|
596 | $this->_template_args['amount_due_class'] = 'txn-overview-no-payment-spn'; |
|
597 | } elseif ( $this->_transaction->get('TXN_total') == 0 ) { |
|
598 | // free event |
|
599 | $this->_template_args['amount_due'] = FALSE; |
|
600 | } |