@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.alert') }} {{ trans('texts.view_all') }}

    {{$oddLoop = false;}} @foreach ($activities as $activity) @if($oddLoop=!$oddLoop)
  • {{ Utils::timestampToDateString(strtotime($activity->created_at)) }}: {{ Utils::decodeActivity($activity->message) }}
  • @else
  • {{ Utils::timestampToDateString(strtotime($activity->created_at)) }}: {{ Utils::decodeActivity($activity->message) }}
  • @endif @endforeach

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

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

 

 

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

{{ trans('texts.client') }} {{ trans('texts.invoice_number_short') }} {{ trans('texts.balance') }} {{ trans('texts.due_date') }}
@foreach ($pastDue as $invoice) @endforeach
ads sdfds sdf sdfs
ads sdfds sdf sdfs
ads sdfds sdf sdfs
ads sdfds sdf sdfs
ads sdfds sdf sdfs
ads sdfds sdf sdfs
ads sdfds sdf sdfs
ads sdfds sdf sdfs
ads sdfds sdf sdfs
{{ $invoice->client->getDisplayName() }} {{ $invoice->getLink() }} {{ Utils::formatMoney($invoice->balance, $invoice->client->currency_id) }} {{ Utils::fromSqlDate($invoice->due_date) }}

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

{{ $activeClients }}

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

{{ $invoiceAvg }}
@stop