hide export stat on client list when user is not admin
This commit is contained in:
parent
06c74a049b
commit
f7078cf4a3
@ -13,9 +13,12 @@
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="d-flex jsutify-content-end">
|
||||
<button class="btn btn-secondary" id="exportClientStat">Export client stat</button>
|
||||
</div>
|
||||
<?php if(isset($_['groups']) && in_array('admin', $_['groups'])) : ?>
|
||||
<div class="d-flex jsutify-content-end">
|
||||
<button class="btn btn-secondary" id="exportClientStat">Export client stat</button>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<?php endif; ?>
|
||||
<table id="client" class="display tabledt" style="font-size:11px;">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user