Commit d82d8137 by nurchamim

menghilangkan hardcore id company

parent 548b9bcd
......@@ -129,11 +129,11 @@
</li>
<?php } ?>
<li class="<?= ($aktif == 'perusahaan') ? 'active' : '' ?>">
<!-- <li class="<?= ($aktif == 'perusahaan') ? 'active' : '' ?>">
<a class="dropdown-item" href="<?= site_url('pengaturan/perusahaan') ?>">
<?= $this->lang->line('menu_profil_perusahaan') ?>
</a>
</li>
</li> -->
<li class="<?= ($aktif == 'pengaturan_umum') ? 'active' : '' ?>">
<a class="dropdown-item" href="<?= route('pengaturan.umum.home') ?>">
<?= $this->lang->line('menu_umum') ?>
......@@ -266,7 +266,6 @@
</li>
<?php
if ($this->id_company != '202501923') {
if ($this->paket_arr['reimburse'] === true) {
if ($this->adm_reimbursement == true) {
?>
......@@ -324,11 +323,10 @@
</a>
</li>
<?php
} }
}
?>
<?php
if ($this->id_company != '202501923') {
if ($this->adm_payroll == true) {
if ($this->paket_arr['payroll'] === true) {
?>
......@@ -409,10 +407,9 @@
</li>
<?php
}
} }
}
?>
<?php if ($this->id_company != '202501923'): ?>
<?php if ($this->paket_arr['sales_activity'] === true) : ?>
<li class="nav-item <?= ($aktif == 'sales_activity') ? 'active' : '' ?>">
<a href="<?= route('sales_activity.home') ?>" class="nav-link">
......@@ -429,7 +426,6 @@
</a>
</li>
<?php endif; ?>
<?php endif; ?>
<!-- KPI -->
<?php if($this->paket_arr['kpi']) : ?>
......
......@@ -129,7 +129,6 @@
</li>
<?php
if ($this->id_company != '202501923') {
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">
......@@ -179,10 +178,9 @@
</a>
</li>
<?php
}}
}
?>
<?php if ($this->id_company != '202501923'): ?>
<?php if ($this->paket_arr['sales_activity'] === 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' : '' ?>">
......@@ -193,7 +191,6 @@
</li>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<!-- KPI -->
<?php if($this->paket_arr['kpi']) : ?>
......@@ -216,7 +213,6 @@
<?php endif; ?>
<?php
if ($this->id_company != '202501923') {
if ($this->adm_payroll == true) {
if ($this->paket_arr['payroll'] === true) {
?>
......@@ -297,7 +293,7 @@
</li>
<?php
}
} }
}
?>
</ul>
</div>
......
......@@ -55,7 +55,6 @@
</ul>
</li>
<?php
if ($this->id_company != '202501923') {
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">
......@@ -105,11 +104,10 @@
</a>
</li>
<?php
} }
}
?>
<?php
if ($this->id_company != '202501923') {
if ($this->adm_payroll == true) {
if ($this->paket_arr['payroll'] === true) {
?>
......@@ -190,10 +188,9 @@
</li>
<?php
}
} }
}
?>
<?php if ($this->id_company != '202501923'): ?>
<?php if ($this->paket_arr['sales_activity'] === 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' : '' ?>">
......@@ -204,7 +201,6 @@
</li>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<!-- KPI -->
<?php if($this->paket_arr['kpi']) : ?>
......
......@@ -97,11 +97,11 @@
<ul class="drilldown-menu">
<li class="menu-list">
<ul class="mega-menu-sub">
<li class="<?= ($aktif == 'perusahaan') ? 'active' : '' ?>">
<!-- <li class="<?= ($aktif == 'perusahaan') ? 'active' : '' ?>">
<a class="dropdown-item" href="<?= site_url('pengaturan/perusahaan') ?>">
<?= $this->lang->line('menu_profil_perusahaan') ?>
</a>
</li>
</li> -->
<li class="<?= ($aktif == 'jam_kerja') ? 'active' : '' ?>">
<a class="dropdown-item" href="<?= route('pengaturan.jamkerja.home') ?>">
<?= $this->lang->line('menu_jam_kerja') ?>
......@@ -235,7 +235,6 @@
?>
<?php
if ($this->id_company != '202501923') {
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">
......@@ -279,10 +278,9 @@
</a>
</li>
<?php
} }
}
?>
<?php if ($this->id_company != '202501923'): ?>
<?php if ($this->paket_arr['sales_activity'] === 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' : '' ?>">
......@@ -293,7 +291,6 @@
</li>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<!-- KPI -->
<?php if($this->paket_arr['kpi']) : ?>
......@@ -316,7 +313,6 @@
<?php endif; ?>
<?php
if ($this->id_company != '202501923') {
if ($this->adm_payroll == true) {
if ($this->paket_arr['payroll'] === true) {
?>
......@@ -397,7 +393,7 @@
</li>
<?php
}
} }
}
?>
</ul>
</div>
......
......@@ -200,7 +200,6 @@
</li>
<?php
if ($this->id_company != '202501923') {
if ($this->paket_arr['reimburse'] === true) {
?>
......@@ -251,10 +250,9 @@
</a>
</li>
<?php
} }
}
?>
<?php if ($this->id_company != '202501923'): ?>
<?php if ($this->paket_arr['sales_activity'] === 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' : '' ?>">
......@@ -265,7 +263,6 @@
</li>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<!-- KPI -->
<?php if($this->paket_arr['kpi']) : ?>
......@@ -288,7 +285,6 @@
<?php endif; ?>
<?php
if ($this->id_company != '202501923') {
if ($this->adm_payroll == true) {
if ($this->paket_arr['payroll'] === true) {
?>
......@@ -369,7 +365,7 @@
</li>
<?php
}
} }
}
?>
</ul>
</div>
......
......@@ -134,7 +134,6 @@
</li>
<?php
if ($this->id_company != '202501923') {
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">
......@@ -184,10 +183,9 @@
</a>
</li>
<?php
} }
}
?>
<?php if ($this->id_company != '202501923'): ?>
<?php if ($this->paket_arr['sales_activity'] === 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' : '' ?>">
......@@ -198,7 +196,6 @@
</li>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<!-- KPI -->
<?php if($this->paket_arr['kpi']) : ?>
......@@ -221,7 +218,6 @@
<?php endif; ?>
<?php
if ($this->id_company != '202501923') {
if ($this->adm_payroll == true) {
if ($this->paket_arr['payroll'] === true) {
?>
......@@ -302,7 +298,7 @@
</li>
<?php
}
} }
}
?>
</ul>
</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