@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')
Total Subscription
- {{ $totalSubscriptions }}
# |
Name |
Due Amount |
Due Date |
@forelse($duePayments as $key=>$payment)
{{ $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() }}
|
@empty
No due payments. |
@endforelse
Subscriptions Expiring in next 45 days
# |
Client Name |
Expiring on |
@forelse($expiringSubscriptions as $key=>$expSubs)
{{ $key+1 }} |
{{ ucwords($expSubs->first_name.' '.$expSubs->last_name) }} |
{{ $expSubs->expires_on->format('d M, Y') }}
|
@empty
|
|
No subscription expiring. |
|
@endforelse
@endsection
@section('JS')
{!! HTML::script('fitsigma_customer/bower_components/raphael/raphael-min.js') !!}
{!! HTML::script('fitsigma_customer/bower_components/morrisjs/morris.js') !!}
@endsection