@extends('layouts.master_partner') @section('title') Dashboard @endsection @section('dashboard') active @endsection @section('content')
Total Customers
{{ $totalCustomer }}
Total Orders
{{ $totalOrder }}
Total Earnings
{{ config('innoplore.currency').$totalEarning }}
Total Paid
{{ config('innoplore.currency').($totalEarning - $totalBalance) }}
Balance
{{ config('innoplore.currency').$totalBalance }}

Latest Customers

@forelse($customers as $customer) @if ($loop->iteration > 5) @break @endif @empty @endforelse
# Name Email City ORDERS
{{ $loop->iteration }} {{ $customer->name }} {{ $customer->email }} @if($customer->cityName) {{ $customer->cityName->name }} @endif {{ $customer->subscriptions->count() }}
No Customer

Latest Transaction

@forelse($wallets as $wallet) @if ($loop->iteration > 5) @break @endif @if($wallet->amount > 0) @else @endif @empty @endforelse
# Amount Type Date
{{ $loop->iteration }} {{ config('innoplore.currency').$wallet->amount }} {{ $wallet->type }} {{ $wallet->created_at->format("j M Y") }}
No Transaction
@endsection