Giusy Posted July 4, 2010 Posted July 4, 2010 PRESTASHOP 1.2.5Un 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.HELPPPPPPPPPPPPPPPGiusy PDF.php Fattura.pdf Share this post Link to post Share on other sites More sharing options...
Giusy Posted July 5, 2010 Posted July 5, 2010 Forse devo inserire questi campi? Ho letto nei vari formum e da una modifica fatta da Disarci...non ricordo il linkho 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???????AIUTOOOOOOOOOOOOOOOOOOOOOGrazie Share this post Link to post Share on other sites More sharing options...
ciroco05 Posted July 5, 2010 Posted July 5, 2010 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 funzionareFammi sapere.Ciroco05 Share this post Link to post Share on other sites More sharing options...
Giusy Posted July 5, 2010 Posted July 5, 2010 Ciao,nienteeeeeeeeeeeeeee, sembra non leggere dal DBTi allego il pdf fattura.pdf Share this post Link to post Share on other sites More sharing options...
Giusy Posted July 18, 2010 Posted July 18, 2010 risoltoGrazieGiusy Share this post Link to post Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now