I observed that clicking the [Print] icon In the order overview renders a HTML representation of the invoice in a new window.
But the 'invoice number' is always output as '0'.
Did anyone else see this error?
The PDFs from the [Delivery note] and the [invoice] icon are just fine.
I am using ...
OS: CentOS 7 (on a VPS)
PHP: 7.2 (REMI release)
VM: VirtueMart 3.4.5 10063 (recently updated)
Best regards ...
I wish there was a setting to hide that button by default.
For most, this button serves no purpose anymore, it's some old backwards compatibility thing.
If you want to print invoices, set a status for generating invoices, or use the button on the right for forcing invoice.
At that time an invoice number will be generated and also printed.
If an invoice was generated before, even the print button should show the invoice number.
I use it in pizza shops to print a 80 mm invoice via a bon printer, otherwise I never use it.
You could just hide it with CSS and never get tempted to press it again.
Regards
Stefan
I use css to hide it:
.print_32, .icon-32-print {
display: none;
}
The team thinks we should remove the buttons.
The print is just not the same as the pdf. But there are stores using the print, and not the pdf, that is our dilemma.