@extends('layouts.admin') @section('title', 'Transações Financeiras') @section('breadcrumb') @endsection @push('styles') @endpush @section('content')
{{-- Totais --}}| # | Descrição | Reserva | Data/Hora | Tipo | Valor |
|---|---|---|---|---|---|
| {{ $t->id }} |
{{ $t->description }}
@if($t->notes){{ $t->notes }} @endif
|
@if($t->reservation)
{{ $t->reservation->locator }}
{{ $t->reservation->guest?->full_name }}
@else—@endif
|
{{ $t->transacted_at->format('d/m/Y') }}
{{ $t->transacted_at->format('H:i') }}
|
{{ $t->type === 'credit' ? '▲ Entrada' : '▼ Saída' }} | {{ $t->type === 'credit' ? '+' : '-' }}R$ {{ number_format((float)$t->amount, 2, ',', '.') }} |
| Nenhuma transação encontrada. | |||||