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

$formname = "Challan Print";
$action = "deliverychal_pdf.php";

$admin = $_SESSION["admin_" . $dbname];
$zdb = $_SESSION["zdbyear_" . $dbname];
$myyear = $_SESSION[$myyear];
mysqli_select_db($conn, $zdb);
$vouchno = $_REQUEST["vouchno"];
include("includes/linkshead.php");
?>
<!--<script src="MyScript/item.js" type="text/javascript"></script>-->
</head>
<body>
    <form method='POST' action="<?= $action; ?>">
        <!-- Default box -->
        <div>
            <div class="col-lg-4 col-md-12 col-sm-12 col-xs-12  pad">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title"><?php Echo $formname; ?></h3>
                    </div>
                    <div class="panel-body">
                        
                        <div class="row">
                            <div class="col-lg-5 col-md-3 col-sm-3 col-xs-3 text-right pad">
                                <label class="label-control marg">Input</label>
                            </div>
                            <div class="col-lg-2 col-md-6 col-sm-6 col-xs-6 pad">
                                <input type="text" class="form-control input" name="input" >
                                <input type="hidden" class="form-control input" name="vouchno" value="<?=$vouchno?>">
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-lg-5 col-md-3 col-sm-3 col-xs-3 text-right pad">
                                <label class="label-control marg">Print Balance Payment</label>
                            </div>
                            <div class="col-lg-2 col-md-6 col-sm-6 col-xs-6 pad">
                            <input type="checkbox"  class="form-control prbal" style="height:30px;width:50px" <?php
                                if ($get['prbal'] == "1") {
                                    Echo "checked";
                                }
                                ?> value="1" name="prbal" >
                                <!-- <input type="text" class="form-control prbal" name="prbal" > -->
                                <!-- <input type="hidden" class="form-control input" name="vouchno" value="<?=$vouchno?>"> -->
                            </div>
                        </div>
                        
                    </div>
                    <div class="panel-footer">

                        <div class="row" align="center">
                        <div style="overflow: auto; ">
<table>
<tr>
            <td class=" buttonform tooltip-bottom" id="ssubmit" style="display: <? Echo $savedisabled ?>" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="View">
                <button id='view' type='submit' formtarget="_blank" name='view' class="btn btn-pad btn-square" style="background-color:#05B2EA; ">
                    <i class="fa fa-desktop" style="color:#ffffff"></i>
                </button>
            </td>
        </tr>
    </table>
</div>                            
</div>                            
                            <?php // include("includes/but_rep.php") ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
    <?php include("includes/linksfoot.php"); ?>
</body>
</html>
