Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi guys

 

In the admin/returns.php

 

in The list of RMA's it generates not one, byt two lines with the same information except the last "status" column".

 

i have narrowed it down to this code:

 

<?php // ADDED BY BURT ?>

<td class="dataTableContent" align="center"><b><?php echo $orders['rma_value']; ?></b></a>

<?php // END BURT ?>

<td class="dataTableContent"><?php echo '<a href="' . tep_href_link(FILENAME_RETURNS, tep_get_all_get_params(array('oID', 'action')) . 'oID=' . $orders['returns_id'] . '&action=edit') . '">' . tep_image(DIR_WS_ICONS . 'preview.gif', ICON_PREVIEW) . ' ' . $order_done . $return_customer_name . '</font></a>' ; ?></td>

<td class="dataTableContent" align="right"><?php echo $currencies->format($orders['final_price']); ?></td>

<td class="dataTableContent" align="center"><?php echo tep_datetime_short($orders['date_purchased']); ?></td>

<td class="dataTableContent" align="right"><?php echo $orders['return_reason_name']; ?></td>

<td class="dataTableContent" align="right"><?php echo $orders['returns_status_name'];?></td>

</tr><?php

} // WHILE LOOP

?>

 

But what do i need to do in order for it to only generate one line instead of two. if you do not catch the meaning of this, here is a SC:

 

sc.jpg

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...