Jump to content

Modifica fattura: file pdf.php danneggiato


Rain_xx
 Share

Recommended Posts

Salve ragazzi!

Ogni volta che provo a modificare il file pdf.php, il file si danneggia in qualche modo e non funziona più il download della fattura.

Reinserendo la copia di backup che avevo tenuto, tutto torna a funzionare.

Ho fatto anche la prova semplicemente ad aprire il file e togliere e rimettere uno spazio, ed il risultato è lo stesso, quindi evidentemente non è questione di codice inserito sbagliato.

 

Qual è il modo corretto per modificare questo file in maniera che non si danneggi?

Share this post


Link to post
Share on other sites

  • 2 weeks later...

Grazie del suggerimento, ha funzionato :)

Volevo anche aggiungere qualche parola nel testo, in particolare all'indirizzo in alto nella fattura, per mettere 'telefono' e 'cellulare' accanto alle relative voci... sapete dirmi come fare?

Share this post


Link to post
Share on other sites

  • 4 months later...

buongiorno, per chi come me non è pratico di PHP è possibile avere un esempio di come intervenire sul file pdf.php per aggiungere le intestazioni alle voci della fattura tipo nome, cognome, p.iva, ecc???

 

grazie

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More