
<div id="contact-info-commercial-leads" class="col-md-12">
    <h3>{{'contact.headers.COMMERCIAL_LEADS' | translate}}</h3>
    <div class="contact-big-box col-md-4" ng-repeat="commercialLead in contactInfo">
        <div class="contact-info-layer">
            <h3 class="contact-info-title">
                <div class="info-icon glyphicon glyphicon-briefcase"></div>
                <div class="info-big-text">{{commercialLead.name}}</div>
            </h3>

            <div class="contact-info-box">
                <div class="info-icon glyphicon glyphicon-earphone"></div>
                <div class="info-text">{{commercialLead.phone}}</div>
            </div>

            <div class="contact-info-box">
                <div class="info-icon glyphicon glyphicon-envelope"></div>
                <div class="info-text">{{commercialLead.mail}}</div>
            </div>

            <div class="contact-info-box" ng-if="commercialLead.countries.length">
                <div class="info-icon glyphicon glyphicon-globe"></div>
                <div class="info-text">
                    <div class="contact-info-country" ng-repeat="country in commercialLead.countries">
                        {{country.name}} <span class="flag-icon flag-icon-{{country.code}}"></span>&nbsp;
                    </div>
                </div>
            </div>

            <div ng-if="commercialLead.addresses.length" class="contact-info-addresses-layer">
                <h4><div class="info-big-text">{{'contact.headers.BILLING_INFORMATIONS' | translate}}</div></h4>
                <div class="contact-info-address" ng-repeat="address in commercialLead.addresses">
                    <div class="contact-info-box">
                        <div class="info-icon glyphicon glyphicon glyphicon-home"></div>
                        <div class="info-text">{{address.company}}</div>
                    </div>

                    <div class="contact-info-box">
                        <div class="info-icon glyphicon glyphicon glyphicon-user"></div>
                        <div class="info-text">{{address.firstName}} {{address.lastName}}</div>
                    </div>

                    <div class="contact-info-box">
                        <div class="info-icon glyphicon glyphicon-map-marker"></div>
                        <div class="info-text">{{address.country}}, {{address.detailedAddress}}, zip {{address.zip}}</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<?php
if($user->getUserType() === USER_TYPES['BROKER']){
    require_once('ContactSupportTemplate.php');
}
?>
