public function getTypeIcon()
    {
        switch ($this->getType()) {
            case 'CB':
                $icon = 'credit-card';
                break;
            case 'VIR':
                $icon = 'arrow-circle-o-' . ($this->isNegativeAmount() ? 'up' : 'down');
                break;
            case 'PRE':
                $icon = 'arrow-circle-up';
                break;
            case 'CHQ':
                $icon = 'money';
                break;
            case 'PPL':
                $icon = 'paypal';
                break;
            default:
                $icon = 'money';
        }

        return $icon;
    }
public function getTypeIcon()
    {
        switch ($this->getType()) {
            case 'CB':
                $icon = 'credit-card';
                break;
            case 'VIR':
                $icon = 'arrow-circle-o-' . ($this->isNegativeAmount() ? 'up' : 'down');
                break;
            case 'PRE':
                $icon = 'arrow-circle-up';
                break;
            case 'CHQ':
                $icon = 'money';
                break;
            case 'PPL':
                $icon = 'paypal';
                break;
            default:
                $icon = 'money';
        }

        return $icon;
    }
public function getTypeIcon ( ) { switch ( $ this -> getType ( ) ) { case 'CB' : $ icon = 'credit-card' ; break ; case 'VIR' : $ icon = 'arrow-circle-o-' . ( $ this -> isNegativeAmount ( ) ? 'up' : 'down' ) ; break ; case 'PRE' : $ icon = 'arrow-circle-up' ; break ; case 'CHQ' : $ icon = 'money' ; break ; case 'PPL' : $ icon = 'paypal' ; break ; default : $ icon = 'money' ; } return $ icon ; }
Get icon type

@return string
Get icon type