Skip to main content
code indent
Source Link
Rama Chandran M
  • 3.2k
  • 13
  • 23
  • 38
getStatusLabel()=='Pending') : ?>
                    <?php if ($_order->getStatusLabel()=='Pending') : ?>
<div>
                          <a href="<?php /* @escapeNotVerified */ echo $block->getCancelUrl($_order) ?>" class="action cancel" id="comments">
                                <span><?php /* @escapeNotVerified */ echo __('Cancel Order') ?></span>
                            <span></a>
                        <a></div>
                        <?php endif ?>
getStatusLabel()=='Pending') : ?>
                        <div>
                          <a href="<?php /* @escapeNotVerified */ echo $block->getCancelUrl($_order) ?>" class="action cancel" id="comments">
                                <span><?php /* @escapeNotVerified */ echo __('Cancel Order') ?></span>
                            </a>
                        </div>
                        <?php endif ?>
<?php if ($_order->getStatusLabel()=='Pending') : ?>
<div>
<a href="<?php /* @escapeNotVerified */ echo $block->getCancelUrl($_order) ?>" class="action cancel" id="comments"> <span><?php /* @escapeNotVerified */ echo __('Cancel Order') ?></span></a></div>
<?php endif ?>
Post Undeleted by eswar
Post Deleted by eswar
Post Undeleted by eswar
Post Deleted by eswar
Source Link
eswar
  • 103
  • 4
  • 16

getStatusLabel()=='Pending') : ?>
                        <div>
                          <a href="<?php /* @escapeNotVerified */ echo $block->getCancelUrl($_order) ?>" class="action cancel" id="comments">
                                <span><?php /* @escapeNotVerified */ echo __('Cancel Order') ?></span>
                            </a>
                        </div>
                        <?php endif ?>