@extends('layouts.customer-app.basic') @section('title') Fitsigma | Customer Dashboard @endsection @section('CSS') {!! HTML::style('fitsigma_customer/bower_components/morrisjs/morris.css') !!} @endsection @section('content')

Dashboard

Total Subscription

  • {{ $totalSubscriptions }}

Total Amount Paid

  • {{ $totalAmountPaid }}
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
{{ $key+1 }} {{ ucwords($expSubs->first_name.' '.$expSubs->last_name) }} {{ $expSubs->expires_on->format('d M, Y') }}
No subscription expiring.

Payments Chart

@endsection @section('JS') {!! HTML::script('fitsigma_customer/bower_components/raphael/raphael-min.js') !!} {!! HTML::script('fitsigma_customer/bower_components/morrisjs/morris.js') !!} @endsection