raphael753 Posted April 16, 2011 Share Posted April 16, 2011 Bonjour,Je cherche désespérément à modifier le pdf.php pour y intégrer les infos contenus dans la table livreadress - other .Dans le formulaire d'inscription je demande aux clients de donner leur code d'immeuble, l'étage... Et j'aimerai que le transporteur (mon livreur) puisse avoir ces infos quand j'imprime le PDF.Some help ? Link to comment Share on other sites More sharing options...
anda81 Posted April 25, 2011 Share Posted April 25, 2011 Bonjour,J'ai trouvé ce week-end comment faire, après avoir beaucoup cherché...Pour la version 1.4 de PS, dans le fichier pdf.php du dossier classes à la ligne 521 (juste avant /*Display order information*/)tu ajoutes :if (!empty($delivery_address->other)) { $pdf->Cell($width, 10, Tools::iconv('utf-8', self::encoding(), $delivery_address->other), 0, 'L'); }J'espère que ça t'aidera... 1 Link to comment 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