| Conditions | 1 |
| Paths | 3 |
| Total Lines | 7 |
| Lines | 7 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | View Code Duplication | 'use strict'; |
|
| 6 | hasValidDirectDebitPayment = function ( state ) { |
||
| 7 | return ( |
||
| 8 | state.donationFormContent.paymentType === PAYMENT_TYPE_DEBIT_VALUE && |
||
| 9 | state.donationInputValidation.paymentType.isValid === true && |
||
| 10 | state.validity.bankData === true |
||
| 11 | ); |
||
| 12 | }, |
||
| 13 | hasOtherValidPayment = function ( state ) { |
||
| 40 |