@extends('layouts.gym-merchant.gymbasic') @section('CSS') {!! HTML::style('admin/global/plugins/bootstrap-daterangepicker/daterangepicker.css') !!} {!! HTML::style('admin/global/plugins/bootstrap-select/css/bootstrap-select.min.css') !!} {!! HTML::style('admin/global/plugins/morris/morris.css') !!} @stop @section('content')

Balance Report

This section provides you the report on your income and expense in provided date range

Balance Report
{!! Form::open(['id'=>'balanceReport','class'=>'ajax-form']) !!}
  {{\Carbon\Carbon::now('Asia/Calcutta')->subMonths(6)->toFormattedDateString()}} - {{\Carbon\Carbon::now('Asia/Calcutta')->toFormattedDateString()}}
{!! Form::close() !!}

Total Income

{{ round($income, 2) }}

Total Expense

{{ round($expense, 2) }}
Bar Chart
@stop @section('footer') {!! HTML::script('admin/global/plugins/bootstrap-daterangepicker/moment.min.js') !!} {!! HTML::script('admin/global/plugins/bootstrap-daterangepicker/daterangepicker.js') !!} {!! HTML::script('admin/global/plugins/morris/morris.min.js') !!} {!! HTML::script('admin/global/plugins/morris/raphael-min.js') !!} @stop