<?php
$zroot = $_SESSION["zdir"];
$zcomp = $_SESSION["comp_" . $dbname];
$getcomp = mysqli_query($conn, "SELECT * FROM $zroot.`company` where code='$zcomp'")or die(mysqli_error($conn));
$comp = mysqli_fetch_array($getcomp);
?>
<style>
    @media print {
        .noPrint {
            display:none;
        }
    }
</style>
<div class="row">
    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 ">
        <?php echo "<label style='font-size:20px;'>$comp[name]</label>" ?>
    </div>
</div>
<div class="row">
    <div class="col-lg-11 col-md-11 col-sm-11 col-xs-11">

        <label class="label-control marg"><?php Echo $formname; ?></label>
    </div>
    <div class="col-lg-1 col-md-1 col-sm-1 col-xs-1 ">
        <a onclick="window.close()" class="btn btn-primary noPrint">GO Back</a>
    </div>
</div>
<div class="row">
    <div class="col-lg-8 col-md-8 col-sm-8 col-xs-8">
        <?php if ($mfdt != '') { ?>
            From Date - 
            <?php Echo $mfdt; ?> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <?php } ?>
        <?php if ($mtdt != '') { ?>
            To Date - 
            <?php Echo $mtdt; ?>
        <?php } ?>

    </div>
    <div class="col-lg-4">
        <label class="label-control marg">Report Date - </label>
        <label class="label-control marg"><?php Echo Date("d-m-Y"); ?></label>
    </div>
</div>