From 6496f49df6b5bf920ae58717e33e29d410cb793e Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Fri, 26 Jul 2024 15:54:39 +0700 Subject: [PATCH] Report only show to admin and report user --- ui/ui/sections/header.tpl | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/ui/ui/sections/header.tpl b/ui/ui/sections/header.tpl index 00cc18bc..78691f59 100644 --- a/ui/ui/sections/header.tpl +++ b/ui/ui/sections/header.tpl @@ -329,12 +329,14 @@ {/if} {$_MENU_AFTER_PLANS}
  • - - {Lang::T('Reports')} - - - - + {if in_array($_admin['user_type'],['SuperAdmin','Admin', 'Report'])} + + {Lang::T('Reports')} + + + + + {/if}