Giga_Boss Posted May 12, 2014 Share Posted May 12, 2014 Bonjour, je voudrais (à la demande de la comptable) afficher le numéro de facture de chaque commande directement, à droite par exemple, de la référence. Comment faire cela ? Merci Link to comment Share on other sites More sharing options...
tuk66 Posted May 15, 2014 Share Posted May 15, 2014 Modifier modèle de /pdf/invoice.tpl. Edit /pdf/invoice.tpl template. Link to comment Share on other sites More sharing options...
Giga_Boss Posted May 18, 2014 Author Share Posted May 18, 2014 Bonjour, en fait je veux afficher le numéro de facture directement dans Admin > Commandes, pas sur la facture. Link to comment Share on other sites More sharing options...
tuk66 Posted May 19, 2014 Share Posted May 19, 2014 Essayez d'ajouter cet article: Try to add this item: 'invoice_number' => array( 'title' => $this->l('Invoice no.') ), to the $this->fields_list array in the /controllers/admin/AdminOrdersController.php file. Note: not tested. 2 Link to comment Share on other sites More sharing options...
Giga_Boss Posted May 19, 2014 Author Share Posted May 19, 2014 Essayez d'ajouter cet article: Try to add this item: 'invoice_number' => array( 'title' => $this->l('Invoice no.') ), to the $this->fields_list array in the /controllers/admin/AdminOrdersController.php file. Note: not tested. Merci, c'est exactement ça ! Link to comment Share on other sites More sharing options...
nullos Posted May 21, 2014 Share Posted May 21, 2014 (edited) Merci beaucoup ! Edited May 21, 2014 by nullos (see edit history) Link to comment Share on other sites More sharing options...
MélissaA Posted March 28, 2017 Share Posted March 28, 2017 Bonjour, Je souhaiterais faire de même sauf que le code : 'invoice_number' => array( 'title' => $this->l('Invoice no.')),Ne fonctionne pas. Merci pour votre aide.Version Prestashop : 1.6.1.4 Link to comment Share on other sites More sharing options...
laurent75014 Posted June 21, 2017 Share Posted June 21, 2017 Bonjour, J'ai mis le code suivant avec Prestashop : 1.6.1.4 $this->fields_list['invoice_number'] = array( 'title' => $this->l('Invoice no.'), 'havingFilter' => true, ); Link to comment Share on other sites More sharing options...
Neoziox Posted December 15, 2020 Share Posted December 15, 2020 On 6/21/2017 at 5:10 PM, laurent75014 said: Bonjour, J'ai mis le code suivant avec Prestashop : 1.6.1.4 $this->fields_list['invoice_number'] = array( 'title' => $this->l('Invoice no.'), 'havingFilter' => true, ); Super ça a fonctionné chez moi aussi avec 1.7.6.4 En revanche dans /override/controllers/admin/AdminOrdersController.php (plus propre je crois) Link to comment Share on other sites More sharing options...
Camillelinia Posted May 18, 2021 Share Posted May 18, 2021 (edited) Bonjour Cela ne fonctionne pas sur la 1.7.7 quelqu'un aurai la gentillesse de donner le code pour la 1.7.7 ? Edited May 18, 2021 by Camillelinia (see edit history) Link to comment Share on other sites More sharing options...
Gaca Posted June 12, 2021 Share Posted June 12, 2021 Je cherche également la même chose Link to comment Share on other sites More sharing options...
Gaca Posted October 10, 2021 Share Posted October 10, 2021 Salut tous le monde , Toujours pas de solution pour 1.7.7 ? Cordialement 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