led24ee Posted August 13, 2018 Posted August 13, 2018 How to add SELLER to invoice template with translation. Find file : invoice.addresses-tab.tpl (root/pdf/) make changes on first row and add "Seller" with possibility to translate it. This header is part in many template. {if isset($order_invoice)}{l s='Seller' pdf='true'}{/if} How to add SENDER to delivery slip Find file : delivery-slip.addresses-tab.tpl (root/pdf/) make changes on first row and add "Sender" with possibility to translate it. Now You need to make translation in PDF section. Same way You can make modifications to (root/classes/pdf) INVOICE HTMLTemplateInvoice.php DELIVERY SLIP HTMLTemplateDeliverySlip.php CREDIT SLIP HTMLTemplateOrderSlip.php ORDER RETURN HTMLTemplateOrderReturn.php To translate these find in files function: public function getheader() and add translation possibilty the result can be like this : public function getHeader() { $this->assignCommonHeaderData(); $this->smarty->assign(['header' => ($this->l('Invoice'))]); 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 account Sign in Already have an account? Sign in here. Sign In Now Share https://forum.thirtybees.com/topic/1949-1949/invoice-template/ More sharing options... Followers 1 Go to topic listing All Activity Home General Help Tips and Tricks INVOICE template × Existing user? Sign In Sign Up Forums Member Blogs Recent Posts Leaderboard Staff Support thirty bees Marketplace Documentation × Create New...
Recommended Posts