mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 17:48:25 +01:00
Fix: select entity view
This commit is contained in:
@@ -485,7 +485,7 @@ function dol_loginfunction2($langs,$conf,$mysoc)
|
||||
$mc = new Multicompany($db);
|
||||
$mc->getEntities();
|
||||
|
||||
$smarty->assign('entity', $mc->select_entities($mc->entities,$lastentity,'tabindex="3"'));
|
||||
$smarty->assign('select_entity', $mc->select_entities($mc->entities,$lastentity,'tabindex="3"'));
|
||||
}
|
||||
|
||||
// Security graphical code
|
||||
|
||||
@@ -69,12 +69,12 @@
|
||||
|
||||
</ul>
|
||||
|
||||
{if $entity}
|
||||
{if $select_entity}
|
||||
<span class="graytitle">{$langs->trans('Entity')}</span>
|
||||
<ul class="pageitem">
|
||||
<li class="form">
|
||||
{$entity}
|
||||
<span class="arrow" />
|
||||
{$select_entity}
|
||||
<span class="arrow"></span>
|
||||
</li>
|
||||
</ul>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user