News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

How Change pdf invoice VM 2022a ?

Started by TAIWAR, September 08, 2013, 15:27:51 PM

Previous topic - Next topic

TAIWAR

hello
I use by defaut the pdf invoice but I need to change something on the pdf :
I need to delete the files pictures from type of paiement and on the cart to rename "Total TTC" by "TOTAL" but I can't find it in my fr translate..
Please let me know wich files I have to use
Thank you

TAIWAR


Maxim Pishnyak

I need a link.

And you can try Language overrides.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

dbcig2013

did you tried to modify the    "your language"  .com_virtuemart_oder.ini

yourdomaine/language/

TAIWAR

Hello, thanks for your answer.
I ve already translate on the fr-FR.com_virtuemart_orders.ini but it doesn't change.

Look on attachment an exemple of invoice please.

[attachment cleanup by admin]

dbcig2013

the com.virtuemart_order   is only for the beginning => until shipment array.

for the footer you have to modify the

language/fr-FR/fr-FR.com_virtuemart.ini   

vers ligne   273 ..
COM_VIRTUEMART_ORDER_PRINT_TOTAL="Total"

dbcig2013

Quote from: TAIWAR on September 15, 2013, 18:26:24 PM
Hello, thanks for your answer.
I ve already translate on the fr-FR.com_virtuemart_orders.ini but it doesn't change.

Look on attachment an exemple of invoice please.

=> for totaly in french: write in french in " the status name  field"




[attachment cleanup by admin]

TAIWAR

I don't know maybe there is "a bug "on pdf invoice, I change the file translation fr-FR.com_virtuemart.ini  and fr-FR.com_virtuemart_orders.ini =>  it modify in backend in the order when I use the button print the invoice, but not ok with the button save the pdf invoice :  nothing change...

And can you tell me where I can delete the picture for payment in pdf please.

Thank you.

dbcig2013

perhaps  you have to play with the invoice_order.php file
/component/com_virtuemart/view/invoice/tmpl/

=>  orderDetails['paymentName']  allow to display all of the informations ("logo , name and description ")

Probably there is a fonction which only display the name or description.
=> order['paymentName'] ??
i ll try it ...



[attachment cleanup by admin]

TAIWAR

Thank you but I can't find the code from the picture 'payment name' only delete the picture...

On the backend, when I use the button print pdf invoice  there is modification if I delete a line from orderdetails 'paymentName' but with the button download pdf it doesn't change the pdf invoice... A bug or a wrong file I used ?

TAIWAR


Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

TAIWAR

It's ok with the text TOTAL I can now change it in .com_virtuemart_oder.ini 

But the other part not solved, I try with /component/com_virtuemart/view/invoice/tmpl/ invoice_order.pdf but I can't change or delete the line for shipment or payment, I still have always defaut pdf configuration...

TAIWAR

Hello, I always try to solve the pdf invoce... can't override or change the invoice_order.php or invoice.php, nothing change even if I delete some lines..help please...

TAIWAR

I solve it :
I change directly in invoice_order.php because when  I override it changes nothing and my problem comes also with firefox, I delete cache and it's ok now.