Hi @juslintek,
Every PDF invoice uses its own creation date, so what you are describing is not the normal behavior, unless you are calling the invoice date from the parent order in your custom PDF template.
My recommendation is to switch to the default Simple template, under WooCommerce > PDF Invoices > General > Choose a template, and check what date is displayed as invoice date.
Hi, I did it, but date seems to persist at woocommerce subscription subscriptions initial order’s date. Seems that either date is cached and somehow passed over to child orders or in triggers callbacks parent order is used instead of child order and only invoice number increments, because everything else stays the same.
Also if I trigger invoice creation manually on order edit screen all is fine, but when it happens in the background it does not seem to work properly.
Seems like intended child context is replaced by parent order or something like that.
-
This reply was modified 2 years, 8 months ago by
juslintek. Reason: Forgot to mention that it is not triggered manually
-
This reply was modified 2 years, 8 months ago by
juslintek. Reason: Few additional notes
Could you please check and tell me which option you have selected for the invoice date under WooCommerce > PDF Invoices > Documents > Invoice > Display invoice date?
Hi @juslintek,
Since we haven’t heard back from you in the last two weeks, we’re assuming you solved this issue, so I’ll go ahead and mark this ticket as Resolved.
Feel free to reply to this topic is you still need help with this, or open a new topic if you have any other questions!