@extends('bucketadmin.master') @section('pageTitle', 'Cita - Detalle') @section('template-content') @include('partials.messages')
@if($appointment->client->prospect == 0) Cita con cliente {{ $appointment->client->name }} {{ $appointment->client->last_name }} @else Cita con Prospecto {{ $appointment->client->name }} {{ $appointment->client->last_name }} @endif @if($appointment->status == 1) Completada @else Pendiente @endif
@if($appointment->user_id == auth()->user()->id)
@if($appointment->status == 0) @endif
@endif
@if($appointment->client->prospect == 0)

Información del Cliente:

@else

Información del Prospecto:

@endif @if($client->records->count() > 0) @else @endif @if(auth()->user()->role == "G. Comercial" || auth()->user()->role == "Administrador" || auth()->user()->role == "E. Atención a Clientes") @endif
Cliente {{ $appointment->client->name }} {{ $appointment->client->last_name }}
Número de folio (s) @foreach($client->records as $record) #{{ $record->record_number}}
@endforeach
Estatus Prospección
Correo {{$appointment->client->email }}
Teléfono(s) {{$appointment->client->phone}}
{{$appointment->client->cellphone}}
Descripción {{ $appointment->description }}
Ejecutivo Asignado {{ $appointment->user['name'] }} {{ $appointment->user['last_name'] }}

Dirección:

{{ $appointment->place }}


Fecha:

{{ App\Helper\Utils::convierte_fecha($appointment->start_date) }}

@endsection @push('scripts') @endpush