</th> </tr> </thead> <tbody> <?php if (empty($this->returnStatues)) { ?> <tr><td colspan="11" ><div class="alert alert-no-items" ><?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?> </div></td></tr> <?php } else { foreach ($this->returnStatues as $index => $status) { $returnStatusLink = JRoute::_('index.php?option=com_jeproshop&view=order&task=status&order_return_status_id=' . (int) $status->order_return_status_id . '&' . JeproshopTools::getOrderFormToken() . '=1'); $deleteReturnStatusLink = JRoute::_('index.php?option=com_jeproshop&view=order&task=view_return_status&order_return_status_id=' . (int) $status->order_return_status_id . '&' . JeproshopTools::getOrderFormToken() . '=1'); ?> <tr class="row_<?php echo $index % 2; ?> " > <td width="1%" class="nowrap center" ><?php echo $index + 1; ?> </td> <td width="1%" class="nowrap center" style="padding-bottom: 8px;"><?php echo JHtml::_('grid.id', $index, $status->order_return_status_id); ?> </td> <td width="45%" class="nowrap" ><?php echo $status->name;
<?php echo JText::_('COM_JEPROSHOP_SHOW_ALL_MESSAGES_LABEL'); ?> <i class="icon-external-link"></i> </a> </div> </form> </div> </div> </div> </div> <div style="clear:both;" ></div> </div> <div class="form_box" > <form class="container-command-top-spacing" action="<?php echo JRoute::_('index.php?option=com_jeproshop&view=order&task=view&order_id=' . $this->order->order_id . '&' . JeproshopTools::getOrderFormToken()); ?> " method="post" onsubmit="return orderDeleteProduct('<?php echo JText::_('COM_JEPROSHOP_THIS_PRODUCT_CANNOT_BE_RETURNED_MESSAGE'); ?> ', '<?php echo JText::_('COM_JEPROSHOP_QUANTITY_TO_CANCEL_IS_GREATER_THAN_AVAILABLE_QUANTITY_MESSAGE'); ?> ');" > <div> <div class="panel"> <div class="panel-title"> <i class="icon-shopping-cart"></i> <?php echo strtoupper(JText::_('COM_JEPROSHOP_PRODUCTS_LABEL')); ?> <span class="badge badge-success" ><?php
echo JText::_('COM_JEPROSHOP_ORDER_LABEL') . ' N° ' . $this->order->order_id; ?> </a></h2> <?php echo JText::_('COM_JEPROSHOP_MADE_ON_LABEL') . ' ' . JeproshopTools::dateFormat($this->order->date_add); } else { ?> <h2><?php echo JText::_('COM_JEPROSHOP_NO_ORDER_WAS_CREATED_FROM_THIS_CART_LABEL'); ?> </h2> <?php if ($this->customer->customer_id) { ?> <a class="btn btn-default" href="<?php echo JRoute::_('index.php?option=com_jeproshop&view=order&task=create&cart_id=' . (int) $this->cart->cart_id . '&' . JeproshopTools::getOrderFormToken() . '=1'); ?> " > <i class="icon-shopping-cart"></i> <?php echo JText::_('COM_JEPROSHOP_CREATE_A_NEW_ORDER_FROM_THIS_CART_LABEL'); ?> </a> <?php } } ?> </div> </div> </div> <div class="clear" style="clear:both; height:20px;"> </div> </div>