Jump to content

Incorrect invoice date problem


Recommended Posts

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 by cilecek (see edit history)
Link to comment
Share on other sites

  • 4 months later...
  • 1 month later...
  • 5 months later...

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
×
×
  • Create New...