@extends('layouts.master')
  @section('page_title')
      @if(isset($page_title))
          {{ $page_title }}
      @endif
  @endsection
@section('css')
<link href="{!! url('public/assets/vendors/tabulator/css/bootstrap/tabulator_bootstrap.css') !!}" type="text/css" rel="stylesheet">
@endsection
@section('content')
  <div class="">
      <div class="page-title">
        <div class="title_left">
          <div class="title_left">
            <ol class="breadcrumb">
              <li><a href="{!! url('dashboard') !!}">Dashboard</a></li>
              <li class="active">Reports</li>
            </ol>
          </div>
        </div>

        <div class="title_right">
          <div class="row">
            <form method="GET" action="{!! url('generaldocuments') !!}">
              <div class="col-md-5 col-sm-5 col-xs-12 form-group">
                <div style="margin-top:1px; margin-right:-90px;" class="top_search">
                </div>
              </div>
              <div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search" style="margin-top: -2px;">
                <div class="input-group">
                  <input type="text" name="keyword" class="form-control" id="keywordField" placeholder="Keyword here...">
                  <span class="input-group-btn">
                    <button type="submit" class="btn btn-primary" style="color: #fff;" type="button">Go!</button>
                  </span>
                </div>
              </div>
            </form>
          </div>
          <div class="row">
              <div class="col-sm-12">
              <div class="pull-right"></div>
              </div>
          </div>
        </div>
      </div>

      <div class="clearfix"></div>
      <div class="row">
        @include('commons.notifications')
        <div class="col-md-12 col-sm-12 col-xs-12">
        <div class="x_panel">
          <div class="x_title">
            <h2> All Reports </h2>
            <div class="clearfix"></div>
          </div>

          <div class="x_content">
            <div class="row tile_count">
              
              <h3 class="green">Reports Overview</h3>
              <div class="col-md-2 col-sm-4 col-xs-6 tile_stats_count">
                <span class="count_top"><i class="fa fa-list"></i> 
                  <a href="{!! url('reports/recentclients') !!}">Recent Clients</a>
                </span>               

                <div class="count green">
                  <a href="">
                    <img src="{{ url('public/assets/img/report-icon.png') }}" width="40px"></a>
                  <a href="{!! url('reports/recentclients') !!}"> 400</a>                  
                </div>
                <!-- <span class="count_bottom"><i class="green">4% </i> From last Week</span> -->
              </div>
              <div class="col-md-2 col-sm-4 col-xs-6 tile_stats_count">
                <span class="count_top"><i class="fa fa-list"></i> 
                  <a href="{!! url('reports/clientsbyservice') !!}">VAS Clients</a>
                </span>               

                <div class="count green">
                  <a href="">
                    <img src="{{ url('public/assets/img/report-icon.png') }}" width="40px"></a>
                    <a href="{!! url('reports/clientsbyservice') !!}"> 923</a>                  
                </div>
              </div>

              <div class="col-md-2 col-sm-4 col-xs-6 tile_stats_count">
                <span class="count_top"><i class="fa fa-list"></i> 
                  <a href="{!! url('clientpaymentreports') !!}">Client Payments</a>
                </span>               

                <div class="count green">
                  <a href="">
                    <img src="{{ url('public/assets/img/report-icon.png') }}" width="40px"></a>
                  <a href="{!! url('clientpaymentreports') !!}"> 6,123</a>                  
                </div>
                <!-- <span class="count_bottom"><i class="green">4% </i> From last Week</span> -->
              </div>
               <div class="col-md-2 col-sm-4 col-xs-6 tile_stats_count">
                <span class="count_top"><i class="fa fa-list"></i> 
                  <a href="{!! url('clientpaymentreports') !!}">MNO Payments</a>
                </span>               

                <div class="count green">
                  <a href="{!! url('mnopaymentreports') !!}">
                    <img src="" width="40px"></a>
                  <a href="{!! url('mnopaymentreports') !!}"> 8,103</a>                  
                </div>
              </div>
              <div class="col-md-2 col-sm-4 col-xs-6 tile_stats_count">
                <span class="count_top"><i class="fa fa-list"></i> 
                  <a href="{!! url('clientpaymentreports') !!}">User Activities</a>
                </span>               

                <div class="count green">
                  <a href="{!! url('mnopaymentreports') !!}">
                    <img src="{{ url('public/assets/img/report-icon.png') }}" width="40px"></a>
                  <a href="{!! url('reports/useractivities') !!}"> 2,323</a>                  
                </div>
                <!-- <span class="count_bottom"><i class="green">4% </i> From last Week</span> -->
              </div>
            </div>   
            <div class="row">
              <div class="col-md-12" style="margin-top: 50px;">
                <!-- <a href="{!! url('generaldocuments/create') !!}" class="btn btn-primary btn-lg btn-block"> <i class="fa fa-cloud-upload"></i> Upload New Documents</a> -->
              </div>
            </div>                      
          </div> 

        </div>
      </div>
    </div>
</div>

@endsection

@section('javascript')
<script type="text/javascript">
  $(document).ready(function(){
    
   
    
  });

</script>
@endsection
