Wrong total calculation in PDF template

Dear Sir/Madam,

Not sure whether it is the problem, I find the calculation of the item total in Quote and Invoice PDF template are wrong.

Line 166
`

<?php echo format_currency($item->item_subtotal); ?> `

It should be
`

<?php echo format_currency($item->item_subtotal-$item->item_discount); ?> `

Please correct me if I am wrong.