@extends('layouts.user.dashb4') @section('content')

Unpaid Invoices


Amount: {!! $unpaidAmount !!}

@foreach($unpaid as $un) @endforeach()
Invoice Id Amount Due Date
{{ $un->invoice_id }} {{ $un->amount }} {{ $un->due_date }}
{{ $unpaid->links() }}

Paid Invoices


Amount: {!! $paidAmount !!}

@foreach($paid as $p) @endforeach
Invoice Id Amount Due Date
{{ $p->invoice_id }} {{ $p->amount }} {{ $p->due_date }}
{{ $paid->links() }}

Late Invoices

@foreach($late as $l) @endforeach
Invoice Id Amount Due Date
{{ $l->invoice_id }} {{ $l->amount }} {{ $l->due_date }}
{{ $late->links() }}

Deferred Invoices

@foreach($deferred as $d) @endforeach
Invoice Id Amount Due Date
{{ $d->invoice_id }} {{ $d->amount }} {{ $d->due_date }}
{{ $deferred->links() }}
@endsection