@extends('layouts.gym-merchant.gymbasic') @section('CSS') @stop @section('content')
@if($completedItems < $completedItemsRequired) {{-- Account setup progress start --}} @if($completedItems == 1)
@else
@endif @if($completedItems > 1)
Account Setup Progress {{ round($completedItems*(100/$completedItemsRequired),1) }}% COMPLETE
@if($completedItems > 1)
{{ ($completedItems*(100/$completedItemsRequired)) }}% Complete
@endif @if(trim($user->first_name) == "" || trim($user->last_name) == "" || trim($user->mobile) == "") @elseif(count($memberships) == 0)
Next Step: Add Membership
@elseif(count($clients) == 0) @elseif(count($subscriptions) == 0) @elseif(count($payments) == 0)
Next Step: Add Payment
@endif
@endif {{-- Account setup progress end --}} @else @if($user->can('view_dashboard'))

Total Earning

{{ $gymSettings->currency->acronym }} 0

Weekly Earning

{{ $gymSettings->currency->acronym }} 0

Biggest Purchase

{{ $gymSettings->currency->acronym }} 0

Average Monthly

{{ $gymSettings->currency->acronym }} 0
0
Total Customers
0
Customers This Month
0
Visitors This Month
0
Today's Check Ins
@if(count($targets) > 0)
My Targets
@forelse($targets as $target)
{{$target['percent']}}% Complete
@empty
You don't have any target yet.
Create A Target @endforelse
@endif
@if($common_details->huntplex_listing == 'yes')
Monthly Business Views
@endif
Sales By Memberships
Finance
Due Payments
@forelse($duePayments as $key=>$payment) @empty @endforelse
# Name Due Amount Due Date
{{ $key+1 }} {{ ucwords($payment->first_name.' '.$payment->last_name) }} {{ $payment->amount_to_be_paid - $payment->paid }} {{ \Carbon\Carbon::createFromFormat('Y-m-d', $payment->due_date)->toFormattedDateString() }}
No due payments.
Subscriptions Expiring in next 45 days
@forelse($expiringSubscriptions as $key=>$expSubs) @empty @endforelse
# Client Name Expiring on Action
{{ $key+1 }} {{ ucwords($expSubs->first_name.' '.$expSubs->last_name) }} {{ $expSubs->expires_on->format('d M, Y') }}
No subscription expiring.
Recent Customers
@foreach($recentClients as $client)
{{$client->created_at->diffForHumans(\Carbon\Carbon::now('Asia/Calcutta'))}}
@if($client->image != '') @if($gymSettings->local_storage == '0') @else @endif @else @endif

{{$client->first_name}} {{$client->last_name}}

@endforeach
Notifications
    @foreach($notis as $noti) @if($noti->read_status =='unread')
  • {{$noti->title}}
    {{$noti->created_at->diffForHumans(\Carbon\Carbon::now('Asia/Calcutta'))}}
  • @endif @endforeach
    @foreach($notis as $noti) @if($noti->read_status =='read')
  • {{$noti->title}}
    {{$noti->created_at->diffForHumans(\Carbon\Carbon::now('Asia/Calcutta'))}}
  • @endif @endforeach
@endif @endif
{{--Model--}} {{--Model End--}} @stop @section('footer') {!! HTML::script('admin/global/plugins/counterup/jquery.counterup.js') !!} {!! HTML::script('admin/global/plugins/counterup/jquery.waypoints.min.js') !!} {!! HTML::script('admin/global/plugins/morris/morris.min.js') !!} {!! HTML::script('admin/global/plugins/amcharts/amcharts/amcharts.js') !!} {!! HTML::script('admin/global/plugins/amcharts/amcharts/serial.js') !!} {!! HTML::script('admin/global/plugins/amcharts/amcharts/pie.js') !!} {!! HTML::script('admin/global/plugins/amcharts/amcharts/themes/light.js') !!} {!! HTML::script('admin/pages/scripts/dashboard.js') !!} @stop