Merge pull request #14893 from FHenry/develop
Add missing lang file (if order is billed the status icon "billed" is not translated
This commit is contained in:
commit
440ad2035e
@ -33,7 +33,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/html.formcompany.class.php';
|
|||||||
require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php';
|
||||||
|
|
||||||
// Load translation files required by the page
|
// Load translation files required by the page
|
||||||
$langs->loadLangs(array('orders', 'sendings', 'companies'));
|
$langs->loadLangs(array('orders', 'sendings', 'companies', 'bills'));
|
||||||
|
|
||||||
$id = GETPOST('id', 'int');
|
$id = GETPOST('id', 'int');
|
||||||
$ref = GETPOST('ref', 'alpha');
|
$ref = GETPOST('ref', 'alpha');
|
||||||
|
|||||||
@ -37,7 +37,7 @@ if (!empty($conf->projet->enabled)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Load translation files required by the page
|
// Load translation files required by the page
|
||||||
$langs->loadLangs(array('companies', 'other'));
|
$langs->loadLangs(array('companies', 'other', 'bills'));
|
||||||
|
|
||||||
$action = GETPOST('action', 'aZ09');
|
$action = GETPOST('action', 'aZ09');
|
||||||
$confirm = GETPOST('confirm');
|
$confirm = GETPOST('confirm');
|
||||||
|
|||||||
@ -34,7 +34,7 @@ if (!empty($conf->projet->enabled)) {
|
|||||||
if (!$user->rights->commande->lire) accessforbidden();
|
if (!$user->rights->commande->lire) accessforbidden();
|
||||||
|
|
||||||
// Load translation files required by the page
|
// Load translation files required by the page
|
||||||
$langs->loadLangs(array('orders', 'sendings'));
|
$langs->loadLangs(array('orders', 'sendings', 'bills'));
|
||||||
|
|
||||||
$socid = 0;
|
$socid = 0;
|
||||||
$comid = GETPOST("id", 'int');
|
$comid = GETPOST("id", 'int');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user