<div class="mb-6 tab-pane" id="cliente" role="tabpanel" aria-labelledby="information-tab">
    <div class="border-0 scroll-mt-3">
        @isset($detailData->cliente)
        <div>
            <div class="row mb-4">
                <div class="col-lg-3">
                    <label for="fullName" class="col-form-label">
                        @switch($TipoClientes::from($detailData->cliente->clientable_type))
                        @case($TipoClientes::PERSONA)
                        Nombres
                        @break

                        @case($TipoClientes::EMPRESA)
                        Razón
                        @break

                        @default
                        N/D
                        @endswitch
                    </label>
                </div>

                <div class="col-lg">
                    <output class="form-control" id="fullName">
                        @switch($TipoClientes::from($detailData->cliente->clientable_type))
                        @case($TipoClientes::PERSONA)
                        {{ $detailData->cliente->clientable['nombres'] }}
                        @break

                        @case($TipoClientes::EMPRESA)
                        {{ $detailData->cliente->clientable['razon'] }}
                        @break

                        @default
                        N/D
                        @endswitch
                    </output>
                </div>
            </div> <!-- / .row -->
            <div class="row mb-4">
                <div class="col-lg-3">
                    <label for="fullName" class="col-form-label">
                        @switch($TipoClientes::from($detailData->cliente->clientable_type))
                        @case($TipoClientes::PERSONA)
                        Cédula
                        @break

                        @case($TipoClientes::EMPRESA)
                        RIF
                        @break

                        @default
                        N/D
                        @endswitch
                    </label>
                </div>

                <div class="col-lg">
                    <output class="form-control" id="fullName">
                        @switch($TipoClientes::from($detailData->cliente->clientable_type))
                        @case($TipoClientes::PERSONA)
                        {{ $detailData->cliente->clientable['cedula'] }}
                        @break

                        @case($TipoClientes::EMPRESA)
                        {{ $detailData->cliente->clientable['rif'] }}
                        @break

                        @default
                        N/D
                        @endswitch
                    </output>
                </div>
            </div> <!-- / .row -->
            <div class="row mb-4">
                <div class="col-lg-3">
                    <label for="fullName" class="col-form-label">Tipo Cliente</label>
                </div>

                <div class="col-lg">
                    <output class="form-control" id="fullName">
                        {{ $TipoClientes::from($detailData->cliente->clientable_type)->getName() }}
                    </output>
                </div>
            </div> <!-- / .row -->
            <div class="row mb-4">
                <div class="col-lg-3">
                    <label for="fullName" class="col-form-label">Dirección</label>
                </div>

                <div class="col-lg">
                    <output class="form-control" id="fullName">
                        {{ $detailData->cliente->clientable['direccion'] }}
                    </output>
                </div>
            </div> <!-- / .row -->
            <div class="row mb-4">
                <div class="col-lg-3">
                    <label for="fullName" class="col-form-label">Teléfono</label>
                </div>

                <div class="col-lg">
                    <output class="form-control" id="fullName">
                        {{ $detailData->cliente->clientable['telefono'] }}
                    </output>
                </div>
            </div> <!-- / .row -->
            <div class="row mb-4">
                <div class="col-lg-3">
                    <label for="fullName" class="col-form-label">Teléfono Secundario</label>
                </div>

                <div class="col-lg">
                    <output class="form-control" id="fullName">
                        {{ $detailData->cliente->clientable['telefono_secundario'] ?? 'N/D' }}
                    </output>
                </div>
            </div> <!-- / .row -->
            <div class="row mb-4">
                <div class="col-lg-3">
                    <label for="fullName" class="col-form-label">Whatsapp</label>
                </div>

                <div class="col-lg">
                    <output class="form-control" id="fullName">
                        {{ $detailData->cliente->clientable['whatsapp'] }}
                    </output>
                </div>
            </div> <!-- / .row -->
            <div class="row mb-4">
                <div class="col-lg-3">
                    <label for="fullName" class="col-form-label">Telegram</label>
                </div>

                <div class="col-lg">
                    <output class="form-control" id="fullName">
                        {{ $detailData->cliente->clientable['telegram'] }}
                    </output>
                </div>
            </div> <!-- / .row -->
            <div class="row mb-4">
                <div class="col-lg-3">
                    <label for="fullName" class="col-form-label">Correo</label>
                </div>

                <div class="col-lg">
                    <output class="form-control" id="fullName">
                        {{ $detailData->cliente->clientable['correo'] }}
                    </output>
                </div>
            </div> <!-- / .row -->
        </div>
        @endisset
    </div>
</div>