Jump to content

(RISOLTO)- PDF FATTURA - Aiutooooo


Giusy
 Share

Recommended Posts

PRESTASHOP 1.2.5

Un saluto al forum.

Vi chiedo aiuto e spero che un'anima pia mi aiuti.

Vi allego la schermata della mia fattura e il pdf.php (cartella classes) a cui ho apportato alcune modifiche leggendo nei vari forum :down: ma ...mi sono arenata................ HELPPPPPPPPPPPPPP AGLI ESPERTI.

Non ho la più pallida idea come aggiungere alcuni campi mancanti:

C.Fiscale e P.IVA.

HELPPPPPPPPPPPPPPP


Giusy

PDF.php

Fattura.pdf

Share this post


Link to post
Share on other sites

Forse devo inserire questi campi?

Ho letto nei vari formum e da una modifica fatta da Disarci...non ricordo il link

ho aggiunto:

$pdf->Cell($width, 10, self::l('C.Fiscale.:').' '.Tools::iconv('utf-8', self::encoding(), $invoice_customer->cf), 0, 'L');
$pdf->Ln(5);
$pdf->Cell($width, 10, ' ', 0, 'L');
$pdf->Cell($width, 10, self::l('P.IVA:').' '.Tools::iconv('utf-8', self::encoding(), $invoice_customer->piva), 0, 'L');


ma non li scrive in fattura.

i dati sono stati inseriti durante l'iscrizione............. sembra non legga dal DB........... dove sbaglio???????

AIUTOOOOOOOOOOOOOOOOOOOOO

Grazie

Share this post


Link to post
Share on other sites

Ciao Giusy,

ti posto la porzione di codice inserita nella versione localizzata:

$pdf->Ln(5);
$pdf->Cell($width, 10, ' ', 0, 'L');
$pdf->Cell($width, 10, self::l('CF:').' '.Tools::iconv('utf-8', self::encoding(), $invoice_customer->cf), 0, 'L');
$pdf->Ln(5);
$pdf->Cell($width, 10, ' ', 0, 'L');
$pdf->Cell($width, 10, self::l('Piva:').' '.Tools::iconv('utf-8', self::encoding(), $invoice_customer->piva), 0, 'L');        



dovrebbe funzionare

Fammi sapere.

Ciroco05

Share this post


Link to post
Share on other sites

  • 2 weeks later...

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