@extends('header') @section('content')
 }}) 
  
                 }}) 
  
                 }}) 
  
                
| {{ trans('texts.invoice_number_short') }} | {{ trans('texts.client') }} | {{ trans('texts.payment_date') }} | {{ trans('texts.amount') }}@foreach ($payments as $payment) | 
|---|---|---|---|
| {!! \App\Models\Invoice::calcLink($payment) !!} | {!! link_to('/clients/'.$payment->client_public_id, trim($payment->client_name) ?: (trim($payment->first_name . ' ' . $payment->last_name) ?: $payment->email)) !!} | {{ Utils::fromSqlDate($payment->payment_date) }} | {{ Utils::formatMoney($payment->amount, $payment->currency_id ?: ($account->currency_id ?: DEFAULT_CURRENCY)) }} | 
| {{ trans('texts.invoice_number_short') }} | {{ trans('texts.client') }} | {{ trans('texts.due_date') }} | {{ trans('texts.balance_due') }}@foreach ($pastDue as $invoice) | 
|---|---|---|---|
| {!! \App\Models\Invoice::calcLink($invoice) !!} | {!! link_to('/clients/'.$invoice->client_public_id, trim($invoice->client_name) ?: (trim($invoice->first_name . ' ' . $invoice->last_name) ?: $invoice->email)) !!} | {{ Utils::fromSqlDate($invoice->due_date) }} | {{ Utils::formatMoney($invoice->balance, $invoice->currency_id ?: ($account->currency_id ?: DEFAULT_CURRENCY)) }} | 
| {{ trans('texts.invoice_number_short') }} | {{ trans('texts.client') }} | {{ trans('texts.due_date') }} | {{ trans('texts.balance_due') }}@foreach ($upcoming as $invoice) | 
|---|---|---|---|
| {!! \App\Models\Invoice::calcLink($invoice) !!} | {!! link_to('/clients/'.$invoice->client_public_id, trim($invoice->client_name) ?: (trim($invoice->first_name . ' ' . $invoice->last_name) ?: $invoice->email)) !!} | {{ Utils::fromSqlDate($invoice->due_date) }} | {{ Utils::formatMoney($invoice->balance, $invoice->currency_id ?: ($account->currency_id ?: DEFAULT_CURRENCY)) }} |