diff --git a/htdocs/admin/fournisseur.php b/htdocs/admin/fournisseur.php index 7f662eebf43..3434c5c1d93 100644 --- a/htdocs/admin/fournisseur.php +++ b/htdocs/admin/fournisseur.php @@ -32,6 +32,7 @@ require("../main.inc.php"); require_once(DOL_DOCUMENT_ROOT."/lib/admin.lib.php"); require_once(DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.class.php'); require_once(DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php'); +require_once(DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php'); $langs->load("admin"); $langs->load("bills"); @@ -577,7 +578,7 @@ while (($file = readdir($handle))!==false) print $html->textwithpicto('',$htmltooltip,1,0); print ''; print ''; - print ''.img_object($langs->trans("Preview"),'order').''; + print ''.img_object($langs->trans("Preview"),'bill').''; print ''; print "\n"; diff --git a/htdocs/document.php b/htdocs/document.php index 853a9486564..827d93f5b41 100644 --- a/htdocs/document.php +++ b/htdocs/document.php @@ -4,6 +4,7 @@ * Copyright (C) 2005 Simon Tosser * Copyright (C) 2005-2009 Regis Houssin * Copyright (C) 2010 Pierre Morin + * Copyright (C) 2010 Juanjo Menent * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by