Author Topic: COM_VIRTUEMART_CREDIT_NOTE missing for refund  (Read 334 times)

sirius

  • Jr. Member
  • **
  • Posts: 103
    • OCTeam
  • VirtueMart Version: 3.8.6
COM_VIRTUEMART_CREDIT_NOTE missing for refund
« on: January 20, 2021, 14:33:50 pm »
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.9.24 | PHP7.4.16 + APC + Opcode
VM Prod : 3.8.6 | VM Test : 3.8.9

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3715
  • using Matomo instead of Google Analytics
Re: COM_VIRTUEMART_CREDIT_NOTE missing for refund
« Reply #1 on: January 27, 2021, 21:44:29 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