<?php include("includes/db_config.php"); ?>

 <!DOCTYPE html>
<html lang="en" dir="ltr" data-theme="light">
<meta http-equiv="content-type" content="text/html;charset=utf-8" />

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <?php include("includes/css.php");?>
    <style>
        .modal-body .form-label{font-weight:600;}.mt-35{margin-top:35px!important}.viewptdt .form-label{font-weight:600;}.viewptdt label{margin-top:10px;}.portlet-titles{padding: 15px 20px;font-size: 20px;border-radius: 10px;}.portlet-titles-icon{font-size: 40px;text-align: center}.srchdt label{font-weight: 600;font-size: 14px;margin-top: 10px;}
    </style>
</head>

<body class="preload-active aside-active aside-mobile-minimized aside-desktop-maximized">
    <div class="holder">
        <?php include("includes/sidebar.php");?>
        <div class="wrapper">
            <?php include("includes/header.php");?>
            <div class="content">
                <div class="container-fluid g-5">                    
                    <div class="row">
                         <div class="col-12">
                            <div class="portlet">
                                <div class="portlet-header portlet-header-bordered">
                                    <div class="col-md-12">
                                        <h3 class="portlet-title">Sale Purchase By Party</h3>
                                    </div>
                                    
                                 </div>
                                <div class="row srchdt">  
                                     <div class="col-md-2 col-12 col-xs-12" style="margin-left:15px;">
                                         <label><b>From</b></label>
                                       <input type="date" class="form-control">
                                    </div>
                                    <div class="col-md-2 col-12 col-xs-12">
                                        <label><b>To</b></label>
                                       <input type="date" class="form-control">
                                    </div>
                                    <div class="col-md-2 col-12 col-xs-12"> 
                                       <input type="submit" class="btn btn-success btn-lg mt-35" value="Submit">
                                    </div>
                                    </div>  
                                   <div class="portlet-body table-responsive">
                                    <table id="datatable-1" class="table table-bordered table-striped table-hover">
                                        <thead>
                                             <tr>
                                                <th>#</th>
                                                 <th>Party Name</th>
                                                 <th>Sale Amount</th>
                                                 <th>Purchase Amount</th>
                                             </tr>
                                        </thead>
                                        <tbody> 
                                            <tr>
                                                <td>1.</td> 
                                                <td>Raj Kumar</td>
                                                 <td>₹ 1200.00</td>
                                                 <td>₹ 10800.00</td> 
                                             </tr> 
                                            <tr>
                                                <td>2.</td> 
                                                <td>Shivam Enterprises</td>
                                                 <td>₹ 160.00</td> 
                                                <td>-</td> 
                                            </tr>  
                                            <tr>
                                                <td>3.</td> 
                                                <td>Mohan Enterprises</td>
                                                <td>-</td>  
                                                 <td>₹ 7280.00</td>
                                             </tr>  
                                         </tbody>
                                        <tfoot>
                                        <tr>
                                            <th colspan="2"><b>Total Sale Amount : ₹ 1360.00</b></th>
                                            <th colspan="2"><b>Total Purchase Amount : ₹ 18080.00</b></th> 
                                            </tr>
                                        </tfoot>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>       
           
            <?php include("includes/footer.php");?>
        </div>
    </div>
    <?php include("includes/js.php");?>
 
</body>
</html>