FIX : accounting mode must be taken from global conf, because there's no way to choose a mode with interface
This commit is contained in:
parent
f8de11492e
commit
cce8f98afc
@ -37,7 +37,7 @@ require_once DOL_DOCUMENT_ROOT.'/expensereport/class/paymentexpensereport.class.
|
||||
// Load translation files required by the page
|
||||
$langs->loadLangs(array("other","compta","banks","bills","companies","product","trips","admin","accountancy"));
|
||||
|
||||
$modecompta = GETPOST('modecompta','alpha');
|
||||
$modecompta = $conf->global->ACCOUNTING_MODE;
|
||||
|
||||
// Date range
|
||||
$year=GETPOST("year",'int');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user