Fix in the orders list in the administration

  • Impression eStudio
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 years 9 months ago #144868 by Impression eStudio
Fix in the orders list in the administration was created by Impression eStudio
Hi, 

When the invoice feature is disabled, then the order list in administration is not displayed correctly.
To fix it, in the file "administrator/components/com_eshop/views/orders/tmpl/default.php" change the code:
Code:
                    <td class="text_center">                         <?php                         if (EshopHelper::isInvoiceAvailable($row, '1', false))                         {                         ?>                                                     <a href="<?php echo JRoute::_('index.php?option=com_eshop&task=order.downloadInvoice&cid[]='. $row->id); ?>"><?php echo $row->invoice_number; ?></a>                           <?php                         }                         ?>                     </td>
to:
Code:
                    <?php                     if (EshopHelper::isInvoiceAvailable($row, '1', false))                     {                     ?>                         <td class="text_center">                                                 <a href="<?php echo JRoute::_('index.php?option=com_eshop&task=order.downloadInvoice&cid[]='. $row->id); ?>"><?php echo $row->invoice_number; ?></a>                           </td>                     <?php                     }                     ?>

In other words, the td tags must be inside the php code.

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
2 years 9 months ago #145159 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Fix in the orders list in the administration
Hello,

Thank you for reporting this small layout issue. It was fixed and included into the latest version 3.4.1 of EShop.

Please update EShop to see it.

Sincerely, Giang

Please Log in or Create an account to join the conversation.

Moderators: Giang Dinh Truong