@extends('layouts.app') @section('content')
| # | Cliente | Fecha | Estado | Total |
|---|---|---|---|---|
| #{{ $quote->id }} | {{ $quote->customer->name ?? '—' }} | {{ $quote->created_at->format('d/m/Y H:i') }} | @php $status = $quote->status; $badgeClass = match ($status) { 'Pagada' => 'bg-success', 'Pendiente' => 'bg-warning', 'Cancelada' => 'bg-danger', default => 'bg-secondary', }; @endphp {{ $status }} | ${{ number_format($quote->total, 2) }} |
| No hay cotizaciones en el periodo seleccionado. | ||||