{{ __('Listado actividades') }}

@foreach($actividades as $v) @if($v->in_cancelacion) @else @if((env('GGCC_LEAD',false) == true && \App\Classes\MYA::idGrupo() == 2 && $v->has_lead == 1) || ($v->reporte_pendiente && is_null($v->id_location_out) == false)) @endif @endif @endforeach

Oficina / Store - Actividad

Fecha / Hora visita

@if($v->store) Store @else Oficina @endif: {{$v->co_oficina}}

Nombre: {{$v->oficina_name}}

@if($v->cliente)

Cliente: {{$v->cliente}}

@endif @if($actividadPedidos->has($v->id_actividad))

Pedidos asociados: @foreach($actividadPedidos[$v->id_actividad] as $pedido) {{ $pedido->pedido }} @endforeach @endif

{{date('d/m/Y H:i:s', strtotime($v->checkin_ts))}}
@if(is_null($v->id_location_out) == false) Duración: {{$v->duracion}} @else Actividad en curso @endif

Actividad: {{$v->tipo}} - {{$v->subtipo}}

Cancelada
@if(env('GGCC_LEAD',false) == true && \App\Classes\MYA::idGrupo() == 2 && $v->has_lead == 1) Completar pedidos @endif
@if($v->reporte_pendiente && is_null($v->id_location_out) == false) Completar reporte @endif