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