News:

Looking for documentation? Take a look on our wiki

Main Menu

PDF Icon for invoices in customer account

Started by sirius, January 27, 2022, 09:50:43 AM

Previous topic - Next topic

sirius

Hi,
Currently the pdf icon that is displayed with the invoice in the list of customer orders and the one that is in the joomla system images.
/components/com_virtuemart/helpers/shopfunctionsf.php
static public function getInvoiceDownloadButton($orderInfo, $descr = 'COM_VIRTUEMART_PRINT', $icon = 'system/pdf_button.png'){
It would be nice to be able to choose its own icon, because for the moment I replace it in the folder, but with each update of joomla I have to redo the manipulation and if I can avoid modifying the code of virtuemart it is also Good.
So how about an option in the vm admin ?
Regards
J3.10.12 | PHP 7.4.33 + APC + memcached + Opcode
VM Prod : 3.8.6 | VM Test : 4.0.12.10777