@if($estimate->user->company)
    <h1> {{$estimate->user->company->name}} </h1>
@endif

@if($company_address)
    <p class="company-add">
        @if($company_address->addresses[0]['address_street_1'])
            {{$company_address->addresses[0]['address_street_1']}} <br>
        @endif

        @if($company_address->addresses[0]['address_street_2'])
            {{$company_address->addresses[0]['address_street_2']}} <br>
        @endif
        @if($company_address->addresses[0]['city'])
            {{$company_address->addresses[0]['city']->name}}
        @endif
        @if($company_address->addresses[0]['state'])
            {{$company_address->addresses[0]['state']->name}}
        @endif
        @if($company_address->addresses[0]['zip'])
            {{$company_address->addresses[0]['zip']}} <br>
        @endif
        @if($company_address->addresses[0]['country'])
            {{$company_address->addresses[0]['country']->name}} <br>
        @endif
        @if($company_address->addresses[0]['phone'])
            {{$company_address->addresses[0]['phone']}} <br>
        @endif
    </p>
@endif

