Jump to content

faabsen

Members
  • Posts

    1
  • Joined

  • Last visited

Profile Information

  • First Name
    Fab
  • Last Name
    Ulous

faabsen's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hey there, I'm trying to display the order reference in the footer of the invoice PDF. Everything works perfect when displaying a single invoice. However, if we are using the bulk process, the invoice numbers are displayed incorrectly in the footer. PS Version: 1.6.11 Changes HTMLTemplateInvoice.php /** * Returns the template's HTML pagination block * * @return string HTML pagination block */ public function getPagination() { $this->smarty->assign(array("reference" => $this->order->getUniqReference())); return $this->smarty->fetch($this->getTemplate('pagination')); } Again, when using the bulk invoices, the first invoice gets the order reference of the second invoice, the second of the third and so on (again, only in the footer). Only the last invoice has the correct corresponding order reference in its footer. The problem can be also found here: https://www.prestashop.com/forums/topic/451796-wrong-order-number-in-prestashop-pdf-invoice/ Any tips? Cheers, fab
×
×
  • Create New...