We currently have the following code which displays a link if a quotation is viewable:
<td><?php echo $this->__($_quotation->getstatus()); ?></td>
<td class="a-center">
<?php if ($_quotation->isViewableByCustomer()): ?>
<a href="<?php echo $this->getViewUrl($_quotation) ?>"><?php echo $this->__('View Quotation') ?></a>
<?php endif; ?>
</td>
We're looking to show the link if the quotation status value equals Active or Expired but not Pending.
How should I change this code around to reflect this?