Skip to content

Commit

Permalink
Fix to logic of Fulfilment status filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Mesuva committed Jun 28, 2019
1 parent a4e44c7 commit f7eed2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion single_pages/dashboard/store/orders.php
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@
</a>

<ul class="dropdown-menu">
<li <?= (!$status ? 'class="active"' : ''); ?>><a href="<?= \URL::to('/dashboard/store/orders/all/' . $pm->getHandle() . '/' . $paymentStatus.$keywordsparam)?>"><?= t('All Fulfilment Statuses')?></a></li>
<li <?= (!$status ? 'class="active"' : ''); ?>><a href="<?= \URL::to('/dashboard/store/orders/all/' . $paymentMethod . '/' . $paymentStatus . $keywordsparam)?>"><?= t('All Fulfilment Statuses')?></a></li>
<?php foreach($statuses as $statusoption){ ?>
<li <?= ($status == $statusoption->getHandle() ? 'class="active"' : ''); ?>><a href="<?= \URL::to('/dashboard/store/orders/', $statusoption->getHandle() . '/' . $paymentMethod . '/' . $paymentStatus.$keywordsparam)?>"><?= t($statusoption->getName());?></a></li>
<?php } ?>
Expand Down

0 comments on commit f7eed2c

Please sign in to comment.