@extends('front.practitioner.import.template.import') @section('content')
@include('front.inner-layout.sidebar')
{{-- --}}
Total revenue @if(isset($totalRevenue ))

${{ number_format($totalRevenue, 2) }}

@endif
cpurse
Pending payments @if(isset($pendingPayments ))

${{ number_format($pendingPayments, 2) }}

@endif
cpurse
Total subscribers @if(isset($totalSubscribers ))

{{ $totalSubscribers ?? 0 }}

@endif
cpurse
Active subscribers @if(isset($activeSubscribers ))

{{ $activeSubscribers ?? 0 }}

@endif
cpurse
@if(count($paymentPlansData) > 0) @foreach($paymentPlansData as $data) @endforeach @else @endif
Start date Client name Plan name End date Plan total Amount paid Next payment Balance Status
{{ $data->startDate ?? '' }} {{ ucwords( $data->client_name ) }} {{ $data->plan_name ?? '' }} {{ $data->end_emi_date ? \Carbon\Carbon::parse($data->end_emi_date)->format('d/m/Y') : '-'}} ${{ $data->payment_plan_total_cost ?? 0.00 }} ${{ $data->amount_paid ?? 0.00 }} @if($data->purchase_plan_mode === 'manual') Manual @else {{ $data->next_emi_date ? \Carbon\Carbon::parse($data->next_emi_date)->format('d/m/Y') : '-' }} @endif ${{ $data->account_balance ?? 0.00}} {{ ucfirst($data->status ?? '') }}
No active payment plans
@if($totalRecords > 25) @endif
@endsection @section('css') @endsection @section('css') @endsection @section('import-scripts') @endsection