Does anyone got an updated file for the admin add-onn.
invoice_pdf.php (catalog/admin/invoice_pdf.php)
So it will exactly be the same at the admin side as the client side.
Some things are displayed different in admin.
But more imprtant.
There is a bug fix for the customer reference:
EDIT pdfinvoice.php
FIND:
if($HTTP_GET_VARS['passthruID'] === $pass_phrase_hash){
IMMEDIATELY AFTER add:
// get customer_id for this order number
$customer_info_query = tep_db_query("select customers_id from " . TABLE_ORDERS . " where orders_id = '". (int)$HTTP_GET_VARS['order_id'] . "'");
$customer_info = tep_db_fetch_array($customer_info_query);
$customer_id = $customer_info['customers_id'];
But where is that first line ($HTTP_GET_VARS['passthruID'] === $pass_phrase_hash){ looked for it in catolog pfd invoice but its not in there checked it four times Used a search program to search in all my files couldn't find it there. Downloaded the default package also didn't found anything.
For the rest contribution works like it should. ;)