@extends('layouts.admin') @section('title') Dashboard @endsection @section('content')
@lang('admin.dashboard.today_inbox')
{{$newMessageCount}}
@lang('admin.dashboard.today_sent')
{{$newMessageCount}}
@lang('admin.dashboard.total_inbox')
{{$totalInbox}}
@lang('admin.dashboard.total_sent')
{{$totalSent}}
@if (isset($latest_customers) && $latest_customers)

@lang('admin.new_customers')

@foreach ($latest_customers as $latest_customer) @endforeach
@lang('admin.profile_pichter') @lang('admin.customer_info') @lang('admin.status')
profile_picture) }}" alt="" >
{{ $latest_customer->fullname }}
{{ $latest_customer->email }}
@if ($latest_customer->status == 'Active') {{ $latest_customer->status }} @else {{ $latest_customer->status }} @endif
@endif
@if (isset($transactions) && $transactions)

@lang('admin.latest_transaction')

@foreach ($transactions as $transaction) @endforeach
@lang('admin.customer_details') @lang('admin.plan_name') @lang('admin.plan_price') @lang('admin.type')
{{ $transaction->customer->fullname }}
{{ $transaction->customer->email }}
{{ $transaction->plan->title }}
{{ $transaction->price }}
{{ $transaction->recurring_type }}
@endif
@endsection @section('extra-scripts') {{-- --}} @endsection