@extends('header') @section('content')
{{ $totalIncome }}
{{ 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) @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) @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') }}
{{ $invoiceAvg }}
@stop