@extends('template') @section('title', 'Categorias') @push('css') @endpush @section('content') @if(session('success')) @endif
| Seleccionar | Servicio | Correlativo | Razon Social | Situación | Boleta | Fecha de Emisión | Entrega el | Fecha Salida | Total | ID-guia |
|---|---|---|---|---|---|---|---|---|---|---|
|
|
{{$item->servicio}} | {{$item->numero_comprobante}} | {{$item->apellidoynombre}} | @php $estado = strtolower(trim($item->estadop)); $clase = match($estado) { 'impreso/atendido' => 'bg-warning text-dark', // 🟠 naranja 'entregado' => 'bg-info text-white', // 🔵 celeste 'facturado' => 'bg-success text-white', // 🟢 verde 'anulado' => 'bg-danger text-white', // 🔴 rojo default => 'bg-secondary text-white' }; @endphp {{ $item->estadop }} @if($item->estadop === 'facturado' && $item->tiene_comprobante) @endif | {{ $item->boleta ?? '-' }} | {{ \Carbon\Carbon::parse($item->created_at)->format('d/m/Y H:i') }} | {{ \Carbon\Carbon::parse($item->fecha_promesa)->format('d/m/Y') }} | {{ $item->fecha_mostrar ? \Carbon\Carbon::parse($item->fecha_mostrar)->format('d/m/Y H:i') : '-' }} | {{$item->total}} | {{$item->id}} |