@if($estimate->user->billingaddress)
    @if($estimate->user->billingaddress->name || $estimate->user->billingaddress->address_street_1 || $estimate->user->billingaddress->address_street_2 || $estimate->user->billingaddress->country || $estimate->user->billingaddress->state || $estimate->user->billingaddress->city || $estimate->user->billingaddress->zip || $estimate->user->billingaddress->phone)
        <p class="bill-to">Bill To,</p>
    @endif
    @if($estimate->user->billingaddress->name)
        <p class="bill-user-name">
            {{$estimate->user->billingaddress->name}}
        </p>
    @endif
    <p class="bill-user-address">
        @if($estimate->user->billingaddress->address_street_1)
            {{$estimate->user->billingaddress->address_street_1}}<br>
        @endif

        @if($estimate->user->billingaddress->address_street_2)
            {{$estimate->user->billingaddress->address_street_2}}<br>
        @endif

        @if($estimate->user->billingaddress->city && $estimate->user->billingaddress->city->name)
            {{$estimate->user->billingaddress->city->name}},
        @endif

        @if($estimate->user->billingaddress->state && $estimate->user->billingaddress->state->name)
            {{$estimate->user->billingaddress->state->name}}.
        @endif

        @if($estimate->user->billingaddress->zip)
            {{$estimate->user->billingaddress->zip}}<br>
        @endif

        @if($estimate->user->billingaddress->country && $estimate->user->billingaddress->country->name)
            {{$estimate->user->billingaddress->country->name}}<br>
        @endif

        @if($estimate->user->billingaddress->phone)
            <p class="bill-user-phone">
                Phone :{{$estimate->user->billingaddress->phone}}
            </p>
        @endif
    </p>
@endif
