<div class="card mb-2  border-primary">
    <h6 class="card-header  bg-primary text-white py-2" data-toggle="collapse" data-target="#collapseBookingInfo" aria-expanded="false" aria-controls="collapseBookingInfo">
        <strong style="line-height: 1.6em">Kunde</strong>
    </h6>
    <div class="collapse" id="collapseBookingInfo">
        <div class="card-body row">
            @if($booking->customer->count())
                <div class="form-group col-sm-6">
                    <label class="form-label" for="customer_id">{{ __('Kunden ID') }}</label>
                    <div class="input-group">
                        <div class="input-group-prepend">
                            <span class="input-group-text">
                            <a class="text-primary" href="{{route('customer_detail', [$booking->customer->id])}}"><i class="fa fa-edit"></i></a></span>
                        </div>
                        {{ Form::text('customer[id]', $booking->customer->id,  array('placeholder'=>__('Kunden ID'), 'class'=>'form-control', 'id'=>'customer_id', 'readonly')) }}
                    </div>
                </div>
                <div class="form-group col-sm-6">
                    <label class="form-label" for="customer_email">{{ __('E-Mail') }}</label>
                    {{ Form::text('customer[email]', $booking->customer->email,  array('placeholder'=>__('E-Mail'), 'class'=>'form-control', 'id'=>'customer_email', 'readonly')) }}
                </div>
                <div class="form-group col-sm-6">
                    <label class="form-label" for="customer_firstname">{{ __('Vorname') }}</label>
                    {{ Form::text('customer[firstname]', $booking->customer->firstname,  array('placeholder'=>__('Vorname'), 'class'=>'form-control', 'id'=>'customer_firstname', 'readonly')) }}
                </div>

                <div class="form-group col-sm-6">
                    <label class="form-label" for="customer_name">{{ __('Nachname') }}</label>
                    {{ Form::text('customer[name]', $booking->customer->name,  array('placeholder'=>__('Nachname'), 'class'=>'form-control', 'id'=>'customer_name', 'readonly')) }}
                </div>
            @endif
        </div>
    </div>
</div>