Can someone please verify this for me.
Whilst I was looking for a field that was simply the unit cost x the quantity (which there doesn’t seem to be!) I found this:
I have a PDF template which I have inserted all the possible price options from all the fields (to verify which value is correct).
If I enter anything from the Invoices >> Line Items: Groups drop box, then the PDF breaks - sometimes it’s blank, sometimes it generates that field then shows field names for any other results.
Grab the below, then manually insert the field name in the appropriate table cell - then create a PDF from an invoice (preferably with multiple items and quantities)
Here’s the HTML so you don’t have to manually enter it all:
[spoiler]
<p> </p>
<p>$aos_products_quotes_product_qty x $aos_products_quotes_name @ </p>
<p>Here</p>
<div style="float: left;">
<table border="0">
<tbody>
<tr>
<td>Path</td>
<td>Value</td>
</tr>
<tr>
<td>Invoices >> Total >> </td>
<td>$aos_invoices_total_amt</td>
</tr>
<tr>
<td>Invoices >> Total (default Currency) >></td>
<td>$aos_invoices_total_amt_usdollar</td>
</tr>
<tr>
<td>Invoices >> Subtotal >></td>
<td>$aos_invoices_subtotal_amount</td>
</tr>
<tr>
<td>Invoices >> Subtotal (default Currency) >></td>
<td>$aos_invoices_subtotal_amount_usdollar</td>
</tr>
<tr>
<td>Invoices >> Tax >> </td>
<td>$aos_invoices_tax_amount</td>
</tr>
<tr>
<td>Invoices >> Tax (default Currency) >></td>
<td>$aos_invoices_tax_amount_usdollar</td>
</tr>
<tr>
<td>Invoices >> Grand Total >></td>
<td>$aos_invoices_total_amount</td>
</tr>
<tr>
<td>Invoices >> Grand Total (default Currency) >></td>
<td>$aos_invoices_total_amount_usdollar</td>
</tr>
<tr>
<td>Invoices >> Subtotal + Tax >></td>
<td>$aos_invoices_subtotal_tax_amount</td>
</tr>
<tr>
<td>Invoices >> Grand Total (default Currency) >></td>
<td>$aos_invoices_subtotal_tax_amount_usdollar</td>
</tr>
</tbody>
</table>
</div>
<div style="float: left;">
<table border="0">
<tbody>
<tr>
<td>Path</td>
<td>Value</td>
</tr>
<tr>
<td>Line Items: Groups >> Total >> </td>
<td> </td>
</tr>
<tr>
<td>Line Items: Groups >> Total (default Currency) >> </td>
<td> </td>
</tr>
<tr>
<td>Line Items: Groups >> Subtotal >> </td>
<td> </td>
</tr>
<tr>
<td>Line Items: Groups >> Subtotal (default Currency) >> </td>
<td> </td>
</tr>
<tr>
<td>Line Items: Groups >> Tax >> </td>
<td> </td>
</tr>
<tr>
<td>Line Items: Groups >> Tax (default Currency) >> </td>
<td> </td>
</tr>
<tr>
<td>Line Items: Groups >> Subtotal + Tax >> </td>
<td> </td>
</tr>
<tr>
<td>Line Items: Groups >> Subtotal + Tax (default Currency) >> </td>
<td> </td>
</tr>
<tr>
<td>Line Items: Groups >> Group Total >> </td>
<td> </td>
</tr>
<tr>
<td>Line Items: Groups >> Group Total (default Currency) >> </td>
<td> </td>
</tr>
</tbody>
</table>
</div>
<div style="float: left;">
<table border="0">
<tbody>
<tr>
<td>Path </td>
<td>Value </td>
</tr>
<tr>
<td>Line Items: Products >> Cost Price >> </td>
<td>$aos_products_quotes_product_cost_price</td>
</tr>
<tr>
<td>Line Items: Products >> Cost Price (default Currency) >></td>
<td>$aos_products_quotes_product_cost_price_usdollar</td>
</tr>
<tr>
<td>Line Items: Products >> List Price >> </td>
<td>$aos_products_quotes_product_list_price</td>
</tr>
<tr>
<td>Line Items: Products >> List Price (default Currency) >> </td>
<td>$aos_products_quotes_product_list_price_usdollar</td>
</tr>
<tr>
<td>Line Items: Products >> Unit Price >></td>
<td>$aos_products_quotes_product_unit_price</td>
</tr>
<tr>
<td>Line Items: Products >> Unit Price (default Currency) >> </td>
<td>$aos_products_quotes_product_unit_price_usdollar</td>
</tr>
<tr>
<td>Line Items: Products >> Tax Amount >> </td>
<td>$aos_products_quotes_vat_amt</td>
</tr>
<tr>
<td>Line Items: Products >> Tax Amount (default Currency) >> </td>
<td>$aos_products_quotes_vat_amt_usdollar</td>
</tr>
<tr>
<td>Line Items: Products >> Total Price >> </td>
<td>$aos_products_quotes_product_total_price</td>
</tr>
<tr>
<td>Line Items: Products >> Total Price (default Currency) >> </td>
<td>$aos_products_quotes_product_total_price_usdollar</td>
</tr>
<tr>
<td>Line Items: Products >> Cost >></td>
<td>$aos_products_cost</td>
</tr>
<tr>
<td>Line Items: Products >> Cost (default Currency) >> </td>
<td>$aos_products_cost_usdollar</td>
</tr>
<tr>
<td>Line Items: Products >> Price >> </td>
<td>$aos_products_price</td>
</tr>
<tr>
<td>Line Items: Products >> Price (default Currency) >> </td>
<td>$aos_products_price_usdollar</td>
</tr>
</tbody>
</table>
</div>
<div style="float: left;">
<table border="0">
<tbody>
<tr>
<td>Path </td>
<td>Value</td>
</tr>
<tr>
<td>Line Items: Services >> Sale Price >> </td>
<td>$aos_services_quotes_service_unit_price</td>
</tr>
<tr>
<td>Line Items: Services >> Total >> </td>
<td>$aos_services_quotes_service_total_price</td>
</tr>
</tbody>
</table>
</div>
[/spoiler]
#UPDATE#
Looks like it’s broken in the demo too…