Wrong date in Phoca Invoice

Phoca Cart - complex e-commerce extension
Alexander
Phoca Enthusiast
Phoca Enthusiast
Posts: 79
Joined: 15 Jan 2020, 17:36

Wrong date in Phoca Invoice

Post 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

Tags:
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9689
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Wrong date in Phoca Invoice

Post 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
Alexander
Phoca Enthusiast
Phoca Enthusiast
Posts: 79
Joined: 15 Jan 2020, 17:36

Re: Wrong date in Phoca Invoice

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Wrong date in Phoca Invoice

Post 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
If you find Phoca extensions useful, please support the project
Alexander
Phoca Enthusiast
Phoca Enthusiast
Posts: 79
Joined: 15 Jan 2020, 17:36

Re: Wrong date in Phoca Invoice

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Wrong date in Phoca Invoice

Post by Jan »

Hi, can you paste a screenshot of what part exactly asks for filling the form?

Jan
If you find Phoca extensions useful, please support the project
Alexander
Phoca Enthusiast
Phoca Enthusiast
Posts: 79
Joined: 15 Jan 2020, 17:36

Re: Wrong date in Phoca Invoice

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Wrong date in Phoca Invoice

Post by Jan »

Hi, thank you for the info.

Jan
If you find Phoca extensions useful, please support the project
Post Reply