VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: TAIWAR on September 08, 2013, 15:27:51 PM

Title: How Change pdf invoice VM 2022a ?
Post by: TAIWAR on September 08, 2013, 15:27:51 PM
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
Title: Re: How Change pdf invoice VM 2022a ?
Post by: TAIWAR on September 09, 2013, 20:47:31 PM
Someone please  ?
Title: Re: How Change pdf invoice VM 2022a ?
Post by: Maxim Pishnyak on September 12, 2013, 22:32:38 PM
I need a link.

And you can try Language overrides.
Title: Re: How Change pdf invoice VM 2022a ?
Post by: dbcig2013 on September 15, 2013, 12:05:03 PM
did you tried to modify the    "your language"  .com_virtuemart_oder.ini

yourdomaine/language/
Title: Re: How Change pdf invoice VM 2022a ?
Post by: 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.

[attachment cleanup by admin]
Title: Re: How Change pdf invoice VM 2022a ?
Post by: dbcig2013 on September 15, 2013, 22:35:52 PM
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"
Title: Re: How Change pdf invoice VM 2022a ?
Post by: dbcig2013 on September 15, 2013, 23:10:31 PM
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]
Title: Re: How Change pdf invoice VM 2022a ?
Post by: TAIWAR on September 16, 2013, 11:09:45 AM
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.
Title: Re: How Change pdf invoice VM 2022a ?
Post by: dbcig2013 on September 16, 2013, 22:08:11 PM
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]
Title: Re: How Change pdf invoice VM 2022a ?
Post by: TAIWAR on September 17, 2013, 10:02:18 AM
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 ?
Title: Re: How Change pdf invoice VM 2022a ?
Post by: TAIWAR on September 27, 2013, 09:55:17 AM
No reply please ?
Title: Re: How Change pdf invoice VM 2022a ?
Post by: Maxim Pishnyak on September 27, 2013, 11:19:57 AM
Quote from: Maxim Pishnyak on September 12, 2013, 22:32:38 PM
I need a link.
...to a test order.

What issues still not resolved for you?
Title: Re: How Change pdf invoice VM 2022a ?
Post by: TAIWAR on October 31, 2013, 20:54:50 PM
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...
Title: Re: How Change pdf invoice VM 2022a ?
Post by: TAIWAR on November 04, 2013, 14:35:05 PM
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...
Title: Re: How Change pdf invoice VM 2022a ?
Post by: TAIWAR on November 08, 2013, 22:27:18 PM
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.