num_rows > 0) { while($row = mysqli_fetch_array($result)) { echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; }}else {echo "0";} ?>
Id Invoice no Date customer name subtotal service charge GST
".$row['id']."".$row['sale_no']."".$row['sale_date']."".$row['customer_id']."".$row['sub_total']."".$row['delivery_charge'].""; $i =0 ; $a = json_decode($row['sale_vat_objects']); for($i=0;$i"; } echo "
".$a[$i]->tax_field_type."".$a[$i]->tax_field_amount."