@extends('layouts.logeado') @section('style') @endsection @if (isset($filtro)) @section('sub_title', 'Servicios en Curso. Filtro: ' . $filtro[0] . '=' . $filtro[1]) @else @section('sub_title', 'Servicios en Curso') @endif @section('sub_content')
@isset($filtro) @endisset
@if ($usuario->roles_id == 1 || $usuario->modulos[0]->pivot->editar == 1) Nuevo servicio @endif

Exportar:

@if($errors->first('sql') != null)
{{$errors->first('sql')}}
@endif
@forelse($servicios as $servicio) @if ($servicio->vale != null) @else @endif @empty @endforelse
ID Fecha Cliente Teléfono Dir. Origen Despacho Modo pago Asignación Conductor Vehiculo Fuente Estado
{{ $servicio->id }} {{ $servicio->fecha }} vale->valera->cuentae->agencia_tercero_TERCERO == 3408 || $servicio->vale->valera->cuentae->agencia_tercero_TERCERO == 15449) class="resaltar-servicio" @endif> {{ $servicio->vale_servicio->vale->valera->cuentae->agencia->NOMBRE }} {{ $servicio->cliente->nombres}} {{ $servicio->cliente->telefono }}
{{ $servicio->direccion }}
@if ($servicio->fechaprogramada == null) Inmediato @else {{$servicio->fechaprogramada}} @endif {{ $servicio->pago }} {{ $servicio->asignacion}} @if ($servicio->cuentac == Null) Sin asignar @else {{ $servicio->cuentac->conductor->NOMBRE}} @endif @if ($servicio->placa == null) Sin asignar @else {{$servicio->placa}} @endif @if ($servicio->users_id != null) @if ($servicio->users_id == 112) IVR @else CRM @endif @else App Usuario @endif {{$servicio->estado}} Detalles
@if ($servicio->pago == "Vale electrónico") @if ($servicio->estadocobro == 0) Horas y Ruta @else Horas y Ruta @endif @endif @if ($servicio->valeav != null && $servicio->fechaprogramada != null) @endif @if ($servicio->valeav == null && $servicio->fechaprogramada != null) @if ($servicio->clientes_id == 21334 && $servicio->ruta != null) @else @endif @endif
No hay datos
@if(method_exists($servicios,'links')) {{ $servicios->links() }} @endif
@endsection @section('modal') @endsection @section('script') @endsection