There is no automatic method to recreate the PDF of invoices – which should not be done as you wish due to judicial reasons. However, if you need to do it, you can by simply deleting one value in the database by setting it to
Go to the table
Please note that the old PDF will still remain on your server storage. That shouldn’t be a big problem due to the small file size. However, if you want to delete it, locate the PDF first by using the
NULL.Go to the table
kppsX_invoice (where X is then installation number), select the invoice you want to recreate the PDF for and set the value of the row pdfID to NULL. As soon as you or the customer tries to access the invoice again it will be recreated automatically.Please note that the old PDF will still remain on your server storage. That shouldn’t be a big problem due to the small file size. However, if you want to delete it, locate the PDF first by using the
pdfID from the table kppsX_invoice and look for it in the table kppsX_invoice_pdf. There you will find the row fileHash, which is needed to identify the PDF on the webspace. Then, go to the directory storage/invoice/ in your shop directory on the web server. You will find many folders there, each with a name of two characters. Select the folder named with the first two characters of the hash. For instance, if your fileHash is 6831a64c4c9a882d9a31e3807255b89244cae650, go to the directory 68. There you will find a file with the name of the fileHash. Just delete it.
1.688 mal gelesen