@if ($section == 1)
{{ __('customer.customer_table.name') }}: {{ $customer->name }}
{{ __('customer.customer_table.address') }}: {{ $customer->address }}
{{ __('customer.customer_table.phone') }}: {{ $customer->phone }}
{{ __('customer.customer_table.correo') }}: {{ $customer->email }}
{{ __('customer.data.url_map') }}: @if ($customer->map_location_url) {{ __('customer.data.map_link') }} @else S/N @endif
{{ __('customer.customer_table.status') }}: {{ $customer->status == 1 ? 'Activo' : 'Inactivo' }}
{{ __('customer.customer_table.zipcode') }}: {{ $customer->zip_code }}
{{ __('customer.customer_table.city') }}: {{ $customer->city }}
{{ __('customer.customer_table.state') }}: {{ $customer->state }}
{{ __('customer.customer_table.serv') }}: {{ $customer->serviceType->name }}
{{ __('customer.customer_table.categs') }}: {{ $customer->companyCategory->category }}
@if ($type == 0)
{{ __('customer.data.reason') }}: {{ $customer->reason }}
@endif @if ($type != 0)
Disponibilidad: @if ($customer->start_time != null || $customer->end_time != null) {{ $customer->start_time }} - {{ $customer->end_time }} @else S/N @endif
{{ __('customer.customer_table.busname') }}: @if ($customer->tax_name != null) {{ $customer->tax_name }} @else S/N @endif
{{ __('customer.customer_table.tax') }}: @if ($customer->taxRegime != null) {{ $customer->taxRegime->name }} @else S/N @endif
{{ __('customer.customer_table.rfc') }}: @if ($customer->rfc != null) {{ $customer->rfc }} @else S/N @endif
@endif @endif @if ($section == 2)
{{ __('customer.customer_table.branch') }}: @foreach ($branches as $item) @if ($item->id == $customer->branch_id) {{ $item->name }} @endif @endforeach
{{ __('customer.customer_table.meters') }}: {{ $customer->meters }} - @if ($customer->unit == 1) (M2-Metros Cuadrados) @elseif($customer->unit == 2) (M3-Metros Cubicos) @else Indefinido @endif
{{ __('customer.customer_table.docs') }}: @if ($customer->print_doc == 1) Si @else No @endif
{{ __('customer.customer_table.valcert') }}: @if ($customer->validate_certificate == 1) Si @else No @endif
@endif @if ($section == 3)
{{ __('customer.customer_table.url') }}: {{ $customer->url }}
{{ __('customer.customer_table.emailweb') }}: {{ $customer->portal_email }}
{{ __('customer.customer_table.username') }}: {{ $customer->username }}
{{ __('customer.customer_table.passweb') }}: {{ $customer->password }}
@endif @if ($section == 4)
@if (!empty($customer->sedes)) @foreach ($customer->sedes as $sede) @endforeach @endif
# Nombre Dirección Teléfono Correo Estado {{ __('buttons.actions') }}
{{ $sede->id }} {{ $sede->name }} {{ $sede->address }} {{ $sede->phone }} {{ $sede->email }} {{ $sede->status == 1 ? 'Activo' : 'Inactivo' }} {{ __('buttons.show') }} {{ __('buttons.edit') }}
@endif @if ($section == 5)
@forelse ($customer->references as $reference) @empty @endforelse
# Nombre Tipo de referencia Correo electrónico Teléfono Departamento {{ __('buttons.actions') }}
{{ $reference->id }} {{ $reference->name }} {{ $reference->referenceType->name }} {{ $reference->email }} {{ $reference->phone }} {{ $reference->department }} {{ __('buttons.show') }} @can('write_customer') {{ __('buttons.edit') }} @endcan
Sin referencias
@endif @if ($section == 6)
@forelse ($customer->files as $file) @empty @endforelse
Nombre Archivo
{{ $file->filename->name }} {{ $file->filename->name . '.pdf' ?? 'Sin documento' }}
Sin referencias
@endif @if ($section == 7)
@forelse ($customer->applicationAreas as $area) @empty @endforelse
# Nombre Creado {{ __('buttons.actions') }}
{{ $area->id }} {{ $area->name }} {{ $area->created_at }} {{ __('buttons.delete') }}
Sin zonas
@endif @if ($section == 8)
@if (!$customer->floorplans->isEmpty()) @foreach ($customer->floorplans as $floorplan)
{{ $floorplan->filename }}
@endforeach @else
Sin planos agregados
@endif
@endif @if ($section == 9)
@can('write_order') {{ __('order.title.create') }} @endcan
@forelse ($customer->ordersPaginate() as $order) @empty @endforelse
# Hrs. de inicio Fecha programada Servicio(s) Cliente(s) Estado {{ __('buttons.actions') }}
{{ $order->id }} {{ $order->start_time }} {{ $order->programmed_date }} {{ implode(', ', $order->services->pluck('name')->toArray()) }} {{ $order->customer->name }} {{ $order->status->name }} {{ __('buttons.show') }} @can('write_order') {{ __('buttons.edit') }} @if ($order->status->id != 6) {{ __('buttons.cancel') }} @endif {{ __('buttons.report') }} @endcan
Sin ordenes asignadas
{{ $customer->ordersPaginate()->links('pagination::bootstrap-5') }}
@endif @include('order.modals.signature')