Invoice PDF - modify calculations

I have moved the discount % and Sales Prices (price - discount) to an independent line in Invoice PDF Template to make it clearer.

The product line row now has the following components:

Product
$aos_products_quotes_name

Quantity
$aos_products_quotes_product_qty

Total
$aos_products_quotes_product_unit_price

The problem is that the total of the row still shows the total of the price (units x price - discount) and I would need it to show only the total price without discount (units x price)

Is there a call in the database I can use? Otherwise, how can I create it?

Thanks