Addon:
Allows shopowner to easily add a comment onto Invoice.
Download:
viewtopic.php?f=28&t=1073
--
Questions / Comments / Concerns
S05e03 - Invoice comments QUESTIONS/SUPPORT
- 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
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;
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
Just tested on a 1.0.8.19 and works as expected.
Exactly what is output on invoice:
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.
- 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
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?
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
No idea why that occurs for you but for me, CTRL+P gives this: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).
You do not have the required permissions to view the files attached to this post.
- 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
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.
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
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.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.
- 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
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)
</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)