@if (app()->getLocale() == 'ar') @include('assets._language_ar') @else @include('assets._language_en') @endif LexPro | Client Statment @include('assets._meta_tags') @include('assets._misc') @include('assets._data_table_styles') @if (app()->getLocale() == 'ar') @include('assets._ar_fonts') @include('assets._main_styles_RTL') @else @include('assets._en_fonts') @include('assets._main_styles_LTR') @endif @php $companyProfile = cache('company_profile'); @endphp @include('assets.dark_mode')
@include('layout._header')
@include('layout._side_bar')

{{ $client->name }}

{{ __('general.report_for_the_finance_statment_at') }} {{ now()->format('F j, Y') }}
{{-- --}}
{{__('general.debit_balance')}}
{{ number_format($debit_balance, 2) }}
{{ $companyProfile->currency}}
{{-- --}}
{{__('general.credit_balance')}}
{{ number_format($credit_balance, 2) }}
{{ $companyProfile->currency}}
{{ __('general.current_balance') }} ({{ $current_balance < 0 ? __('general.debit') : __('general.credit') }})
{{ number_format($current_balance, 2) }}
{{ $companyProfile->currency}}
{{__('general.client_payments')}}
{{ number_format($actually_paid, 2) }}
{{ $companyProfile->currency}}
{{-- @if(! $balance_status )
{{ __('general.balane_error_message') }}
@endif --}}
{{$paymentStatusData['paid']['count']}} {{__('general.paid')}} {{$paymentStatusData['paid']['total']}} {{ $companyProfile->currency}} {{$paymentStatusData['draft']['count']}} {{__('general.draft')}} {{$paymentStatusData['draft']['total']}} {{ $companyProfile->currency}}
{{$invoiceStatusData['paid']['count']}} {{__('general.paid')}} {{$invoiceStatusData['paid']['total']}} {{ $companyProfile->currency}} {{ $invoiceStatusData['unpaid']['count'] }} {{ __('general.unpaid') }} {{ $invoiceStatusData['unpaid']['total'] }} {{$companyProfile->currency}} {{$invoiceStatusData['partially']['count']}} {{__('general.partially')}} {{$invoiceStatusData['partially']['total']}} {{ $companyProfile->currency}} {{ $invoiceStatusData['overdue']['count'] }} {{ __('general.overdue') }} {{ $invoiceStatusData['overdue']['total'] }} {{ $companyProfile->currency}} {{$invoiceStatusData['draft']['count']}} {{__('general.draft')}} {{$invoiceStatusData['draft']['total']}} {{ $companyProfile->currency}}
{{$paymentRequestStatusData['sent']['count']}} {{__('general.sent')}} {{$paymentRequestStatusData['sent']['total']}} {{ $companyProfile->currency}} {{$paymentRequestStatusData['accepted']['count']}} {{__('general.accepted')}} {{$paymentRequestStatusData['accepted']['total']}} {{ $companyProfile->currency}} {{ $paymentRequestStatusData['expired']['count'] }} {{ __('general.expired') }} {{ $paymentRequestStatusData['expired']['total'] }} {{ $companyProfile->currency}} {{ $paymentRequestStatusData['declined']['count'] }} {{ __('general.declined') }} {{ $paymentRequestStatusData['declined']['total'] }} {{ $companyProfile->currency}} {{$paymentRequestStatusData['draft']['count']}} {{__('general.draft')}} {{$paymentRequestStatusData['draft']['total']}} {{ $companyProfile->currency}}
{{$creditNoteStatusData['paid']['count']}} {{__('general.paid')}} {{$creditNoteStatusData['paid']['total']}} {{ $companyProfile->currency}} {{ $creditNoteStatusData['unpaid']['count'] }} {{ __('general.unpaid') }} {{ $creditNoteStatusData['unpaid']['total'] }} {{ $companyProfile->currency}} {{$creditNoteStatusData['partially']['count']}} {{__('general.partially')}} {{$creditNoteStatusData['partially']['total']}} {{ $companyProfile->currency}} {{$creditNoteStatusData['draft']['count']}} {{__('general.draft')}} {{$creditNoteStatusData['draft']['total']}} {{ $companyProfile->currency}}
{{$expenseStatusData['paid']['count']}} {{__('general.paid')}} {{$expenseStatusData['paid']['total']}} {{ $companyProfile->currency}} {{$expenseStatusData['unpaid']['count']}} {{__('general.unpaid')}} {{$expenseStatusData['unpaid']['total']}} {{ $companyProfile->currency}} {{$expenseStatusData['partially']['count']}} {{__('general.partially')}} {{$expenseStatusData['partially']['total']}} {{ $companyProfile->currency}} {{$expenseStatusData['draft']['count']}} {{__('general.draft')}} {{$expenseStatusData['draft']['total']}} {{ $companyProfile->currency}}
{{--

{{ __('general.client_data_summary') }}

{{ __('general.contact_information') }}

{{ __('general.name') }} {{ $client->name }}
{{ __('general.phone') }}
{{ __('general.email') }}
{{ __('general.status') }} {{ ucfirst($client->status) }}

{{ __('general.administrative_information') }}

{{ __('general.tax_number') }} {{ $client->tax_number ?: '-' }}
{{ __('general.poa_number') }} {{ $client->poa_number ?: '-' }}
{{ __('general.poa_expire_date') }} @if($client->poa_expire_date)
{{ \Carbon\Carbon::parse($client->poa_expire_date)->format('M d, Y') }} @if(\Carbon\Carbon::parse($client->poa_expire_date)->isPast()) Expired @endif
@else - @endif
{{ __('general.created_at') }}
{{ \Carbon\Carbon::parse($client->created_at)->format('M d, Y \a\t h:i A') }}
--}}
@include('layout._footer')
@include('layout._side_shortcuts')
@include('layout._scroll_top') @include('assets._main_scripts')