News:

Support the VirtueMart project and become a member

Main Menu

Invoice PDF 3.6.10 not Overwrite when change fields

Started by panne003, March 02, 2020, 10:29:32 AM

Previous topic - Next topic

panne003

Hello,
I use virtuemart 3.6.10 (10211). When i get an paid order, an pdf invoice will be make automatic. But when i change the delivery date and change the name or something else. The pdf is not changing/overwrite. What can i do so that virtuemart overwrite the excisting pdf?



GJC Web Design

delete the existing pdf?

when creating it checks first if it exists
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

panne003

Hello,

Yes, when i delete in ftp the existing file then it will be change the data. But when the existing file is not removed it not will be change the data.

GJC Web Design

That's the system.. as I understand it in most jurisdictions an invoice is a legal document that is not supposed to be changed ...
the theory being if you want to change the invoice then a new one should be issued ..
I think this is what happens when u change any product, price etc
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

panne003

#4
I have just update from 3.0.16 to the latest version. In the old version the pdf wil be overwritten when i change the date to delivery. When I change the date to the actually delivery date and I confirm the customer than it has to be the actualy delivery date, not "same a invoice date". Otherwise the deliverydate field is not necessary.

The invoicenumber is still the same.  Some times the customer has made a fault in the adresses or email adresses then i have to change that.