Page 1 of 1

Wrong date in Phoca Invoice

Posted: 01 Aug 2023, 16:36
by Alexander
Hi Jan
Long time ... Phoca Cart was running smoothly for me :)

I recently updated Joomla to 4.3.3, PHP to 8.2.8 and Phoca Cart to version 4.0.7. Everything worked well but I just noticed that the year date in the Phoca Cart Invoice does not show correctly, PDF and email.

e.g. German invoice and due date:
Rechnungsdatum: 30.11.-0001
Rechnungsfälligkeitsdatum: 30.11.-0001

The order and invoice were generated on 28th of July 2023 so the invoice should read 28.07.2023, die date 29.07.2023 (invoice + 1). Not only the year is strange but the whole date is ... I don't know where Phoca Cart found this information.

Any idea?

Thank you for your help

Alexander

Re: Wrong date in Phoca Invoice

Posted: 01 Aug 2023, 22:59
by Benno
Hi,
ich glaube das gleiche Problem wird in diesem tschechischen Thread beschrieben:
viewtopic.php?t=64837
Datum faktury: 30.11.-0001
Datum splatnosti faktury: 30.11.-0001
Freundliche Grüße,
Benno

Re: Wrong date in Phoca Invoice

Posted: 02 Aug 2023, 09:07
by Alexander
Ja, sieht so aus.

Leider gehöre ich aber zu der wohl Mehrheit der Weltbevölkerung, die kein tschechisch spricht. Und eine Lösung des Problems konnte ich in dem tschechischen Thread und den Links darin mit aller Phantasie leider nicht finden.

Jans Link zeigt wohl auf Änderungen 4.0.5 -> 4.0.6 aber ich hab 4.0.7

Re: Wrong date in Phoca Invoice

Posted: 03 Aug 2023, 14:26
by Jan
Hallo, da war ein Problem mit Datenbank und NULL Values. Wenn man die neueste Beta, z.B. diese: https://github.com/PhocaCz/PhocaCart/re ... Beta12.zip installiert, sollte es alles OK sein.

Bitte, teste mal die neueste Beta, teste mal Status ändern und es soll OK sein.

Jan

Re: Wrong date in Phoca Invoice

Posted: 03 Aug 2023, 19:18
by Alexander
Hi Jan
I did not know that your German is extremely good. Thank you, I just installed the beta and it worked. Dates are now correct.

When I tested the payment process, I noted that as guest, when the delivery address is equal billing address button is checked, I am still asked for the delivery address and I have to enter something. The option is set in Options for guest and registered users but seems to have lost its effect.

Any idea?

Thank you for the very good support

Alexander

Re: Wrong date in Phoca Invoice

Posted: 04 Aug 2023, 15:48
by Jan
Hi, can you paste a screenshot of what part exactly asks for filling the form?

Jan

Re: Wrong date in Phoca Invoice

Posted: 06 Aug 2023, 14:26
by Alexander
Hi Jan

Sorry for the late answer. Problem seems to be solved. I cleared all caches and disabled JCH-optimize and now guest access works as designed. I should have done that before asking the question. Sorry! JCH-optimize makes more problems than it solves although I excluded Phoca menus and mod_phoca ...

Have a nice Sunday

Alexander

Re: Wrong date in Phoca Invoice

Posted: 07 Aug 2023, 15:50
by Jan
Hi, thank you for the info.

Jan