JaroslavH Posted July 16, 2013 Share Posted July 16, 2013 Hi All, I want to edit PDF invoice. I need to use some parameters, but do not know how. For example: How can I use (insert) in the file ... \ pdf \ invoice.tpl value creation date of invoice. Now there I only date the order {dateFormat date=$order->date_add full=0} Thanks for the advice Link to comment Share on other sites More sharing options...
tuk66 Posted July 17, 2013 Share Posted July 17, 2013 {dateFormat date=$order->invoice_date full=0} just a guess Link to comment Share on other sites More sharing options...
JaroslavH Posted July 19, 2013 Author Share Posted July 19, 2013 It does not work, still shows the the order date. A need invoice date. Link to comment Share on other sites More sharing options...
tuk66 Posted July 19, 2013 Share Posted July 19, 2013 Cache? "invoice_date" is definitely the invoice date, not the order one. Link to comment Share on other sites More sharing options...
JaroslavH Posted July 21, 2013 Author Share Posted July 21, 2013 (edited) I know where the problem. According to the database $order->invoice_date = $order->date_add When I create an order, it automatically creates an invoice. Therefore, the same dates I need to create an invoice after receipt of payment. Edited July 21, 2013 by JaroslavH (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts