@extends('layouts.logeado') @section('style') @endsection @if (isset($filtro)) @section('sub_title', 'Servicios Finalizados. Filtro: ' . $filtro) @else @section('sub_title', 'Servicios Finalizados') @endif @section('sub_content')
Exportar:
ID | Fecha | Cliente | Unidades/Valor | Dir. Origen | Despacho | Modo pago | Asignación | Conductor | Vehiculo | Fuente | Estado | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@if (!empty($c1)) @else @endif | @if (!empty($c2)) @else @endif | @if (!empty($c3)) @else @endif | @if (!empty($c5)) @else @endif | @if (!empty($c6)) @if ($c6 == "inmediato") @else @endif @else @endif | @if (!empty($c7)) @else @endif | @if (!empty($c8)) @else @endif | @if (!empty($c9)) @else @endif | @if (!empty($c10)) @else @endif | |||||
{{ $servicio->id }} | {{ $servicio->fecha }} | @if ($servicio->vale != null){{ $servicio->vale_servicio->vale->valera->cuentae->agencia->NOMBRE }} | @else{{ $servicio->cliente->nombres}} | @endif@if ($servicio->valor != null) {{ $servicio->unidades}} - ${{number_format($servicio->valor)}} @endif | {{ $servicio->direccion }} | @if ($servicio->fechaprogramada == null) Inmediato @else Programado @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 ($usuario->roles_id == 1 || $usuario->modulos[0]->pivot->editar == 1) Novedades @if ($servicio->estado == "Cancelado") @if ($usuario->roles_id == 1) @else @php $fecha = Carbon\Carbon::now(); @endphp @if ($servicio->cancelacion != null) @if ($fecha->diffInMinutes($servicio->cancelacion->fecha) < 21334) @endif @endif @endif @endif @if ($servicio->clientes_id == 21334 && $servicio->estado == "Finalizado" && $servicio->ruta != null) @endif @if ($servicio->clientes_id == 21334 && $servicio->estado <> "Finalizado" && $servicio->ruta != null) @endif @if ($servicio->estado == "No vehiculo" || $servicio->estado == "Cancelado" || $servicio->estado == "Cancelado devuelto") Duplicar @endif @endif |
No hay datos |