<?php
$gst_lbl    = $gst > 0 ? '<span style="font-size: 10px; font-weight: normal; padding-right: 5px;">(Inclusive of GST)</span>' : '';
?>
<tr>
                <td colspan="2">
                    <table border="0" width="100%" style="border-collapse:collapse;">
                    	<tr style="border:2px solid #000; padding:7px 10px; font-size:12px; font-weight:bolder; <?php if($catname == 'Coconut Archanai'){?>background: #333; color: #fff;<?php } ?>">
                        	<td colspan="3" align="center">
                            	<?php
									echo strtoupper($catname)." - PRASATHAM<br><span style='font-family: amudham; font-weight: bolder; font-size: 20px;'>".$catnameTam."</span> - காளாஞ்சி"; 
								?>
                            </td>
                        </tr>
                        <tr><td colspan="3" style="font-size: 0px; height: 2px;">&nbsp;</td></tr>
                        <tr>
                            <td align="left" valign="top" style="width:10px; border:none; display:block; padding:0; margin:0;"><img src="<?php echo BASE_URL; ?>assets/billing/images/lft_top_stroke.jpg" /></td>
                            <td style="width:260px; border-top:2px solid #000;"></td>
                            <td align="left" style="width:10px; border:none; display:block; padding:0; margin:0;"><img src="<?php echo BASE_URL; ?>assets/billing/images/rt_top_stroke.jpg" /></td>
                        </tr>
                        
                        
                        <tr>
                            <td style="border-left:2px solid #000;">&nbsp;</td>
                            <td align="center" style="color:#000;">அர்ச்சனை முடிந்ததும் இப்பகுதியை அர்ச்சகரிடம் காட்டி உங்கள் காளாஞிசியைப் பெற்றுக்கொள்ளவும்</td>
                            <td style="border-right:2px solid #000;">&nbsp;</td>
                        </tr>
                        <tr>
                            <td height="3" colspan="3" style="border-left:2px solid #000; border-right:2px solid #000;"></td>
                        </tr>
                        <tr>
                            <td style="border-left:2px solid #000;">&nbsp;</td>
                            <td align="center"style="color:#000;">Please retain this portion to collect Archana Prasatham</td>
                            <td style="border-right:2px solid #000;">&nbsp;</td>
                        </tr>
                        <tr>
                            <td align="left" style="width:10px; border:none; display:block; padding:0; margin:0;"><img src="<?php echo BASE_URL; ?>assets/billing/images/lft_bt_stroke.jpg" /></td>
                            <td style="border-bottom:2px solid #000;"></td>
                            <td align="left" style="width:10px; border:none; display:block; padding:0; margin:0;"><img src="<?php echo BASE_URL; ?>assets/billing/images/rt_bt_stroke.jpg" /></td>
                            </tr>
                    </table>
                </td>
            </tr>
            <tr height="3"></tr>
            <!--<tr>
                    <td colspan="2" style="font-weight:bold; font-size:16px;" align="center"><?php //echo ' S$' .(is_array( $amount ) ? number_format( $amount[0], 2 ) : number_format( $amount, 2 )); ?></td>
            </tr>-->
            <tr>    
                <td style="font-size:16px; border-bottom:1px dashed #000;" align="left"><?php echo "Qty: ".$total_qty; ?></td>    
                <td style="font-weight:bold; font-size:16px; border-bottom:1px dashed #000;" align="right"><?php echo 'S$'. (is_array( $amount ) ? number_format( $amount[0], 2 ) : number_format( $amount, 2 ))."<br>".$gst_lbl; ?></td>
        	</tr>