Nel file della generazione del pdf degli ordini c'è un bug che mi sembrano strano non sia stato corretto. Praticamente il prezzo unitario è sbagliato perchè viene messo il subtotale, mentre dovrebbe essere subtotale/qta.
$body .= "\n";
if( $show_costi )
$body .= number_format( $rs_art[$i]['subtotale'], 2, ",", "" )." €\n";
else
$body .= "-";
$body .= "\n";
deve diventare
$body .= "\n";
if( $show_costi )
$body .= number_format( $rs_art[$i]['subtotale']/$rs_art[$i]['qta'], 2, ",", "" )." €\n";
else
$body .= "-";
$body .= "\n";