S05e03 - Invoice comments QUESTIONS/SUPPORT

Open to all! Ask other shopowners for help.
Post Reply
admin
Contributor
Posts: 217
Joined: Wed Oct 30, 2019 1:34 pm
Phoenix Version:
Has thanked: 20 times
Been thanked: 22 times

S05e03 - Invoice comments QUESTIONS/SUPPORT

Post by admin »

Addon:
Allows shopowner to easily add a comment onto Invoice.

Download:
viewtopic.php?f=28&t=1073

--

Questions / Comments / Concerns

Tags:


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
martindavinci
Member
Posts: 38
Joined: Mon Mar 08, 2021 8:33 am
Phoenix Version: 1.1.0.5
Has thanked: 2 times

Re: S05e03 - Invoice comments QUESTIONS/SUPPORT

Post by martindavinci »

Hi Admin,
Can I use module S05e03 in Phoenixcart 1.0.8.19? It works, but I can't get the text in the footer of my invoice. Is there a “workaround” for that? I would really appreciate the answer.
Best regards,
Martin van den Houdt (aka martindavinci)
php 8.0; PC 1.0.8.19;
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: S05e03 - Invoice comments QUESTIONS/SUPPORT

Post by heatherbell »

martindavinci wrote: Mon Jan 13, 2025 11:08 am Can I use module S05e03 in Phoenixcart 1.0.8.19?
Just tested on a 1.0.8.19 and works as expected.

Exactly what is output on invoice:

Screenshot 2025-01-13 112750.png

Unless you are expecting this Addon to do what this Addon does:
s08e03 - Comments on Invoice
You do not have the required permissions to view the files attached to this post.
User avatar
martindavinci
Member
Posts: 38
Joined: Mon Mar 08, 2021 8:33 am
Phoenix Version: 1.1.0.5
Has thanked: 2 times

Re: S05e03 - Invoice comments QUESTIONS/SUPPORT

Post by martindavinci »

Hi Heatherbell,
I have it the same way in admin when showing the invoice. But when I want to print it (seems to me standard with customers) the notification is in the middle of the invoice (vertical).
It seems to me that it should actually be in the footer of the -printed- invoice.
Maybe this is a php difference?
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: S05e03 - Invoice comments QUESTIONS/SUPPORT

Post by heatherbell »

martindavinci wrote: Mon Jan 13, 2025 1:17 pmBut when I want to print it (seems to me standard with customers) the notification is in the middle of the invoice (vertical).
No idea why that occurs for you but for me, CTRL+P gives this:

Screenshot 2025-01-14 061704.png
You do not have the required permissions to view the files attached to this post.
User avatar
martindavinci
Member
Posts: 38
Joined: Mon Mar 08, 2021 8:33 am
Phoenix Version: 1.1.0.5
Has thanked: 2 times

Re: S05e03 - Invoice comments QUESTIONS/SUPPORT

Post by martindavinci »

Herewith the printout as I get it out of the printer. As you can see the orientation is portrait, and the text has been changed.

Beheer.png-1.png
You do not have the required permissions to view the files attached to this post.
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: S05e03 - Invoice comments QUESTIONS/SUPPORT

Post by heatherbell »

martindavinci wrote: Mon Jan 13, 2025 3:24 pm Herewith the printout as I get it out of the printer. As you can see the orientation is portrait, and the text has been changed.
So that looks as expected. It is not going to be in the 'footer' of the printed page, that is not what the addon does, it appends below whatever output is already there. Consider when the invoice table could be extending to 2 pages.
User avatar
martindavinci
Member
Posts: 38
Joined: Mon Mar 08, 2021 8:33 am
Phoenix Version: 1.1.0.5
Has thanked: 2 times

Re: S05e03 - Invoice comments QUESTIONS/SUPPORT

Post by martindavinci »

I did find another approach that does do what I desire. For this I have put/changed the following lines at the bottom of the invoice.php: (from line 101)

</tbody>
</table>

<?= $admin_hooks->cat('extraComments') ?>

<div class=“footer_invoice”><p style=“text-align:center”>SNS account no. 1111111 in the name of Atelier Davinci, IBAN NL22 SNSB 3333333. -- BETALINGEN BINNEN 14 DAGEN </br>
Al onze prijsopgaven, transacties en leveringen geschieden volgens onze Algemene Voorwaarden. Chamber of Commerce number 888888.</p>
</div>
<!-- body_text_eof //-->

<br />
</body>
</html>

<?php
require 'includes/template_bottom.php';
require 'includes/application_bottom.php';
?>

How I arrived at these rules I don't remember, it's been too long, but all credit to the coder.
It works, a line comes up at the bottom of the invoice which is then printable as well.
To possibly make a module of it I prefer to leave to others if there is interest.
I hope this will help others as well, kind regards,
Martin

Translated with DeepL.com (free version)


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply