<?php
session_start();
include './connection_sql.php';
if ($_SESSION["CURRENT_USER"] == "") { 
    exit('Please Logging Again..');
} 
if ($_SESSION['company'] == "") { 
    exit('Please Logging Again..');
} 
?>

<section class="content">
    <div class="box box-primary">
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <div class="box-header with-border">
            <h3 class="box-title">PNL</h3>
        </div>
 
        <form role="form" action="pnl_print.php" target="_blank" method="GET" class="form-horizontal">
            <div class="box-body">

                <div class="form-group">
                    <div class="col-sm-4">
                        <div class="radio">
                            <label>
                                <input type="radio" name="optionsRadios" id="op_statment" value="op_pnl" checked="">
                                Pnl
                            </label>
                        </div>
                        <div class="radio">
                            <label>
                                <input type="radio" name="optionsRadios" id="op_agedet" value="op_pnlnote">
                                Pnl Note
                            </label>
                        </div>

                    </div>
                </div>

                <!--<div class="form-group">-->
                <!--    <div class="col-sm-3">-->
                <!--        <select  id="view" name="view" class="form-control input-sm">-->
                <!--            <option value='view'>View</option>-->
                <!--            <option value='monthly'>Monthly</option> -->
                <!--            <option disabled value='yearly'>Yearly</option>    -->
                <!--        </select>-->
                <!--    </div>-->
                <!--</div>     -->

                <div class="form-group">
                    <label class="col-sm-1 control-label" for="from">From</label> 
                    <div class="col-sm-2">
                        <input type="date" value="<?php echo date('Y-m-d'); ?>" placeholder="From" id="dtfrom" name="dtfrom"  class="form-control  ">
                    </div>
                    <label class="col-sm-1 control-label" for="from">To</label> 
                    <div class="col-sm-2">
                        <input type="date" value="<?php echo date('Y-m-d'); ?>" placeholder="To" id="dtto" name = "dtto" class="form-control  ">
                    </div>
                </div>

                <div class="form-group">

                    <input type="submit" class="btn btn-default fa fa-print" value="View">
                </div>






            </div>
        </form>
    </div>       
</div>
</section>