News:

Support the VirtueMart project and become a member

Main Menu

COM_VIRTUEMART_CREDIT_NOTE missing for refund

Started by sirius, January 20, 2021, 14:33:50 PM

Previous topic - Next topic

sirius

Hello,

I just found that when refund is done the string COM_VIRTUEMART_CREDIT_NOTE is missing into the pdf invoice.

This one is also missing on transifex: com_virtuemart_orders.ini

I've translate it to:
COM_VIRTUEMART_CREDIT_NOTE="Regulated Invoice" en-GB.com_virtuemart_orders.ini
COM_VIRTUEMART_CREDIT_NOTE="Facture régulé" fr-FR.com_virtuemart_orders.ini

J3.10.12 | PHP 7.4.33 + APC + memcached + Opcode
VM Prod : 3.8.6 | VM Test : 4.0.12.10777

jjk

#1
Quote from: sirius on January 20, 2021, 14:33:50 PM

I just found that when refund is done the string COM_VIRTUEMART_CREDIT_NOTE is missing into the pdf invoice.

I've translate it to:
COM_VIRTUEMART_CREDIT_NOTE="Regulated Invoice" en-GB.com_virtuemart_orders.ini

I don't see the language key COM_VIRTUEMART_CREDIT_NOTE in my invoices, even if I change them. What are you doing in your case that this key becomes visible?
Perhaps it is a piece of old code for an old invoice layout, or code for a new future 'refund' layout.

Probably should be COM_VIRTUEMART_CREDIT_NOTE="Adjusted Invoice"
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations