Commit d82d8137 by nurchamim

menghilangkan hardcore id company

parent 548b9bcd
...@@ -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']) : ?>
......
...@@ -129,7 +129,6 @@ ...@@ -129,7 +129,6 @@
</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">
...@@ -179,10 +178,9 @@ ...@@ -179,10 +178,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' : '' ?>">
...@@ -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>
......
...@@ -55,7 +55,6 @@ ...@@ -55,7 +55,6 @@
</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">
...@@ -105,11 +104,10 @@ ...@@ -105,11 +104,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) {
?> ?>
...@@ -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']) : ?>
......
...@@ -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,7 +235,6 @@ ...@@ -235,7 +235,6 @@
?> ?>
<?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">
...@@ -279,10 +278,9 @@ ...@@ -279,10 +278,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' : '' ?>">
...@@ -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>
......
...@@ -200,7 +200,6 @@ ...@@ -200,7 +200,6 @@
</li> </li>
<?php <?php
if ($this->id_company != '202501923') {
if ($this->paket_arr['reimburse'] === true) { if ($this->paket_arr['reimburse'] === true) {
?> ?>
...@@ -251,10 +250,9 @@ ...@@ -251,10 +250,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' : '' ?>">
...@@ -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>
......
...@@ -134,7 +134,6 @@ ...@@ -134,7 +134,6 @@
</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">
...@@ -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) {
?> ?>
...@@ -302,7 +298,7 @@ ...@@ -302,7 +298,7 @@
</li> </li>
<?php <?php
} }
} } }
?> ?>
</ul> </ul>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment