@extends('header') @section('content')
@if (count($paidToDate)) @foreach ($paidToDate as $item) {{ Utils::formatMoney($item->value, $item->currency_id) }}
@endforeach @else {{ Utils::formatMoney(0) }} @endif
{{ trans('texts.in_total_revenue') }}
{{ $billedClients }}
{{ Utils::pluralize('billed_client', $billedClients) }}
{{ $invoicesSent }}
{{ Utils::pluralize('invoice', $invoicesSent) }} {{ trans('texts.sent') }}

 

{{ trans('texts.notifications') }}

    @foreach ($activities as $activity)
  • {{ Utils::timestampToDateString(strtotime($activity->created_at)) }}: {{ Utils::decodeActivity($activity->message) }}
  • @endforeach

{{ trans('texts.invoices_past_due') }}

@foreach ($pastDue as $invoice) @if (!$invoice->client->trashed()) @endif @endforeach
{{ trans('texts.invoice_number_short') }} {{ trans('texts.client') }} {{ trans('texts.due_date') }} {{ trans('texts.balance_due') }}
{{ $invoice->getLink() }} {{ $invoice->client->getDisplayName() }} {{ Utils::fromSqlDate($invoice->due_date) }} {{ Utils::formatMoney($invoice->balance, $invoice->client->currency_id) }}

{{ trans('texts.upcoming_invoices') }}

@foreach ($upcoming as $invoice) @if (!$invoice->client->trashed()) @endif @endforeach
{{ trans('texts.invoice_number_short') }} {{ trans('texts.client') }} {{ trans('texts.due_date') }} {{ trans('texts.balance_due') }}
{{ $invoice->getLink() }} {{ $invoice->client->getDisplayName() }} {{ Utils::fromSqlDate($invoice->due_date) }} {{ Utils::formatMoney($invoice->balance, $invoice->client->currency_id) }}
{{ $activeClients }}
{{ Utils::pluralize('active_client', $activeClients) }}
{{ trans('texts.average_invoice') }}
@foreach ($averageInvoice as $item) {{ Utils::formatMoney($item->invoice_avg, $item->currency_id) }}
@endforeach
@stop