<table width="100%" class="">
    <tr style="height:15px;">
        <!--<td class="border" colspan="2"></td>-->        
        <td class="text-right" colspan="3">Qty. <?php echo number_format($grqty, 2) ?></td>        
        <!--<td class="border text-right f12 bold"></td>-->        
        <td class="text-right ">Total</td>
        <td class="text-right "><?php echo number_format($totamt, 2) ?></td>
    </tr> 
    <?php if ($getmdata['totdisc'] > 0) { ?>
        <tr style="height:15px;">
            <!--<td class="border" colspan="2"></td>-->        
            <td class="text-right  " colspan="3">Less Discount</td>
            <td class="text-right f11 "><?php echo number_format($getmdata['ldiscperc'], 2) . '% ' ?></td>
            <td class="text-right f11 "><?php echo number_format($getmdata['totdisc'], 2) ?></td>
        </tr>    

    <?php } ?>
    <?php if ($getmdata['addpack'] > 0) { ?>
        <tr style="height:15px;">
            <!--<td class="border" colspan="2"></td>-->        
            <td class="text-right " colspan="3">Add Packing</td>
            <td class="text-right f11 "></td>
            <td class="text-right f11 "><?php echo number_format($getmdata['addpack'], 2) ?></td>
        </tr>    

        <?php
    }
    if ($getmdata['addgst'] > 0) {
        ?>
        <tr style="height:15px;">
            <!--<td class="border" colspan="2"></td>-->        
            <td class="text-right  " colspan="3">Add GT</td>
            <td class="text-right f11 "></td>
            <td class="text-right f11 "><?php echo number_format($getmdata['addgst'], 2) ?></td>
        </tr>    

    <?php } ?>
    <tr style="height:15px;">
        <td class="" colspan="3">Narration : <?= $getmdata['rem1'] . ' ' . $getmdata['rem2']; ?></td>        

        <td class="text-right f10 bold" >Bill Amount</td>
        <td class="text-right f10 bold"><?php echo rajnumformat($getmdata['billamt']) ?></td>
    </tr> 


    


</table>
<table  style="width:100% ;page-break-after: always;">

    <tr style='height:45px'></tr>
    <tr style=''>
        <td style='width:45%'></td>
        <td  style='width:30%'></td>
        <td style='width:35%;padding-right:3px' class='text-right'>Authorized Signatory</td>
    </tr>

</table>
