@extends('layouts.admin') @section('title', 'Reservas') @section('content') {{-- FILTROS --}}
| # | Veículo | Cliente | Período | Valor | Status | Ação |
|---|---|---|---|---|---|---|
| {{ $r->id }} |
{{ $r->veiculo->marca }} {{ $r->veiculo->modelo }} {{ $r->veiculo->ano }} |
{{ $r->cliente->nome }} {{ $r->cliente->telefone }} |
{{ \Carbon\Carbon::parse($r->data_inicio)->format('d/m/Y') }} {{ \Carbon\Carbon::parse($r->data_fim)->format('d/m/Y') }} {{ $r->tipo_periodo_label }} |
@if($r->valor_total) R$ {{ number_format($r->valor_total, 2, ',', '.') }} @else — @endif | {{ $r->status_label }} | Ver detalhes |
| Nenhuma reserva encontrada. | ||||||