@extends('layouts.app') @section('content')

Invoices for account: {{ $account->account_name }}

@forelse ($invoices as $invoice) @empty @endforelse
Invoice ID MT4 Account ID Amount Status Date Created
#{{ $invoice->invoice_id }} {{ $invoice->account->mt4_id }} {{ $settings->currency }}{{ number_format($invoice->amount) }} @if ($invoice->status == 'paid') {{ $invoice->status }} @endif @if ($invoice->status == 'Unpaid') {{ $invoice->status }} @endif @if ($invoice->status == 'Created') {{ $invoice->status }} @endif {{ $invoice->created_at->format('M d Y') }}
No Data Available
{{ $invoices->links() }}
@endsection