02-25-2010, 11:52 AM
|
|
| |
|
|
X-Adept
|
|
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
|
|
|
Re: Compact Attractive Invoice
Finally have this one figured out.
The $order.display items are found in func.order.php. This is what I did....
around line 137 you will find:
# Assign the display_* vars for displaying in the invoice
if (@$order["extra"]["tax_info"]["display_taxed_order_totals"] == "Y" && !empty($order["extra"]["tax_info"]["taxed_subtotal"]))
$order["display_subtotal"] = $order["extra"]["tax_info"]["taxed_subtotal"];
else
$order["display_subtotal"] = $order["subtotal"];
I changed it to this:
if (@$order["extra"]["tax_info"]["display_taxed_order_totals"] == "Y" && !empty($order["extra"]["tax_info"]["taxed_subtotal"]))
$order["display_subtotal"] = $order["subtotal"];
else
$order["display_subtotal"] = $order["subtotal"];
I did this for discounted subtotal and for shipping since my ignorant state collects sales tax for shipping.
Then i went into the order_data.tpl file and mover the sales tax from the bottom of the invoice to the line before Total. So now it looks like this:
|
|