Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
This commit is contained in:
commit
0eb0ee5bb1
@ -650,6 +650,7 @@ if ($result) {
|
|||||||
|
|
||||||
// Accounting account
|
// Accounting account
|
||||||
if ($arrayfields['account']['checked']) {
|
if ($arrayfields['account']['checked']) {
|
||||||
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/accounting.lib.php';
|
||||||
$accountingaccount->fetch('', $obj->accountancy_code, 1);
|
$accountingaccount->fetch('', $obj->accountancy_code, 1);
|
||||||
|
|
||||||
print '<td>'.$accountingaccount->getNomUrl(0, 1, 1, '', 1).'</td>';
|
print '<td>'.$accountingaccount->getNomUrl(0, 1, 1, '', 1).'</td>';
|
||||||
|
|||||||
@ -418,7 +418,7 @@ if (! empty($conf->categorie->enabled))
|
|||||||
// If the user can view user other than himself
|
// If the user can view user other than himself
|
||||||
$moreforfilter .= '<div class="divsearchfield">';
|
$moreforfilter .= '<div class="divsearchfield">';
|
||||||
$moreforfilter .= '<div class="inline-block hideonsmartphone"></div>';
|
$moreforfilter .= '<div class="inline-block hideonsmartphone"></div>';
|
||||||
$includeonly = 'hierachyme';
|
$includeonly = 'hierarchyme';
|
||||||
if (empty($user->rights->user->user->lire)) {
|
if (empty($user->rights->user->user->lire)) {
|
||||||
$includeonly = array($user->id);
|
$includeonly = array($user->id);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user