@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.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)
# |
Nombre |
Dirección |
Teléfono |
Correo |
Estado |
{{ __('buttons.actions') }} |
@if (!empty($customer->sedes))
@foreach ($customer->sedes as $sede)
{{ $sede->id }} |
{{ $sede->name }} |
{{ $sede->address }} |
{{ $sede->phone }} |
{{ $sede->email }} |
{{ $sede->status == 1 ? 'Activo' : 'Inactivo' }}
|
{{ __('buttons.show') }}
{{ __('buttons.edit') }}
|
@endforeach
@endif
@endif
@if ($section == 5)
# |
Nombre |
Tipo de referencia |
Correo electrónico |
Teléfono |
Departamento |
{{ __('buttons.actions') }} |
@forelse ($customer->references as $reference)
{{ $reference->id }} |
{{ $reference->name }} |
{{ $reference->referenceType->name }} |
{{ $reference->email }} |
{{ $reference->phone }} |
{{ $reference->department }} |
{{ __('buttons.show') }}
@can('write_customer')
{{ __('buttons.edit') }}
@endcan
|
@empty
Sin referencias |
@endforelse
@endif
@if ($section == 6)
@endif
@if ($section == 7)
# |
Nombre |
Creado |
{{ __('buttons.actions') }} |
@forelse ($customer->applicationAreas as $area)
{{ $area->id }} |
{{ $area->name }} |
{{ $area->created_at }} |
{{ __('buttons.delete') }}
|
@empty
Sin zonas |
@endforelse
@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)
# |
Hrs. de inicio |
Fecha programada |
Servicio(s) |
Cliente(s) |
Estado |
{{ __('buttons.actions') }} |
@forelse ($customer->ordersPaginate() as $order)
{{ $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
|
@empty
Sin ordenes asignadas |
@endforelse
{{ $customer->ordersPaginate()->links('pagination::bootstrap-5') }}
@endif
@include('order.modals.signature')