{{ config('app.name') }}
Unit 4e Enterprise Court, Farfield Park
S63 5DB
Rotherham
United Kingdom

Invoice {{ $year }}-{{ $month }}

Generated at: {{ Carbon\Carbon::today() }}


@foreach($logs as $log) @endforeach
ID Name of item Price
{{ $loop->iteration }} {{ $log['name'] }} {{ $log['price'] }} {{ $log['currency'] }}


Total:

{{ $logs->where('currency', 'USD')->sum('price') }} USD | {{ $logs->where('currency', 'EUR')->sum('price') }} EUR