| ";
}
////when third party changes (if not blocked) display info, end form and then set third and client to current
else if($oldthirdparty != $thirdparty)
{
$gst_no=is_gst_exempt($thirdparty);
if($clientcode != 'BLOCKED')
{
echo " | | | ";
if(!$gst_no)
{
$gst_amt = number_format(($gstclienttotal * 0.07), 2,'.','');
echo "GST...." . $gst_amt; echo " ";
$clienttotal = number_format(($clienttotal + $gst_amt),2,'.','');
}
else
{
$clienttotal = number_format($clienttotal,2, '.','');
}
echo "TOTAL = " . $clienttotal;
echo "
|