Merge pull request #24049 from aspangaro/17p9
v17 Merge problem - Restore #22762 - Accountancy - Better warning for situation invoice in index
This commit is contained in:
commit
dbecbc3fb8
@ -83,12 +83,7 @@ $help_url = 'EN:Module_Double_Entry_Accounting#Setup';
|
|||||||
|
|
||||||
llxHeader('', $langs->trans("AccountancyArea"), $help_url);
|
llxHeader('', $langs->trans("AccountancyArea"), $help_url);
|
||||||
|
|
||||||
if (!empty($conf->global->INVOICE_USE_SITUATION) && $conf->global->INVOICE_USE_SITUATION == 1) {
|
if (isModEnabled('accounting')) {
|
||||||
print load_fiche_titre($langs->trans("AccountancyArea"), '', 'accountancy');
|
|
||||||
|
|
||||||
print '<span class="opacitymedium">'.$langs->trans("SorryThisModuleIsNotCompatibleWithTheExperimentalFeatureOfSituationInvoices")."</span>\n";
|
|
||||||
print "<br>";
|
|
||||||
} elseif (isModEnabled('accounting')) {
|
|
||||||
$step = 0;
|
$step = 0;
|
||||||
|
|
||||||
$resultboxes = FormOther::getBoxesArea($user, "27"); // Load $resultboxes (selectboxlist + boxactivated + boxlista + boxlistb)
|
$resultboxes = FormOther::getBoxesArea($user, "27"); // Load $resultboxes (selectboxlist + boxactivated + boxlista + boxlistb)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user