Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
This commit is contained in:
commit
00069da946
@ -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)
|
||||||
|
|||||||
@ -176,7 +176,7 @@ if ($elemid && $action == 'addintocategory' &&
|
|||||||
($type == Categorie::TYPE_SUPPLIER && $user->rights->societe->creer) ||
|
($type == Categorie::TYPE_SUPPLIER && $user->rights->societe->creer) ||
|
||||||
($type == Categorie::TYPE_TICKET && $user->rights->ticket->write) ||
|
($type == Categorie::TYPE_TICKET && $user->rights->ticket->write) ||
|
||||||
($type == Categorie::TYPE_PROJECT && $user->rights->projet->creer) ||
|
($type == Categorie::TYPE_PROJECT && $user->rights->projet->creer) ||
|
||||||
($type == Categorie::TYPE_MEMBER && $user->rights->projet->creer) ||
|
($type == Categorie::TYPE_MEMBER && $user->hasRight('adherent', 'creer')) ||
|
||||||
($type == Categorie::TYPE_CONTACT && $user->rights->societe->creer) ||
|
($type == Categorie::TYPE_CONTACT && $user->rights->societe->creer) ||
|
||||||
($type == Categorie::TYPE_USER && $user->rights->user->user->creer) ||
|
($type == Categorie::TYPE_USER && $user->rights->user->user->creer) ||
|
||||||
($type == Categorie::TYPE_ACCOUNT && $user->rights->banque->configurer)
|
($type == Categorie::TYPE_ACCOUNT && $user->rights->banque->configurer)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user