@extends('layouts.merchant-backend-layout') @section('content')

Welcome to Your Dashboard

Total Members: {{count($data['cards'])}}

New Members Joined in the Last 30 Days: {{count($data['customer'])}}

User Image

@if($loyalty->loyalty_type==2) Total Credits Given: @else Total Stamps Given: @endif {{number_format($data['total'])}}

User Image

@if($loyalty->loyalty_type==2) Total Credits Redeemed: @else Total Stamps Redeemed: @endif{{number_format($data['dif'])}}

User Image

Male: {{round($data['ml'])}}%

Female: {{round($data['fm'])}}%

User Image

Below 18 years: {{round($data['a18'])}}%

18-30 years: {{round($data['a30'])}}%

30-45 years: {{round($data['a45'])}}%

Above 45 years: {{round($data['aa'])}}%

User Image

Total Rewards Verified: {{count($data['rewards'])}}

User Image

Top 10 Visitors - upto 31st August,2017

@if(count($totalvisit) == 0)

{{ trans('admin::users.pages.no_record_found') }}

@else @foreach ( $totalvisit as $tot ) @endforeach
Name Mobile Number Total Visits
{{ $tot->Name }} {{ $tot->mobile }} {{ $tot->tw_month }}
@endif

Top 10 Spenders - upto 31st August,2017

@if(count($totalbilling) == 0)

{{ trans('admin::users.pages.no_record_found') }}

@else @foreach ( $totalbilling as $tot1 ) @endforeach
Name Mobile Number Total Spend
{{ $tot1->Name }} {{ $tot1->mobile }} {{ $tot1->tw_month }}
@endif

Upcoming Birthdays of your members in the next 15 days

@if(count($birthday) == 0)

{{ trans('admin::users.pages.no_record_found') }}

@else @foreach ( $birthday as $bir ) @endforeach
Name DOB Email Mobile
{{ $bir->name }} {{ date('jS F', strtotime($bir->dob)) }} {{ $bir->email }} {{ $bir->mobile }}
@endif

Upcoming Anniversaries of your members in the next 15 days

@if(count($anniversary) == 0)

{{ trans('admin::users.pages.no_record_found') }}

@else @foreach ( $anniversary as $aan ) @endforeach
Name DOA Email Mobile
{{ $aan->name }} {{ date('jS F', strtotime($aan->anniversary_date)) }} {{ $aan->email }} {{ $aan->mobile }}
@endif
@section('scripts') @stop @stop