diff --git a/resources/views/portal/ninja2020/dashboard/index.blade.php b/resources/views/portal/ninja2020/dashboard/index.blade.php index 86d689c18de5..452f4f93e285 100644 --- a/resources/views/portal/ninja2020/dashboard/index.blade.php +++ b/resources/views/portal/ninja2020/dashboard/index.blade.php @@ -1,113 +1,94 @@ @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') -
{{ $contact->phone }}
+{{ $client->address1 }}
+{{ $client->city }}, {{ $client->state }}
+{{ $client->postal_code }}
+{{ App\Models\Country::find($client->country_id)?->name }}
+{{ ctrans('texts.total_invoices') }}
+$0
+{{ 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.no_records_found') }}.
- @endforelse - @endif -{{ ctrans('texts.invoice_from') }}
++ {{ $client->company->settings->name }} +
{{ ctrans('texts.no_records_found') }}.
- @endforelse -{{ $client->company->settings->address1 }}
+{{ $client->company->settings->address2 }}
+{{ $client->company->settings->postal_code }}
+{{ App\Models\Country::find($client->company->settings->country_id)?->name }}
+{{ $client->company->settings->email }}
+{{ $client->company->settings->phone }}
+{{ $client->company->settings->website }}