@extends('layouts.app') @section('content') @php $spanish_status = [ 'active' => 'Activo', 'completed' => 'Completado', 'canceled' => 'Cancelado', ]; $spanish_timetypes = [ 'days' => 'Dias', 'weeks' => 'Semanas', 'months' => 'Meses', ]; @endphp
Cliente | Orden | Servicio | Título | Descripción | Próxima Fecha | Rango | Estado | Acciones |
---|---|---|---|---|---|---|---|---|
{{ $tracking->customer->name ?? '-' }} | {{ $tracking->order->folio ?? '-' }} | {{ $tracking->service->name ?? '-' }} | {{ $tracking->title }} | {{ Str::limit($tracking->description, 100) }} | {{ $tracking->next_date }} | @if($range && $range->frequency && $range->frequency_type && isset($spanish_timetypes[$range->frequency_type])) Cada {{ $range->frequency }} {{ $spanish_timetypes[$range->frequency_type] }} @else - @endif | {{ $spanish_status[$tracking->status] }} |