This commit is contained in:
Sampanna Rimal 2024-08-18 12:32:21 +05:45
parent c9e54804c8
commit 5df46f007d

View File

@ -116,7 +116,7 @@ $subparam2 = $this->uri->segment(4);
<?php if ($LoggedUser == "admin") : ?>
<?php foreach ($VoucherTypes as $VoucherType) : if ($VoucherType->voucher_alias != "sales" && $VoucherType->voucher_alias != "purchase") : ?>
<li class="nav-item"><a href="<?php echo site_url("accounts/vouchers/" . $VoucherType->voucher_alias . "/create"); ?>" class="nav-link <?php echo ($subparam == $VoucherType->voucher_alias && $subparam2 == "create") ? "active" : ""; ?>">
<p><?php echo $VoucherType->voucher_name; ?> Voucher</p>
<p><?php echo $VoucherType->voucher_name; ?></p>
</a></li>
<?php endif;
endforeach; ?>