Author Topic: PDF Icon for invoices in customer account  (Read 616 times)

sirius

  • Jr. Member
  • **
  • Posts: 177
    • OCTeam
  • VirtueMart Version: 3.8.6
PDF Icon for invoices in customer account
« on: January 27, 2022, 09:50:43 am »
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
Code: [Select]
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.11 | PHP 7.4.33 + APC + memcached + Opcode
VM Prod : 3.8.6 | VM Test : 4.0.7.10732