Yattoo Posted November 2, 2015 Share Posted November 2, 2015 Dear All, I would like to modify order-return pdf. More precisly i would like to add order reference in this file but i have some difficulties to do it. I have modified the file (order-return.summary-tab.tpl) as below but it doesn't work. (in red my modifications) {l s='We have logged your return request.' pdf='true'}<br />{l s='Your package must be returned to us within' pdf='true'} {$return_nb_days} {l s='days of receiving your order.' pdf='true'}<br /><br /><table id="summary-tab" width="100%"> <tr> <th class="header small" valign="middle">{l s='Return Number' pdf='true'}</th> <th class="header small" valign="middle">{l s='Order Reference' pdf='true'}</th> <th class="header small" valign="middle">{l s='Date' pdf='true'}</th> </tr> <tr> <td class="center small white">{'%06d'|sprintf:$order_return->id}</td> <td class="center small white">{$order->getUniqReference()}</td> <td class="center small white">{dateFormat date=$order_return->date_add full=0}</td> </tr></table> If somebody can help me, i will appreciate. Best regards, Franck Link to comment Share on other sites More sharing options...
ventura Posted November 2, 2015 Share Posted November 2, 2015 In classes\pdf\HTMLTemplateOrderReturn.php Add in assign array 'order' => $this->order, and in the .tpl file {$order->getUniqReference()} 1 Link to comment Share on other sites More sharing options...
carlitos666 Posted April 12, 2017 Share Posted April 12, 2017 big thanks ! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now