Update bankentries_list.php
This commit is contained in:
parent
af32ef266c
commit
0dabbcd7f5
@ -1401,11 +1401,13 @@ if ($resql)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($companylinked_id) {
|
if ($companylinked_id) {
|
||||||
|
// TODO Add a cache of loaded companies here
|
||||||
$companystatic->fetch($companylinked_id);
|
$companystatic->fetch($companylinked_id);
|
||||||
print $companystatic->getNomUrl(1);
|
print $companystatic->getNomUrl(1);
|
||||||
} elseif ($userlinked_id &&
|
} elseif ($userlinked_id &&
|
||||||
(($type_link == 'payment_salary' && !empty($user->rights->salaries->read))
|
(($type_link == 'payment_salary' && !empty($user->rights->salaries->read))
|
||||||
|| ($type_link == 'payment_sc' && !empty($user->rights->tax->charges->lire)))){
|
|| ($type_link == 'payment_sc' && !empty($user->rights->tax->charges->lire)))){
|
||||||
|
// TODO Add a cache of loaded users here
|
||||||
$userstatic->fetch($userlinked_id);
|
$userstatic->fetch($userlinked_id);
|
||||||
print $userstatic->getNomUrl(1);
|
print $userstatic->getNomUrl(1);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user