cilecek Posted July 21, 2015 Share Posted July 21, 2015 (edited) Hello, i am trying to use ps invoicing system, but now i am facing date problem. i want to generate invoice _after_ payment is made, f.e. (new order, payment: codfee -> order state "preparing" -> print delivery slip -> manually set order state to "sent" ) order is made June 1st, we print delivery slip and ship order on June 5th money comes to our bank account and new order state is set (-> order state "paid" ) when i generate invoice, there is 1st of June as invoice_date (same as date_add) but has to be 5th of June. (until order state is set to "paid" invoice_date in mysql is "NULL", after setting order state to "paid" invoice_date is in mysql set to date_add instead of current date) - changing date in invoice .tpl doesnt work for me - i need to have correct date in database because of exporting invoices to our accounting system - imho order states are set correctly (only "paid" is set to "show invoice" thanks for any help! regards, milan Edited July 21, 2015 by cilecek (see edit history) Link to comment Share on other sites More sharing options...
littlesh Posted December 9, 2015 Share Posted December 9, 2015 Hi Milan, I have the same issue. Did you solve it in some way? Thanks in advance, bye Link to comment Share on other sites More sharing options...
tuk66 Posted December 14, 2015 Share Posted December 14, 2015 You need to print the "invoice paid" date, sometimes called "taxable date". This date must be created from order history records. The M4 PDF Extensions module creates dateOfPayment and dateOfDelivery dates in its templates and it is easy to use them - no patch needed. Link to comment Share on other sites More sharing options...
Marťas Posted February 2, 2016 Share Posted February 2, 2016 Hi, where it is possible to change it? Link to comment Share on other sites More sharing options...
Berdesse Posted July 19, 2016 Share Posted July 19, 2016 Hi all, Is that problem solved ? I'm facing the same issue (v1.6). A great thank for you help 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