@extends('layouts.app')
@section('pageTitle', 'Home')
@section('content')
<?php use App\Http\Controllers\ConfigController; ?>
<div class="container">
    <div class="row justify-content-center">
        <div class="col-md-12">


            <!-- Page Heading -->
            <div class="d-sm-flex align-items-center justify-content-between mb-4">
                <h1 class="h3 mb-0 text-gray-800"><i class="fas fa-fw fa-tachometer-alt"></i> Today's Tally </h1>
            </div>

                    <hr>
                    <div class="row">
                        <!-- Earnings (Monthly) Card Example -->
                        <div class="col-xl-3 col-md-6 mb-4">
                          <div class="card border-left-primary shadow h-100 py-2">
                            <div class="card-body">
                              <div class="row no-gutters align-items-center">
                                <div class="col mr-2">
                                  <div class="text-xs font-weight-bold text-primary text-uppercase mb-1">Normal Invoices</div>
                                  <div class="h5 mb-0 font-weight-bold text-gray-800">$ {{$invoice_nm_total}} FJD</div>
                                </div>
                                <div class="col-auto">
                                  <i class="fas fa-dollar-sign fa-2x text-gray-300"></i>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>

                        <!-- Earnings (Monthly) Card Example -->
                        <div class="col-xl-3 col-md-6 mb-4">
                          <div class="card border-left-success shadow h-100 py-2">
                            <div class="card-body">
                              <div class="row no-gutters align-items-center">
                                <div class="col mr-2">
                                  <div class="text-xs font-weight-bold text-success text-uppercase mb-1">Clients Owes(NM)</div>
                                  <div class="h5 mb-0 font-weight-bold text-gray-800">$ {{$transactions_amount}} FJD</div>
                                </div>
                                <div class="col-auto">
                                  <i class="fab fa-gg fa-2x text-gray-300"></i>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>

                        <!-- Earnings (Monthly) Card Example -->
                        <div class="col-xl-3 col-md-6 mb-4">
                          <div class="card border-left-info shadow h-100 py-2">
                            <div class="card-body">
                              <div class="row no-gutters align-items-center">
                                <div class="col mr-2">
                                  <div class="text-xs font-weight-bold text-info text-uppercase mb-1">Training Invoices</div>
                                  <div class="h5 mb-0 font-weight-bold text-gray-800">$ {{$invoice_tr_total}} FJD</div>
                                </div>
                                <div class="col-auto">
                                  <i class="fas fa-file-invoice-dollar fa-2x text-gray-300"></i>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>

                        <!-- Pending Requests Card Example -->
                        <div class="col-xl-3 col-md-6 mb-4">
                          <div class="card border-left-warning shadow h-100 py-2">
                            <div class="card-body">
                              <div class="row no-gutters align-items-center">
                                <div class="col mr-2">
                                  <div class="text-xs font-weight-bold text-warning text-uppercase mb-1">Clients Owes(TR)</div>
                                  <div class="h5 mb-0 font-weight-bold text-gray-800">$ {{$transactions_tr_amount}} FJD</div>
                                </div>
                                <div class="col-auto">
                                  <i class="fab fa-gg-circle fa-2x text-gray-300"></i>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>


                    </div>

                    <br>
                 
                </div>
            </div>
        </div>
    </div>
</div>
@endsection
