Izvještaj generiranja računa

Datum generiranja: {{ now()->format('d.m.Y H:i') }}
@if(!empty($account)) Račun: {{ $account }}
@endif Ukupno obrađenih ugovora: {{ $total ?? 0 }}
Uspješno generiranih: {{ $generated ?? 0 }}
@if(!empty($errors)) Greške: {{ count($errors) }} @endif
@if(!empty($invoices) && count($invoices) > 0)

Generirani računi

@foreach($invoices as $inv) @endforeach
Klijent Ugovor Račun br. Iznos
{{ $inv['customer_name'] ?? '—' }} {{ $inv['contract_no'] ?? '—' }} {{ $inv['invoice_number'] ?? '—' }} {{ number_format($inv['amount'] ?? 0, 2, ',', '.') }} EUR
@endif @if(!empty($errors) && count($errors) > 0)

Greške

@foreach($errors as $err) @endforeach
Ugovor Greška
{{ $err['contract_no'] ?? '—' }} {{ $err['message'] ?? '—' }}
@endif