diff --git a/htdocs/fourn/card.php b/htdocs/fourn/card.php index 5dfd3b62dc5..db3dedc515e 100644 --- a/htdocs/fourn/card.php +++ b/htdocs/fourn/card.php @@ -5,6 +5,7 @@ * Copyright (C) 2005-2010 Regis Houssin * Copyright (C) 2010-2014 Juanjo Menent * Copyright (C) 2014 Jean Heimburger + * Copyright (C) 2015 Marcos GarcĂ­a * * 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 @@ -33,11 +34,11 @@ require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php'; if (! empty($conf->adherent->enabled)) require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php'; +$langs->load('companies'); $langs->load('suppliers'); $langs->load('products'); $langs->load('bills'); $langs->load('orders'); -$langs->load('companies'); $langs->load('commercial'); $action = GETPOST('action'); @@ -184,13 +185,13 @@ if ($object->fetch($id)) // Local Taxes if ($mysoc->useLocalTax(1)) { - print ''.$langs->trans("LocalTax1IsUsed").''; + print ''.$langs->transcountry("LocalTax1IsUsed", $mysoc->country_code).''; print yn($object->localtax1_assuj); print ''; } if ($mysoc->useLocalTax(2)) { - print ''.$langs->trans("LocalTax2IsUsed").''; + print ''.$langs->transcountry("LocalTax2IsUsed", $mysoc->country_code).''; print yn($object->localtax2_assuj); print ''; }