Merge pull request #11479 from atm-gauthier/8.0_fix_report_by_tva
FIX : accounting mode must be taken from global conf, because there's…
This commit is contained in:
commit
f285bed2ff
@ -37,7 +37,7 @@ require_once DOL_DOCUMENT_ROOT.'/expensereport/class/paymentexpensereport.class.
|
|||||||
// Load translation files required by the page
|
// Load translation files required by the page
|
||||||
$langs->loadLangs(array("other","compta","banks","bills","companies","product","trips","admin","accountancy"));
|
$langs->loadLangs(array("other","compta","banks","bills","companies","product","trips","admin","accountancy"));
|
||||||
|
|
||||||
$modecompta = GETPOST('modecompta','alpha');
|
$modecompta = (GETPOST('modecompta', 'alpha') ? GETPOST('modecompta', 'alpha') : $conf->global->ACCOUNTING_MODE);
|
||||||
|
|
||||||
// Date range
|
// Date range
|
||||||
$year=GETPOST("year",'int');
|
$year=GETPOST("year",'int');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user