mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-05-10 22:16:26 +02:00
operator faktura config
This commit is contained in:
parent
819592a77d
commit
ae4ff98d9b
16 changed files with 186 additions and 260 deletions
|
@ -200,16 +200,15 @@ sub tpl(){
|
|||
}
|
||||
|
||||
#1. submenue
|
||||
#if($subs1 && ($node->{$id}->{node_name} !~ /Einstellung/ || $users_dms->{u_group} =~ /maintainer/)){
|
||||
if($subs1){
|
||||
#if(ref($node1) eq "HASH"){
|
||||
print "<li class='nav-item dropdown'>\n";#with integrated event_button
|
||||
print "<a class='nav-link dropdown-toggle $mclass' href='#' style='' id='navbarDropdown' role='button' data-bs-toggle='dropdown' aria-expanded='false'> $node->{$id}->{node_name} </a>\n";
|
||||
print "<ul class='dropdown-menu' aria-labelledby='navbarDropdown'>\n";
|
||||
print "<li class='nav-item'> $lmenu0 </li><li><hr class='dropdown-divider'></li>\n";
|
||||
my $lmenu1;
|
||||
my $lmenu1 = "";
|
||||
foreach my $id1 (sort {$node1->{$a}->{n_sort} <=> $node1->{$b}->{n_sort}} keys (%$node1)){
|
||||
if($node1->{$id1}->{node_name} !~ /Firma|System/){
|
||||
#hide Faktura config or be admin
|
||||
if(($node1->{$id1}->{template_id} !~ /196|201/) || ($users_dms_primary->{u_id} && $users_dms_primary->{int02} >= 1)){
|
||||
my $node2 = $db->collect_noderel($node1->{$id1}->{main_id},$lang,$users_dms->{u_id});
|
||||
$topath = "/$viewsel[0]/$node->{$id}->{node_name}";
|
||||
$mclass = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue