@extends('portal.ninja2020.layout.app') @section('meta_title', ctrans('texts.dashboard')) @section('header') @if(!empty($client->getSetting('custom_message_dashboard'))) @component('portal.ninja2020.components.message') {!! CustomMessage::client($client) ->company($client->company) ->message($client->getSetting('custom_message_dashboard')) !!} @endcomponent @endif @endsection @section('body')

{{ ctrans('texts.hello') }}, {{ $contact->first_name }}

{{ ctrans('texts.paid_to_date') }}
{{ App\Utils\Number::formatMoney($client->paid_to_date, $client) }}
{{ ctrans('texts.open_balance') }}
{{ App\Utils\Number::formatMoney($client->balance, $client) }}

{{ ctrans('texts.group_documents') }}

@if($client->group_settings) @forelse($client->group_settings->documents as $document) {{ Illuminate\Support\Str::limit($document->name, 40) }} @empty

{{ ctrans('texts.no_records_found') }}.

@endforelse @endif

{{ ctrans('texts.default_documents') }}

@forelse($client->company->documents as $document) {{ Illuminate\Support\Str::limit($document->name, 40) }} @empty

{{ ctrans('texts.no_records_found') }}.

@endforelse
@endsection