{{-- {{ __('messages.Billing history') }} {{ __('messages.descp_billing_history') }}
{{ __('messages.token changed ok.') }} {{ __('messages.Copied') }} {{ __('messages.Copier ce token') }} {{ __('messages.Changer ce token') }}
--}}

{{ __('messages.Billing history') }}

{{ __('messages.List of paid invoices') }}

{{-- --}}
{{-- @php dd($invoices); @endphp --}} {{-- @foreach($invoices as $invoice) --}} {{-- --}} @foreach ($invoices as $invoice) @endforeach
{{ __('messages.Invoice Number') }} {{ __('messages.Date Issued') }} {{ __('messages.Description')}} {{ __('messages.Amount due') }} {{ __('messages.Status') }}
Invoice Number Date Issued Description Amount due Status
{{ $invoice->id }} {{ date('d M Y H:i:s', $invoice->lines->first()->period->start) }} {{ $invoice->lines->first()->description }} {{ $invoice->amount_due / 100 }} € {{ $invoice->paid ? 'Payé' : 'Non payé' }}