@extends('header')
{{ trans('texts.account_dashboard') }}
{{ HTML::image($account->getLogoPath(), "Logo") }}  

@section('content')
{{ trans('texts.total_outstading') }}
{{ trans('texts.caps_invoice') }}
{{ $totalIncome }}
Across all clients
{{trans('texts.accounts_aging')}}
{{$totalThirtyDayInvoice}} {{trans('texts.0_30_days_old')}}
{{$totalThirtyToSixtyDay}} {{trans('texts.31_60_days_old')}}
{{$totalSixtyToNintyDay}} {{trans('texts.61_90_days_old')}}
{{$totalNintyAndAboveDay}} {{trans('texts.91_aboue_days_old')}}

 

{{ 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
{{ $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') }}

{{ $yearValue }}
Across all clients
Month Year Week
@stop