$k = 0; ?> <?php foreach ($items as $item) { ?> <tr class='row<?php echo $k; ?> '> <td style="text-align: center;"> <a href="<?php echo JRoute::_($item->link_view); ?> "> <?php echo CitruscartHelperOrder::displayOrderNumber($item); ?> </a> </td> <td style="text-align: center;"> <a href="<?php echo JRoute::_($item->link_view); ?> "> <?php echo JHTML::_('date', $item->created_date, Citruscart::getInstance()->get('date_format')); ?> </a> </td> <td style="text-align: center;"> <a href="<?php
// fire plugin event here to enable extending the form JDispatcher::getInstance()->trigger('onBeforeDisplayOrderView', array($row)); ?> <div id="order_info"> <h3> <?php echo JText::_('COM_CITRUSCART_ORDER_INFORMATION'); ?> </h3> <strong><?php echo JText::_('COM_CITRUSCART_ORDER_ID'); ?> </strong>: <?php echo CitruscartHelperOrder::displayOrderNumber($row); ?> <br /> <strong><?php echo JText::_('COM_CITRUSCART_DATE'); ?> </strong>: <?php echo JHTML::_('date', $row->created_date, Citruscart::getInstance()->get('date_format')); ?> <br /> <strong><?php echo JText::_('COM_CITRUSCART_STATUS'); ?> </strong>: <?php echo $row->order_state_name; ?>