Hi,
I could try to help you but you need to do the debug by your self.
What you need to do is to calculate what the 3 HT values by looping on the lines.
I give you a code exemple, this is not tested, so you have to debug it :
$total_ht_13=0;
$total_ht_17=0;
$total_ht_24=0;
foreach ($object["lines"] as $facture_lines){
if ($facture_lines["tva_tx"] == "13.000"){
$total_ht_13 += $facture_lines["total_ht"];
}elseif ($facture_lines["tva_tx"] == "17.000"){
$total_ht_17 += $facture_lines["total_ht"];
}elseif ($facture_lines["tva_tx"] == "24.000"){
$total_ht_24 += $facture_lines["total_ht"];
}
}
Then you will be able to display the results
$pdf->MultiCell($largcol2, $tab2_hl, $total_ht_13, 0, $outputlangs), 0, 'R', 1);
THis needs to be tested of course.