<?php
ob_start();
require("includes/check_auth_user.php");
require("includes/dbconnect.php");
include('includes/function.php');

$formname = 'Dashboard';
$maindb = '';
$accdb = '';
$billdb = '';

$file = 'default2.php';
$grid = '';
$source = '';
$type = "";
$curdate = date("Y-m-d");
$keyfld = "vouchno";
$trandbexist = 0;
$focusfld = "name";
$printfile = 'cashrecp_fr.php';
//$printfile = 'cashr_voucher.php';
$salelock = $_SESSION["salelock"];

$admin = $_SESSION["admin_" . $dbname];
$zdb = $_SESSION["zdbyear_" . $dbname];
$zyear = right($zdb, 4);
$zStartDate = getzdates($zyear, 'S');
$zEndDate = getzdates($zyear, 'E');
mysqli_select_db($conn, $zdb);
//include("includes/vouchno_generate.php");
//include("includes/prev&next.php");


include("includes/linkshead.php");
?>
<script src="MyScript/default.js" type="text/javascript"></script>
</head>
<body>
    <!--    <div id="preloader" class="col-lg-12 text-center">
            <h3 class="text-center">Loading</h3>
            <div id="status">&nbsp;</div>
        </div>-->
    <form action='' method='POST'>
        <!-- Default box -->
        <div class="row " style="padding: 2%">
            <div class="col-lg-5 col-md-6 col-sm-12 col-xs-12 pad">
                <h4 style="color:blue">Follow Up</h4>
                <div class="table-responsive" style="max-height: 400px;overflow: auto;">
                    <table id="" class="table table-striped table-condensed table-bordered" width="50%">
                        <thead>
                            <tr class="mySearchTr">
                                <th width="5%">Sr.</th>
                                <th width="5%">Code</th>
                                <th width="70%">A/c. Name</th>
                                <th width="20%" class="text-right">Balance</th>
                            </tr>
                        </thead>
                        <tbody class="sTbody">
                        </tbody>
                    </table>
                </div>
            </div>

            <div class="col-lg-1 col-md-1 pad"></div>
            <div class="col-lg-5 col-md-5 col-sm-12 col-xs-12 pad">
                <h4 style="color:   red">Payment Due</h4>
                <div class="table-responsive" style="max-height: 400px;overflow: auto;">
                    <table id="" class="table table-striped table-condensed table-bordered" width="50%">
                        <thead>
                            <tr class="mySearchTr">
                                <th width="5%">Sr.</th>
                                <th width="5%">Code</th>
                                <th width="70%">A/c. Name</th>
                                <th width="20%" class="text-right">Balance</th>
                            </tr>
                        </thead>
                        <tbody class="sTpay">
                        </tbody>
                    </table>
                </div>
            </div>

        </div>
        <div class="row" style="padding: 2%">
            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 pad">

            </div>
            <div class="col-lg-5 col-md-5 col-sm-12 col-xs-12 pad">
                <h4 style="color:green">Supply Block</h4>
                <div class="table-responsive" style="max-height: 400px;overflow: auto;">
                    <table id="" class="table table-striped table-condensed table-bordered" width="50%">
                        <thead>
                            <tr class="mySearchTr">
                                <th width="5%">Sr.</th>
                                <th width="5%">Code</th>
                                <th width="70%">A/c. Name</th>
                                <th width="20%" class="text-right">Balance</th>
                            </tr>
                        </thead>
                        <tbody class="sTsupp">
                        </tbody>
                    </table>
                </div>
            </div>
        </div>

    </form>

    <?php include("includes/linksfoot.php"); ?>
</body>
</html>
