\n$tableheaders[$k]\n | \n"; } echo '|||
---|---|---|---|
\n$data\n | \n"; } @$subtotal+=$row['item_total_cost']-$row['item_total_tax']; @$total+=$row['item_total_cost']; } } $subtotal=number_format($subtotal,2,'.', ''); $total=number_format($total,2,'.', ''); $tax=$total-$subtotal; $tax=number_format($tax,2,'.', ''); echo "
$lang->totalWithOutTax: $display->currency_symbol$subtotal |
$lang->totalWithTax: $display->currency_symbol$total |
$lang->tax: $display->currency_symbol$tax |