Author Topic: PDF invoice Editing issue  (Read 773 times)

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3212
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: PDF invoice Editing issue
« Reply #15 on: December 23, 2020, 12:25:48 pm »
You must have missed something, code does not behave as ghosts that come back to haunt you. There is one possibility left, rename the original VM template files that you have overridden, just to make sure that the correct files are used. At best it will work, or you will get a error notice at worst the code comes from another hard coded source.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Murad

  • Beginner
  • *
  • Posts: 10
  • A beginner
Re: PDF invoice Editing issue
« Reply #16 on: December 28, 2020, 16:49:22 pm »
I  rename all files in invoice template "components/com_virtuemart/views/invoice/tmpl"
but there is no error when I download the invoice pdf so I think the editing of this invoice of pdf files is in different  location.
can someone Explain me where to edit the following invoice pdf file in coding
Joomla 3.9.23
Virtuemart 3.8.x
PHP 7.4

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10022
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: PDF invoice Editing issue
« Reply #17 on: December 28, 2020, 17:46:34 pm »
In your template?????

templates/YOUR_TEMPLATE/html/com_virtuemart/invoices

some templates add their own paths in some other folder like /layout or /different_folder_just_to_f_u_off
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Murad

  • Beginner
  • *
  • Posts: 10
  • A beginner
Re: PDF invoice Editing issue
« Reply #18 on: January 04, 2021, 16:40:32 pm »
Currently I am working on Orignal Vm files
all other tmpl files print and delivery note working fine with no Vendor name Text but in invoice PDF file  has still vendor name and address filed.
Joomla 3.9.23
Virtuemart 3.8.x
PHP 7.4

Murad

  • Beginner
  • *
  • Posts: 10
  • A beginner
Re: PDF invoice Editing issue
« Reply #19 on: January 05, 2021, 05:49:25 am »
Finally I Solved the problem with editing of vm vendor table in database here was the both text vm vendor name and address and I removed it
for here. :)

<h1><span style="vertical-align: inherit;"><span style="vertical-align: inherit;">{Vm: vendor name}</span></span></h1>
<p><span style="vertical-align: inherit;"><span style="vertical-align: inherit;">{Vm: vendor address}</span></span></p>
Joomla 3.9.23
Virtuemart 3.8.x
PHP 7.4