voucher
This commit is contained in:
parent
c9e54804c8
commit
5df46f007d
@ -116,7 +116,7 @@ $subparam2 = $this->uri->segment(4);
|
|||||||
<?php if ($LoggedUser == "admin") : ?>
|
<?php if ($LoggedUser == "admin") : ?>
|
||||||
<?php foreach ($VoucherTypes as $VoucherType) : if ($VoucherType->voucher_alias != "sales" && $VoucherType->voucher_alias != "purchase") : ?>
|
<?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" : ""; ?>">
|
<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>
|
</a></li>
|
||||||
<?php endif;
|
<?php endif;
|
||||||
endforeach; ?>
|
endforeach; ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user