VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: andrai2 on September 04, 2017, 08:32:29 AM

Title: Force creation of invoice with red cross - Cahnge to normal
Post by: andrai2 on September 04, 2017, 08:32:29 AM
Hello!

When i go to virtuemart - orders - i have invoice with red cross and in mouse hover it says "Force creation of invoice"

How to change settings to not have Force creation of invoice with red cross...? but just normal invoice without red cross and "Force creation of invoice"

I have attached an images to "see my problem"

VirtueMart 3.0.18
joomla 3.7
Title: Re: Force creation of invoice with red cross - Cahnge to normal
Post by: jenkinhill on September 04, 2017, 11:17:34 AM
You can either edit the core files to do this or replace the images used. It is easier and safer to edit the images:
components/com_virtuemart/assets/images/icon_32/deliverynotenew.png
components/com_virtuemart/assets/images/icon_32/invoicenew.png

Replace them with renamed versions of deliverynote.png and invoice.png  (these are the images displayed after an invoice/delivery note has been forced, and sdo not display the plus sign.  If you set the permissions of the revised image files to 444 then they should not be replaced on future VM updates - but I have not tried that.

You should be using at least VM3.2.2 with Joomla 3.7.5   see http://virtuemart.net/news/latest-news/480-security-release-of-joomla-3-7-be-prepared
Title: Re: Force creation of invoice with red cross - Cahnge to normal
Post by: Milbo on September 04, 2017, 13:26:22 PM
I think he does not understand, why it says "Force". The standard way is NOT that you create an invoice manually, the standard way is to update the order with an order status, which creates the invoice.
Title: Re: Force creation of invoice with red cross - Cahnge to normal
Post by: jenkinhill on September 04, 2017, 15:02:49 PM
I thought it is just an objection to a red cross. ;)
Title: Re: Force creation of invoice with red cross - Cahnge to normal
Post by: andrai2 on September 04, 2017, 21:20:29 PM
eh sorry guys, problem was coused by one old virtuemart comercial plugin,my problem was push forward by one virtuemart forum memeber.