<?php
//$zroot = $_SESSION["zdir"];
//$zcomp = $_SESSION["comp_" . $dbname];
?>
<style>
    @media print {
        .noPrint {
            display:none;
        }
    }
</style>


<table class="table table-border table-hover" style="width:100%">
    <tr>
        <td style="text-align: center; width:50%;border:1px solid black"><b>Bill To Party</b></td>
        <td style="text-align: center; width:50%;border:1px solid black"><b>Ship To Party</b></td>
    </tr>
    <tr>
        <td style="text-align: center; width:50%;">
            <div style="border-collapse: collapse" class="col-md-12">

                <table class="table table-bordered table-hover" style="width:100%;border:1px solid black">
                    <tr>
                        <?php
                        if ($getdata["nameprint"] != '') {
                            $printname = $getdata["nameprint"];
                            $printmobile = $getdata["printmobile"];
                        } else {
                            $printname = $showparty[name];
                            $printmobile = $showparty[mobile];
                        }
                        ?>
                        <td style="text-align: left; width:5%"><b>M/s.</b></td>
                        <td style="width:1%">:</td>
                        <td style="text-align: left; width:90%"><?php echo "$printname"; ?></td>

                    </tr>
                    <tr>
                        <td style="text-align: left; width:7%">Address</td>
                        <td style="width:1%">:</td>
                        <td style="text-align: left; width:90%"><?php echo "$showparty[add1]  $showparty[add2]"; ?></td>
                    </tr>
                    <tr>
                        <td style="text-align: left; width:7%">&nbsp;&nbsp;&nbsp;&nbsp;</td>
                        <td style="width:1%"></td>
                        <td style="text-align: left; width:90%"><?php echo "$showparty[add3]  $showparty[city] $showparty[pin]"; ?></td>
                    </tr>
                    <tr>
                        <td style="text-align: left; width:7%">Mobile</td>
                        <td style="width:1%">:</td>
                        <td style="text-align: left; width:40%"><?php echo "$printmobile"; ?></td>

                    </tr>
                    <tr>
                        <td style="text-align: left; width:17%">GST No.</td>
                        <td style="width:1%">:</td>
                        <td style="text-align: left; width:38%"><?php echo "$showparty[gstno]"; ?></td>

                    </tr>
                    <tr>
                        <td style="text-align: left; width:10%">State</td>
                        <td style="width:1%">:</td>
                        <td style="text-align: left; width:30%"><?php echo "$showparty[state]"; ?></td>

                    </tr>
                    <tr>
                        <td style="text-align: left; width:23%">State Code</td>
                        <td style="width:1%">:</td>
                        <td style="text-align: left; width:30%"><?php echo "$showparty[statecode]"; ?></td>
                    </tr>
                </table>
            </div>
        </td>

        <td style="text-align: center; width:50%">
            <div style="border-collapse: collapse" class="col-md-12">

                <table class="table table-bordered table-hover" style="width:100%;border:1px solid black">
                    <tr>
                        <td style="text-align: left; width:5%"><b>M/s.</b></td>
                        <td style="width:1%">:</td>
                        <td style="text-align: left; width:90%"><?php echo "$printname"; ?></td>

                    </tr>
                    <tr>
                        <td style="text-align: left; width:7%">Address</td>
                        <td style="width:1%">:</td>
                        <td style="text-align: left; width:90%"><?php echo "$showparty[add1]  $showparty[add2]"; ?></td>

                    </tr>
                    <tr>
                        <td style="text-align: left; width:7%">&nbsp;&nbsp;&nbsp;&nbsp;</td>
                        <td style="width:1%"></td>
                        <td style="text-align: left; width:90%"><?php echo "$showparty[add3]  $showparty[city] $showparty[pin]"; ?></td>
                    </tr>
                    <tr>
                        <td style="text-align: left; width:7%">Mobile</td>
                        <td style="width:1%">:</td>
                        <td style="text-align: left; width:40%"><?php echo "$printmobile"; ?></td>

                    </tr>
                    <tr>
                        <td style="text-align: left; width:17%">GST No.</td>
                        <td style="width:1%">:</td>
                        <td style="text-align: left; width:38%"><?php echo "$showparty[gstno]"; ?></td>

                    </tr>
                    <tr>
                        <td style="text-align: left; width:10%">State</td>
                        <td style="width:1%">:</td>
                        <td style="text-align: left; width:30%"><?php echo "$showparty[state]"; ?></td>

                    </tr>
                    <tr>
                        <td style="text-align: left; width:23%">State Code</td>
                        <td style="width:1%">:</td>
                        <td style="text-align: left; width:30%"><?php echo "$showparty[statecode]"; ?></td>
                    </tr>
                </table>
            </div>
        </td>
    </tr>
</table>




