Report only show to admin and report user

This commit is contained in:
Ibnu Maksum 2024-07-26 15:54:39 +07:00
parent cc68770f51
commit 6496f49df6
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

View File

@ -329,12 +329,14 @@
{/if}
{$_MENU_AFTER_PLANS}
<li class="{if $_system_menu eq 'reports'}active{/if} treeview">
{if in_array($_admin['user_type'],['SuperAdmin','Admin', 'Report'])}
<a href="#">
<i class="ion ion-clipboard"></i> <span>{Lang::T('Reports')}</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
{/if}
<ul class="treeview-menu">
<li {if $_system_menu eq 'reports' }class="active" {/if}><a
href="{$_url}reports">{Lang::T('Daily Reports')}</a></li>
@ -490,7 +492,8 @@
<i class="ion ion-ios-bookmarks"></i>
<span class="text">{Lang::T('Documentation')}</span>
{if $_c['docs_clicked'] != 'yes'}
<span class="pull-right-container"><small class="label pull-right bg-green">New</small></span>
<span class="pull-right-container"><small
class="label pull-right bg-green">New</small></span>
{/if}
</a>
</li>