Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
master-absenku-custom
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nurchamim
master-absenku-custom
Commits
d82d8137
Commit
d82d8137
authored
Aug 28, 2025
by
nurchamim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
menghilangkan hardcore id company
parent
548b9bcd
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
186 additions
and
210 deletions
+186
-210
application/views/menu/level_1.php
+4
-8
application/views/menu/level_2.php
+45
-49
application/views/menu/level_3.php
+45
-49
application/views/menu/level_4.php
+43
-47
application/views/menu/level_5.php
+45
-49
application/views/menu/level_7.php
+4
-8
No files found.
application/views/menu/level_1.php
View file @
d82d8137
...
@@ -129,11 +129,11 @@
...
@@ -129,11 +129,11 @@
</li>
</li>
<?php
}
?>
<?php
}
?>
<li
class=
"
<?=
(
$aktif
==
'perusahaan'
)
?
'active'
:
''
?>
"
>
<
!-- <
li class="
<?=
(
$aktif
==
'perusahaan'
)
?
'active'
:
''
?>
">
<a class="dropdown-item" href="
<?=
site_url
(
'pengaturan/perusahaan'
)
?>
">
<a class="dropdown-item" href="
<?=
site_url
(
'pengaturan/perusahaan'
)
?>
">
<?=
$this
->
lang
->
line
(
'menu_profil_perusahaan'
)
?>
<?=
$this
->
lang
->
line
(
'menu_profil_perusahaan'
)
?>
</a>
</a>
</li>
</li>
-->
<li
class=
"
<?=
(
$aktif
==
'pengaturan_umum'
)
?
'active'
:
''
?>
"
>
<li
class=
"
<?=
(
$aktif
==
'pengaturan_umum'
)
?
'active'
:
''
?>
"
>
<a
class=
"dropdown-item"
href=
"
<?=
route
(
'pengaturan.umum.home'
)
?>
"
>
<a
class=
"dropdown-item"
href=
"
<?=
route
(
'pengaturan.umum.home'
)
?>
"
>
<?=
$this
->
lang
->
line
(
'menu_umum'
)
?>
<?=
$this
->
lang
->
line
(
'menu_umum'
)
?>
...
@@ -266,7 +266,6 @@
...
@@ -266,7 +266,6 @@
</li>
</li>
<?php
<?php
if
(
$this
->
id_company
!=
'202501923'
)
{
if
(
$this
->
paket_arr
[
'reimburse'
]
===
true
)
{
if
(
$this
->
paket_arr
[
'reimburse'
]
===
true
)
{
if
(
$this
->
adm_reimbursement
==
true
)
{
if
(
$this
->
adm_reimbursement
==
true
)
{
?>
?>
...
@@ -324,11 +323,10 @@
...
@@ -324,11 +323,10 @@
</a>
</a>
</li>
</li>
<?php
<?php
}
}
}
?>
?>
<?php
<?php
if
(
$this
->
id_company
!=
'202501923'
)
{
if
(
$this
->
adm_payroll
==
true
)
{
if
(
$this
->
adm_payroll
==
true
)
{
if
(
$this
->
paket_arr
[
'payroll'
]
===
true
)
{
if
(
$this
->
paket_arr
[
'payroll'
]
===
true
)
{
?>
?>
...
@@ -409,10 +407,9 @@
...
@@ -409,10 +407,9 @@
</li>
</li>
<?php
<?php
}
}
}
}
}
?>
?>
<?php
if
(
$this
->
id_company
!=
'202501923'
)
:
?>
<?php
if
(
$this
->
paket_arr
[
'sales_activity'
]
===
true
)
:
?>
<?php
if
(
$this
->
paket_arr
[
'sales_activity'
]
===
true
)
:
?>
<li
class=
"nav-item
<?=
(
$aktif
==
'sales_activity'
)
?
'active'
:
''
?>
"
>
<li
class=
"nav-item
<?=
(
$aktif
==
'sales_activity'
)
?
'active'
:
''
?>
"
>
<a
href=
"
<?=
route
(
'sales_activity.home'
)
?>
"
class=
"nav-link"
>
<a
href=
"
<?=
route
(
'sales_activity.home'
)
?>
"
class=
"nav-link"
>
...
@@ -429,7 +426,6 @@
...
@@ -429,7 +426,6 @@
</a>
</a>
</li>
</li>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
endif
;
?>
<!-- KPI -->
<!-- KPI -->
<?php
if
(
$this
->
paket_arr
[
'kpi'
])
:
?>
<?php
if
(
$this
->
paket_arr
[
'kpi'
])
:
?>
...
...
application/views/menu/level_2.php
View file @
d82d8137
...
@@ -129,60 +129,58 @@
...
@@ -129,60 +129,58 @@
</li>
</li>
<?php
<?php
if
(
$this
->
id_company
!=
'202501923'
)
{
if
(
$this
->
paket_arr
[
'reimburse'
]
===
true
)
{
if
(
$this
->
paket_arr
[
'reimburse'
]
===
true
)
{
?>
?>
<li
dropdown
mega-dropdown
nav-item
<?=
in_array
(
$aktif
,
array
(
'reimburse'
,
'laporan_reimburse'
,
'reimburse_saya'
))
?
'show'
:
''
?>
"
data-menu=
"megamenu"
>
<li
dropdown
mega-dropdown
nav-item
<?=
in_array
(
$aktif
,
array
(
'reimburse'
,
'laporan_reimburse'
,
'reimburse_saya'
))
?
'show'
:
''
?>
"
data-menu=
"megamenu"
>
<a
class=
"dropdown-toggle nav-link"
href=
"#"
data-toggle=
"dropdown"
>
<a
class=
"dropdown-toggle nav-link"
href=
"#"
data-toggle=
"dropdown"
>
<i
class=
"fa fa-file-text-o"
></i><span>
<?=
$this
->
lang
->
line
(
'menu_reimbursement'
)
?>
</span>
<i
class=
"fa fa-file-text-o"
></i><span>
<?=
$this
->
lang
->
line
(
'menu_reimbursement'
)
?>
</span>
</a>
</a>
<ul
class=
"mega-dropdown-menu dropdown-menu row"
>
<ul
class=
"mega-dropdown-menu dropdown-menu row"
>
<li
class=
"col-md-12 p-0"
data-mega-col=
"col-md-12"
>
<li
class=
"col-md-12 p-0"
data-mega-col=
"col-md-12"
>
<ul
class=
"drilldown-menu"
>
<ul
class=
"drilldown-menu"
>
<li
class=
"menu-list"
>
<li
class=
"menu-list"
>
<ul
class=
"mega-menu-sub"
>
<ul
class=
"mega-menu-sub"
>
<li
class=
"nav-item
<?=
(
$aktif
==
'reimburse_saya'
)
?
'active'
:
''
?>
"
onclick=
"sessionStorage.setItem('sel_tab',1)"
>
<li
class=
"nav-item
<?=
(
$aktif
==
'reimburse_saya'
)
?
'active'
:
''
?>
"
onclick=
"sessionStorage.setItem('sel_tab',1)"
>
<a
href=
"
<?=
route
(
'reimburse.pengajuan.saya'
,
[
'pengajuan'
=>
'saya'
])
?>
"
class=
"nav-link"
>
<a
href=
"
<?=
route
(
'reimburse.pengajuan.saya'
,
[
'pengajuan'
=>
'saya'
])
?>
"
class=
"nav-link"
>
<span>
<?=
$this
->
lang
->
line
(
'menu_pengajuan_saya'
)
?>
</span>
<span>
<?=
$this
->
lang
->
line
(
'menu_pengajuan_saya'
)
?>
</span>
</a>
</li>
<li
class=
"nav-item
<?=
(
$aktif
==
'reimburse'
)
?
'active'
:
''
?>
"
>
<a
href=
"
<?=
route
(
'reimburse.pengajuan.home'
)
?>
"
class=
"nav-link"
>
<span>
<?=
$this
->
lang
->
line
(
'menu_pengajuan_karyawan'
)
?>
</span>
</a>
</li>
<?php
if
(
$this
->
adm_reimbursement
==
true
)
{
?>
<li
class=
"nav-item
<?=
(
$aktif
==
'laporan_reimburse'
)
?
'active'
:
''
?>
"
>
<a
href=
"
<?=
route
(
'reimburse.laporan.home'
)
?>
"
class=
"nav-link"
>
<span>
<?=
$this
->
lang
->
line
(
'menu_laporan_reimburse'
)
?>
</span>
</a>
</a>
</li>
</li>
<?php
<li
class=
"nav-item
<?=
(
$aktif
==
'reimburse'
)
?
'active'
:
''
?>
"
>
}
<a
href=
"
<?=
route
(
'reimburse.pengajuan.home'
)
?>
"
class=
"nav-link"
>
?>
<span>
<?=
$this
->
lang
->
line
(
'menu_pengajuan_karyawan'
)
?>
</span>
</ul>
</a>
</li>
</li>
</ul>
<?php
</li>
if
(
$this
->
adm_reimbursement
==
true
)
{
</ul>
?>
</li>
<li
class=
"nav-item
<?=
(
$aktif
==
'laporan_reimburse'
)
?
'active'
:
''
?>
"
>
<a
href=
"
<?=
route
(
'reimburse.laporan.home'
)
?>
"
class=
"nav-link"
>
<span>
<?=
$this
->
lang
->
line
(
'menu_laporan_reimburse'
)
?>
</span>
</a>
</li>
<?php
}
?>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<?php
<?php
}
else
{
}
else
{
?>
?>
<li
class=
"nav-item"
data-menu=
"megamenu"
>
<li
class=
"nav-item"
data-menu=
"megamenu"
>
<a
href=
"
<?=
route
(
'contact.us'
)
?>
"
class=
"nav-link"
>
<a
href=
"
<?=
route
(
'contact.us'
)
?>
"
class=
"nav-link"
>
<i
class=
"fa fa-file-text-o"
></i>
<i
class=
"fa fa-file-text-o"
></i>
<span>
<?=
$this
->
lang
->
line
(
'menu_reimbursement'
)
?>
</span>
<span>
<?=
$this
->
lang
->
line
(
'menu_reimbursement'
)
?>
</span>
<i
class=
"fa fa-lock text-danger"
></i>
<i
class=
"fa fa-lock text-danger"
></i>
</a>
</a>
</li>
</li>
<?php
<?php
}
}
}
?>
?>
<?php
if
(
$this
->
id_company
!=
'202501923'
)
:
?>
<?php
if
(
$this
->
paket_arr
[
'sales_activity'
]
===
true
)
:
?>
<?php
if
(
$this
->
paket_arr
[
'sales_activity'
]
===
true
)
:
?>
<?php
if
(
$this
->
is_sales
===
true
||
$this
->
is_sales_atasan
===
true
||
$this
->
is_sales_admin
===
true
)
:
?>
<?php
if
(
$this
->
is_sales
===
true
||
$this
->
is_sales_atasan
===
true
||
$this
->
is_sales_admin
===
true
)
:
?>
<li
class=
"nav-item
<?=
(
$aktif
==
'sales_activity'
)
?
'active'
:
''
?>
"
>
<li
class=
"nav-item
<?=
(
$aktif
==
'sales_activity'
)
?
'active'
:
''
?>
"
>
...
@@ -193,7 +191,6 @@
...
@@ -193,7 +191,6 @@
</li>
</li>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
endif
;
?>
<!-- KPI -->
<!-- KPI -->
<?php
if
(
$this
->
paket_arr
[
'kpi'
])
:
?>
<?php
if
(
$this
->
paket_arr
[
'kpi'
])
:
?>
...
@@ -216,7 +213,6 @@
...
@@ -216,7 +213,6 @@
<?php
endif
;
?>
<?php
endif
;
?>
<?php
<?php
if
(
$this
->
id_company
!=
'202501923'
)
{
if
(
$this
->
adm_payroll
==
true
)
{
if
(
$this
->
adm_payroll
==
true
)
{
if
(
$this
->
paket_arr
[
'payroll'
]
===
true
)
{
if
(
$this
->
paket_arr
[
'payroll'
]
===
true
)
{
?>
?>
...
@@ -297,7 +293,7 @@
...
@@ -297,7 +293,7 @@
</li>
</li>
<?php
<?php
}
}
}
}
}
?>
?>
</ul>
</ul>
</div>
</div>
...
...
application/views/menu/level_3.php
View file @
d82d8137
...
@@ -55,61 +55,59 @@
...
@@ -55,61 +55,59 @@
</ul>
</ul>
</li>
</li>
<?php
<?php
if
(
$this
->
id_company
!=
'202501923'
)
{
if
(
$this
->
paket_arr
[
'reimburse'
]
===
true
)
{
if
(
$this
->
paket_arr
[
'reimburse'
]
===
true
)
{
?>
?>
<li
class=
"dropdown mega-dropdown nav-item
<?=
in_array
(
$aktif
,
array
(
'reimburse_saya'
,
'reimburse'
,
'laporan_reimburse'
))
?
'show'
:
''
?>
"
data-menu=
"megamenu"
>
<li
class=
"dropdown mega-dropdown nav-item
<?=
in_array
(
$aktif
,
array
(
'reimburse_saya'
,
'reimburse'
,
'laporan_reimburse'
))
?
'show'
:
''
?>
"
data-menu=
"megamenu"
>
<a
class=
"dropdown-toggle nav-link"
href=
"#"
data-toggle=
"dropdown"
>
<a
class=
"dropdown-toggle nav-link"
href=
"#"
data-toggle=
"dropdown"
>
<i
class=
"fa fa-file-text-o"
></i><span>
<?=
$this
->
lang
->
line
(
'menu_reimbursement'
)
?>
</span>
<i
class=
"fa fa-file-text-o"
></i><span>
<?=
$this
->
lang
->
line
(
'menu_reimbursement'
)
?>
</span>
</a>
</a>
<ul
class=
"mega-dropdown-menu dropdown-menu row"
>
<ul
class=
"mega-dropdown-menu dropdown-menu row"
>
<li
class=
"col-md-12 p-0"
data-mega-col=
"col-md-12"
>
<li
class=
"col-md-12 p-0"
data-mega-col=
"col-md-12"
>
<ul
class=
"drilldown-menu"
>
<ul
class=
"drilldown-menu"
>
<li
class=
"menu-list"
>
<li
class=
"menu-list"
>
<ul
class=
"mega-menu-sub"
>
<ul
class=
"mega-menu-sub"
>
<li
class=
"nav-item
<?=
(
$aktif
==
'reimburse_saya'
)
?
'active'
:
''
?>
"
onclick=
"sessionStorage.setItem('sel_tab',1)"
>
<li
class=
"nav-item
<?=
(
$aktif
==
'reimburse_saya'
)
?
'active'
:
''
?>
"
onclick=
"sessionStorage.setItem('sel_tab',1)"
>
<a
href=
"
<?=
route
(
'reimburse.pengajuan.saya'
,
[
'pengajuan'
=>
'saya'
])
?>
"
class=
"nav-link"
>
<a
href=
"
<?=
route
(
'reimburse.pengajuan.saya'
,
[
'pengajuan'
=>
'saya'
])
?>
"
class=
"nav-link"
>
<span>
<?=
$this
->
lang
->
line
(
'menu_pengajuan_saya'
)
?>
</span>
<span>
<?=
$this
->
lang
->
line
(
'menu_pengajuan_saya'
)
?>
</span>
</a>
</li>
<?php
if
(
$this
->
adm_reimbursement
==
true
)
{
?>
<li
class=
"nav-item
<?=
(
$aktif
==
'reimburse'
)
?
'active'
:
''
?>
"
onclick=
"sessionStorage.setItem('sel_tab',1)"
>
<a
href=
"
<?=
route
(
'reimburse.pengajuan.home'
)
?>
"
class=
"nav-link"
>
<span>
<?=
$this
->
lang
->
line
(
'menu_pengajuan_karyawan'
)
?>
</span>
</a>
</li>
<li
class=
"nav-item
<?=
(
$aktif
==
'laporan_reimburse'
)
?
'active'
:
''
?>
"
>
<a
href=
"
<?=
route
(
'reimburse.laporan.home'
)
?>
"
class=
"nav-link"
>
<span>
<?=
$this
->
lang
->
line
(
'menu_laporan_reimburse'
)
?>
</span>
</a>
</a>
</li>
</li>
<?php
<?php
}
if
(
$this
->
adm_reimbursement
==
true
)
{
?>
?>
</ul>
<li
class=
"nav-item
<?=
(
$aktif
==
'reimburse'
)
?
'active'
:
''
?>
"
onclick=
"sessionStorage.setItem('sel_tab',1)"
>
</li>
<a
href=
"
<?=
route
(
'reimburse.pengajuan.home'
)
?>
"
class=
"nav-link"
>
</ul>
<span>
<?=
$this
->
lang
->
line
(
'menu_pengajuan_karyawan'
)
?>
</span>
</li>
</a>
</ul>
</li>
</li>
<li
class=
"nav-item
<?=
(
$aktif
==
'laporan_reimburse'
)
?
'active'
:
''
?>
"
>
<a
href=
"
<?=
route
(
'reimburse.laporan.home'
)
?>
"
class=
"nav-link"
>
<span>
<?=
$this
->
lang
->
line
(
'menu_laporan_reimburse'
)
?>
</span>
</a>
</li>
<?php
}
?>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<?php
<?php
}
else
{
}
else
{
?>
?>
<li
class=
"nav-item"
data-menu=
"megamenu"
>
<li
class=
"nav-item"
data-menu=
"megamenu"
>
<a
href=
"
<?=
route
(
'contact.us'
)
?>
"
class=
"nav-link"
>
<a
href=
"
<?=
route
(
'contact.us'
)
?>
"
class=
"nav-link"
>
<i
class=
"fa fa-file-text-o"
></i>
<i
class=
"fa fa-file-text-o"
></i>
<span>
<?=
$this
->
lang
->
line
(
'menu_reimbursement'
)
?>
</span>
<span>
<?=
$this
->
lang
->
line
(
'menu_reimbursement'
)
?>
</span>
<i
class=
"fa fa-lock text-danger"
></i>
<i
class=
"fa fa-lock text-danger"
></i>
</a>
</a>
</li>
</li>
<?php
<?php
}
}
}
?>
?>
<?php
<?php
if
(
$this
->
id_company
!=
'202501923'
)
{
if
(
$this
->
adm_payroll
==
true
)
{
if
(
$this
->
adm_payroll
==
true
)
{
if
(
$this
->
paket_arr
[
'payroll'
]
===
true
)
{
if
(
$this
->
paket_arr
[
'payroll'
]
===
true
)
{
?>
?>
...
@@ -190,10 +188,9 @@
...
@@ -190,10 +188,9 @@
</li>
</li>
<?php
<?php
}
}
}
}
}
?>
?>
<?php
if
(
$this
->
id_company
!=
'202501923'
)
:
?>
<?php
if
(
$this
->
paket_arr
[
'sales_activity'
]
===
true
)
:
?>
<?php
if
(
$this
->
paket_arr
[
'sales_activity'
]
===
true
)
:
?>
<?php
if
(
$this
->
is_sales
===
true
||
$this
->
is_sales_atasan
===
true
||
$this
->
is_sales_admin
===
true
)
:
?>
<?php
if
(
$this
->
is_sales
===
true
||
$this
->
is_sales_atasan
===
true
||
$this
->
is_sales_admin
===
true
)
:
?>
<li
class=
"nav-item
<?=
(
$aktif
==
'sales_activity'
)
?
'active'
:
''
?>
"
>
<li
class=
"nav-item
<?=
(
$aktif
==
'sales_activity'
)
?
'active'
:
''
?>
"
>
...
@@ -204,7 +201,6 @@
...
@@ -204,7 +201,6 @@
</li>
</li>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
endif
;
?>
<!-- KPI -->
<!-- KPI -->
<?php
if
(
$this
->
paket_arr
[
'kpi'
])
:
?>
<?php
if
(
$this
->
paket_arr
[
'kpi'
])
:
?>
...
...
application/views/menu/level_4.php
View file @
d82d8137
...
@@ -97,11 +97,11 @@
...
@@ -97,11 +97,11 @@
<ul
class=
"drilldown-menu"
>
<ul
class=
"drilldown-menu"
>
<li
class=
"menu-list"
>
<li
class=
"menu-list"
>
<ul
class=
"mega-menu-sub"
>
<ul
class=
"mega-menu-sub"
>
<li
class=
"
<?=
(
$aktif
==
'perusahaan'
)
?
'active'
:
''
?>
"
>
<
!-- <
li class="
<?=
(
$aktif
==
'perusahaan'
)
?
'active'
:
''
?>
">
<a class="dropdown-item" href="
<?=
site_url
(
'pengaturan/perusahaan'
)
?>
">
<a class="dropdown-item" href="
<?=
site_url
(
'pengaturan/perusahaan'
)
?>
">
<?=
$this
->
lang
->
line
(
'menu_profil_perusahaan'
)
?>
<?=
$this
->
lang
->
line
(
'menu_profil_perusahaan'
)
?>
</a>
</a>
</li>
</li>
-->
<li
class=
"
<?=
(
$aktif
==
'jam_kerja'
)
?
'active'
:
''
?>
"
>
<li
class=
"
<?=
(
$aktif
==
'jam_kerja'
)
?
'active'
:
''
?>
"
>
<a
class=
"dropdown-item"
href=
"
<?=
route
(
'pengaturan.jamkerja.home'
)
?>
"
>
<a
class=
"dropdown-item"
href=
"
<?=
route
(
'pengaturan.jamkerja.home'
)
?>
"
>
<?=
$this
->
lang
->
line
(
'menu_jam_kerja'
)
?>
<?=
$this
->
lang
->
line
(
'menu_jam_kerja'
)
?>
...
@@ -235,54 +235,52 @@
...
@@ -235,54 +235,52 @@
?>
?>
<?php
<?php
if
(
$this
->
id_company
!=
'202501923'
)
{
if
(
$this
->
paket_arr
[
'reimburse'
]
===
true
)
{
if
(
$this
->
paket_arr
[
'reimburse'
]
===
true
)
{
?>
?>
<li
class=
"dropdown mega-dropdown nav-item
<?=
in_array
(
$aktif
,
array
(
'reimburse'
,
'laporan_reimburse'
,
'reimburse_saya'
))
?
'show'
:
''
?>
"
data-menu=
"megamenu"
>
<li
class=
"dropdown mega-dropdown nav-item
<?=
in_array
(
$aktif
,
array
(
'reimburse'
,
'laporan_reimburse'
,
'reimburse_saya'
))
?
'show'
:
''
?>
"
data-menu=
"megamenu"
>
<a
class=
"dropdown-toggle nav-link"
href=
"#"
data-toggle=
"dropdown"
>
<a
class=
"dropdown-toggle nav-link"
href=
"#"
data-toggle=
"dropdown"
>
<i
class=
"fa fa-file-text-o"
></i><span>
<?=
$this
->
lang
->
line
(
'menu_reimbursement'
)
?>
</span>
<i
class=
"fa fa-file-text-o"
></i><span>
<?=
$this
->
lang
->
line
(
'menu_reimbursement'
)
?>
</span>
</a>
</a>
<ul
class=
"mega-dropdown-menu dropdown-menu row"
>
<ul
class=
"mega-dropdown-menu dropdown-menu row"
>
<li
class=
"col-md-12 p-0"
data-mega-col=
"col-md-12"
>
<li
class=
"col-md-12 p-0"
data-mega-col=
"col-md-12"
>
<ul
class=
"drilldown-menu"
>
<ul
class=
"drilldown-menu"
>
<li
class=
"menu-list"
>
<li
class=
"menu-list"
>
<ul
class=
"mega-menu-sub"
>
<ul
class=
"mega-menu-sub"
>
<li
class=
"nav-item
<?=
(
$aktif
==
'reimburse_saya'
)
?
'active'
:
''
?>
"
onclick=
"sessionStorage.setItem('sel_tab',1)"
>
<li
class=
"nav-item
<?=
(
$aktif
==
'reimburse_saya'
)
?
'active'
:
''
?>
"
onclick=
"sessionStorage.setItem('sel_tab',1)"
>
<a
href=
"
<?=
route
(
'reimburse.pengajuan.saya'
,
[
'pengajuan'
=>
'saya'
])
?>
"
class=
"nav-link"
>
<a
href=
"
<?=
route
(
'reimburse.pengajuan.saya'
,
[
'pengajuan'
=>
'saya'
])
?>
"
class=
"nav-link"
>
<span>
<?=
$this
->
lang
->
line
(
'menu_pengajuan_saya'
)
?>
</span>
<span>
<?=
$this
->
lang
->
line
(
'menu_pengajuan_saya'
)
?>
</span>
</a>
</a>
</li>
</li>
<li
class=
"nav-item
<?=
(
$aktif
==
'reimburse'
)
?
'active'
:
''
?>
"
>
<li
class=
"nav-item
<?=
(
$aktif
==
'reimburse'
)
?
'active'
:
''
?>
"
>
<a
href=
"
<?=
route
(
'reimburse.pengajuan.home'
)
?>
"
class=
"nav-link"
>
<a
href=
"
<?=
route
(
'reimburse.pengajuan.home'
)
?>
"
class=
"nav-link"
>
<span>
<?=
$this
->
lang
->
line
(
'menu_pengajuan_karyawan'
)
?>
</span>
<span>
<?=
$this
->
lang
->
line
(
'menu_pengajuan_karyawan'
)
?>
</span>
</a>
</a>
</li>
</li>
<li
class=
"nav-item
<?=
(
$aktif
==
'laporan_reimburse'
)
?
'active'
:
''
?>
"
>
<li
class=
"nav-item
<?=
(
$aktif
==
'laporan_reimburse'
)
?
'active'
:
''
?>
"
>
<a
href=
"
<?=
route
(
'reimburse.laporan.home'
)
?>
"
class=
"nav-link"
>
<a
href=
"
<?=
route
(
'reimburse.laporan.home'
)
?>
"
class=
"nav-link"
>
<span>
<?=
$this
->
lang
->
line
(
'menu_laporan_reimburse'
)
?>
</span>
<span>
<?=
$this
->
lang
->
line
(
'menu_laporan_reimburse'
)
?>
</span>
</a>
</a>
</li>
</li>
</ul>
</ul>
</li>
</li>
</ul>
</ul>
</li>
</li>
</ul>
</ul>
</li>
</li>
<?php
<?php
}
else
{
}
else
{
?>
?>
<li
class=
"nav-item"
data-menu=
"megamenu"
>
<li
class=
"nav-item"
data-menu=
"megamenu"
>
<a
href=
"
<?=
route
(
'contact.us'
)
?>
"
class=
"nav-link"
>
<a
href=
"
<?=
route
(
'contact.us'
)
?>
"
class=
"nav-link"
>
<i
class=
"fa fa-file-text-o"
></i>
<i
class=
"fa fa-file-text-o"
></i>
<span>
<?=
$this
->
lang
->
line
(
'menu_reimbursement'
)
?>
</span>
<span>
<?=
$this
->
lang
->
line
(
'menu_reimbursement'
)
?>
</span>
<i
class=
"fa fa-lock text-danger"
></i>
<i
class=
"fa fa-lock text-danger"
></i>
</a>
</a>
</li>
</li>
<?php
<?php
}
}
}
?>
?>
<?php
if
(
$this
->
id_company
!=
'202501923'
)
:
?>
<?php
if
(
$this
->
paket_arr
[
'sales_activity'
]
===
true
)
:
?>
<?php
if
(
$this
->
paket_arr
[
'sales_activity'
]
===
true
)
:
?>
<?php
if
(
$this
->
is_sales
===
true
||
$this
->
is_sales_atasan
===
true
||
$this
->
is_sales_admin
===
true
)
:
?>
<?php
if
(
$this
->
is_sales
===
true
||
$this
->
is_sales_atasan
===
true
||
$this
->
is_sales_admin
===
true
)
:
?>
<li
class=
"nav-item
<?=
(
$aktif
==
'sales_activity'
)
?
'active'
:
''
?>
"
>
<li
class=
"nav-item
<?=
(
$aktif
==
'sales_activity'
)
?
'active'
:
''
?>
"
>
...
@@ -293,7 +291,6 @@
...
@@ -293,7 +291,6 @@
</li>
</li>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
endif
;
?>
<!-- KPI -->
<!-- KPI -->
<?php
if
(
$this
->
paket_arr
[
'kpi'
])
:
?>
<?php
if
(
$this
->
paket_arr
[
'kpi'
])
:
?>
...
@@ -316,7 +313,6 @@
...
@@ -316,7 +313,6 @@
<?php
endif
;
?>
<?php
endif
;
?>
<?php
<?php
if
(
$this
->
id_company
!=
'202501923'
)
{
if
(
$this
->
adm_payroll
==
true
)
{
if
(
$this
->
adm_payroll
==
true
)
{
if
(
$this
->
paket_arr
[
'payroll'
]
===
true
)
{
if
(
$this
->
paket_arr
[
'payroll'
]
===
true
)
{
?>
?>
...
@@ -397,7 +393,7 @@
...
@@ -397,7 +393,7 @@
</li>
</li>
<?php
<?php
}
}
}
}
}
?>
?>
</ul>
</ul>
</div>
</div>
...
...
application/views/menu/level_5.php
View file @
d82d8137
...
@@ -200,61 +200,59 @@
...
@@ -200,61 +200,59 @@
</li>
</li>
<?php
<?php
if
(
$this
->
id_company
!=
'202501923'
)
{
if
(
$this
->
paket_arr
[
'reimburse'
]
===
true
)
{
if
(
$this
->
paket_arr
[
'reimburse'
]
===
true
)
{
?>
?>
<li
class=
"dropdown mega-dropdown nav-item
<?=
in_array
(
$aktif
,
array
(
'reimburse'
,
'laporan_reimburse'
,
'reimburse_saya'
))
?
'show'
:
''
?>
"
data-menu=
"megamenu"
>
<li
class=
"dropdown mega-dropdown nav-item
<?=
in_array
(
$aktif
,
array
(
'reimburse'
,
'laporan_reimburse'
,
'reimburse_saya'
))
?
'show'
:
''
?>
"
data-menu=
"megamenu"
>
<a
class=
"dropdown-toggle nav-link"
href=
"#"
data-toggle=
"dropdown"
>
<a
class=
"dropdown-toggle nav-link"
href=
"#"
data-toggle=
"dropdown"
>
<i
class=
"fa fa-file-text-o"
></i><span>
<?=
$this
->
lang
->
line
(
'menu_reimbursement'
)
?>
</span>
<i
class=
"fa fa-file-text-o"
></i><span>
<?=
$this
->
lang
->
line
(
'menu_reimbursement'
)
?>
</span>
</a>
</a>
<ul
class=
"mega-dropdown-menu dropdown-menu row"
>
<ul
class=
"mega-dropdown-menu dropdown-menu row"
>
<li
class=
"col-md-12 p-0"
data-mega-col=
"col-md-12"
>
<li
class=
"col-md-12 p-0"
data-mega-col=
"col-md-12"
>
<ul
class=
"drilldown-menu"
>
<ul
class=
"drilldown-menu"
>
<li
class=
"menu-list"
>
<li
class=
"menu-list"
>
<ul
class=
"mega-menu-sub"
>
<ul
class=
"mega-menu-sub"
>
<li
class=
"nav-item
<?=
(
$aktif
==
'reimburse_saya'
)
?
'active'
:
''
?>
"
onclick=
"sessionStorage.setItem('sel_tab',1)"
>
<li
class=
"nav-item
<?=
(
$aktif
==
'reimburse_saya'
)
?
'active'
:
''
?>
"
onclick=
"sessionStorage.setItem('sel_tab',1)"
>
<a
href=
"
<?=
route
(
'reimburse.pengajuan.saya'
,
[
'pengajuan'
=>
'saya'
])
?>
"
class=
"nav-link"
>
<a
href=
"
<?=
route
(
'reimburse.pengajuan.saya'
,
[
'pengajuan'
=>
'saya'
])
?>
"
class=
"nav-link"
>
<span>
<?=
$this
->
lang
->
line
(
'menu_pengajuan_saya'
)
?>
</span>
<span>
<?=
$this
->
lang
->
line
(
'menu_pengajuan_saya'
)
?>
</span>
</a>
</li>
<li
class=
"nav-item
<?=
(
$aktif
==
'reimburse'
)
?
'active'
:
''
?>
"
>
<a
href=
"
<?=
route
(
'reimburse.pengajuan.home'
)
?>
"
class=
"nav-link"
>
<span>
<?=
$this
->
lang
->
line
(
'menu_pengajuan_karyawan'
)
?>
</span>
</a>
</li>
<?php
if
(
$this
->
adm_reimbursement
==
true
)
{
?>
<li
class=
"nav-item
<?=
(
$aktif
==
'laporan_reimburse'
)
?
'active'
:
''
?>
"
>
<a
href=
"
<?=
route
(
'reimburse.laporan.home'
)
?>
"
class=
"nav-link"
>
<span>
<?=
$this
->
lang
->
line
(
'menu_laporan_reimburse'
)
?>
</span>
</a>
</a>
</li>
</li>
<?php
<li
class=
"nav-item
<?=
(
$aktif
==
'reimburse'
)
?
'active'
:
''
?>
"
>
}
<a
href=
"
<?=
route
(
'reimburse.pengajuan.home'
)
?>
"
class=
"nav-link"
>
?>
<span>
<?=
$this
->
lang
->
line
(
'menu_pengajuan_karyawan'
)
?>
</span>
</ul>
</a>
</li>
</li>
</ul>
<?php
</li>
if
(
$this
->
adm_reimbursement
==
true
)
{
</ul>
?>
</li>
<li
class=
"nav-item
<?=
(
$aktif
==
'laporan_reimburse'
)
?
'active'
:
''
?>
"
>
<a
href=
"
<?=
route
(
'reimburse.laporan.home'
)
?>
"
class=
"nav-link"
>
<span>
<?=
$this
->
lang
->
line
(
'menu_laporan_reimburse'
)
?>
</span>
</a>
</li>
<?php
}
?>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<?php
<?php
}
else
{
}
else
{
?>
?>
<li
class=
"nav-item"
data-menu=
"megamenu"
>
<li
class=
"nav-item"
data-menu=
"megamenu"
>
<a
href=
"
<?=
route
(
'contact.us'
)
?>
"
class=
"nav-link"
>
<a
href=
"
<?=
route
(
'contact.us'
)
?>
"
class=
"nav-link"
>
<i
class=
"fa fa-file-text-o"
></i>
<i
class=
"fa fa-file-text-o"
></i>
<span>
<?=
$this
->
lang
->
line
(
'menu_reimbursement'
)
?>
</span>
<span>
<?=
$this
->
lang
->
line
(
'menu_reimbursement'
)
?>
</span>
<i
class=
"fa fa-lock text-danger"
></i>
<i
class=
"fa fa-lock text-danger"
></i>
</a>
</a>
</li>
</li>
<?php
<?php
}
}
}
?>
?>
<?php
if
(
$this
->
id_company
!=
'202501923'
)
:
?>
<?php
if
(
$this
->
paket_arr
[
'sales_activity'
]
===
true
)
:
?>
<?php
if
(
$this
->
paket_arr
[
'sales_activity'
]
===
true
)
:
?>
<?php
if
(
$this
->
is_sales
===
true
||
$this
->
is_sales_atasan
===
true
||
$this
->
is_sales_admin
===
true
)
:
?>
<?php
if
(
$this
->
is_sales
===
true
||
$this
->
is_sales_atasan
===
true
||
$this
->
is_sales_admin
===
true
)
:
?>
<li
class=
"nav-item
<?=
(
$aktif
==
'sales_activity'
)
?
'active'
:
''
?>
"
>
<li
class=
"nav-item
<?=
(
$aktif
==
'sales_activity'
)
?
'active'
:
''
?>
"
>
...
@@ -265,7 +263,6 @@
...
@@ -265,7 +263,6 @@
</li>
</li>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
endif
;
?>
<!-- KPI -->
<!-- KPI -->
<?php
if
(
$this
->
paket_arr
[
'kpi'
])
:
?>
<?php
if
(
$this
->
paket_arr
[
'kpi'
])
:
?>
...
@@ -288,7 +285,6 @@
...
@@ -288,7 +285,6 @@
<?php
endif
;
?>
<?php
endif
;
?>
<?php
<?php
if
(
$this
->
id_company
!=
'202501923'
)
{
if
(
$this
->
adm_payroll
==
true
)
{
if
(
$this
->
adm_payroll
==
true
)
{
if
(
$this
->
paket_arr
[
'payroll'
]
===
true
)
{
if
(
$this
->
paket_arr
[
'payroll'
]
===
true
)
{
?>
?>
...
@@ -369,7 +365,7 @@
...
@@ -369,7 +365,7 @@
</li>
</li>
<?php
<?php
}
}
}
}
}
?>
?>
</ul>
</ul>
</div>
</div>
...
...
application/views/menu/level_7.php
View file @
d82d8137
...
@@ -134,8 +134,7 @@
...
@@ -134,8 +134,7 @@
</li>
</li>
<?php
<?php
if
(
$this
->
id_company
!=
'202501923'
)
{
if
(
$this
->
paket_arr
[
'reimburse'
]
===
true
)
{
if
(
$this
->
paket_arr
[
'reimburse'
]
===
true
)
{
?>
?>
<li
class=
"dropdown mega-dropdown nav-item
<?=
in_array
(
$aktif
,
array
(
'reimburse'
,
'laporan_reimburse'
,
'reimburse_saya'
))
?
'show'
:
''
?>
"
data-menu=
"megamenu"
>
<li
class=
"dropdown mega-dropdown nav-item
<?=
in_array
(
$aktif
,
array
(
'reimburse'
,
'laporan_reimburse'
,
'reimburse_saya'
))
?
'show'
:
''
?>
"
data-menu=
"megamenu"
>
<a
class=
"dropdown-toggle nav-link"
href=
"#"
data-toggle=
"dropdown"
>
<a
class=
"dropdown-toggle nav-link"
href=
"#"
data-toggle=
"dropdown"
>
...
@@ -184,10 +183,9 @@
...
@@ -184,10 +183,9 @@
</a>
</a>
</li>
</li>
<?php
<?php
}
}
}
?>
?>
<?php
if
(
$this
->
id_company
!=
'202501923'
)
:
?>
<?php
if
(
$this
->
paket_arr
[
'sales_activity'
]
===
true
)
:
?>
<?php
if
(
$this
->
paket_arr
[
'sales_activity'
]
===
true
)
:
?>
<?php
if
(
$this
->
is_sales
===
true
||
$this
->
is_sales_atasan
===
true
||
$this
->
is_sales_admin
===
true
)
:
?>
<?php
if
(
$this
->
is_sales
===
true
||
$this
->
is_sales_atasan
===
true
||
$this
->
is_sales_admin
===
true
)
:
?>
<li
class=
"nav-item
<?=
(
$aktif
==
'sales_activity'
)
?
'active'
:
''
?>
"
>
<li
class=
"nav-item
<?=
(
$aktif
==
'sales_activity'
)
?
'active'
:
''
?>
"
>
...
@@ -198,7 +196,6 @@
...
@@ -198,7 +196,6 @@
</li>
</li>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
endif
;
?>
<!-- KPI -->
<!-- KPI -->
<?php
if
(
$this
->
paket_arr
[
'kpi'
])
:
?>
<?php
if
(
$this
->
paket_arr
[
'kpi'
])
:
?>
...
@@ -221,7 +218,6 @@
...
@@ -221,7 +218,6 @@
<?php
endif
;
?>
<?php
endif
;
?>
<?php
<?php
if
(
$this
->
id_company
!=
'202501923'
)
{
if
(
$this
->
adm_payroll
==
true
)
{
if
(
$this
->
adm_payroll
==
true
)
{
if
(
$this
->
paket_arr
[
'payroll'
]
===
true
)
{
if
(
$this
->
paket_arr
[
'payroll'
]
===
true
)
{
?>
?>
...
@@ -301,8 +297,8 @@
...
@@ -301,8 +297,8 @@
</a>
</a>
</li>
</li>
<?php
<?php
}
}
}
}
}
?>
?>
</ul>
</ul>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment