Thread: Orders Info
View Single Post
  #1  
Old 07-26-2006, 08:53 AM
 
weswhite weswhite is offline
 

Advanced Member
  
Join Date: May 2006
Location: KS
Posts: 34
 

Default Orders Info

Hello

I have pasted the code below. What I want is in that table there, when you are in the admin side it displays four order status's. We have many more order status's than that, and I can not get them to display. We would just like to be able to view all the $ amount summaries with totals and everything.

Thanks!

Order Status That We have
Code:
<option value="I"{if $status eq "I"} selected="selected"{/if}>{$lng.lbl_not_finished}</option> <option value="Q"{if $status eq "Q"} selected="selected"{/if}>{$lng.lbl_queued}</option> <option value="P"{if $status eq "P"} selected="selected"{/if}>{$lng.lbl_processed}</option> <option value="T"{if $status eq "T"} selected="selected"{/if}>{$lng.lbl_printed}</option> <option value="S"{if $status eq "S"} selected="selected"{/if}>{$lng.lbl_shipped}</option> <option value="C"{if $status eq "C"} selected="selected"{/if}>{$lng.lbl_complete}</option> <option value="">------------------</option> <option value="Z"{if $status eq "Z"} selected="selected"{/if}>{$lng.lbl_discontinued}</option> <option value="B"{if $status eq "B"} selected="selected"{/if}>{$lng.lbl_backordered}</option> <option value="F"{if $status eq "F"} selected="selected"{/if}>{$lng.lbl_failed}</option> <option value="D"{if $status eq "D"} selected="selected"{/if}>{$lng.lbl_declined}</option> <option value="D"{if $status eq "D"} selected="selected"{/if}>{$lng.lbl_cancelled}</option> <option value="N"{if $status eq "N"} selected="selected"{/if}>{$lng.lbl_pending}</option> <option value="R"{if $status eq "R"} selected="selected"{/if}>{$lng.lbl_refunded}</option>


Orders Info Code
Code:
<table cellpadding="0" cellspacing="0" width="90%"> <tr> <td class="TableHead"> <table cellpadding="3" cellspacing="1" width="100%"> <tr class="TableHead"> <td>{$lng.lbl_status}</td> <td nowrap="nowrap" align="center">{$lng.lbl_since_last_log_in}</td> <td align="center">{$lng.lbl_today}</td> <td nowrap="nowrap" align="center">{$lng.lbl_this_week}</td> <td nowrap="nowrap" align="center">{$lng.lbl_this_month}</td> </tr> {foreach key=key item=item from=$orders} <tr class="{cycle values='SectionBox,TableSubHead'}"> <td nowrap="nowrap" align="left"> {if $key eq "I"}{$lng.lbl_not_finished} {elseif $key eq "Q"}{$lng.lbl_queued} {elseif $key eq "P"}{$lng.lbl_processed} {elseif $key eq "T"}{$lng.lbl_printed} {elseif $key eq "B"}{$lng.lbl_backordered} {elseif $key eq "S"}{$lng.lbl_shipped} {elseif $key eq "F" or $key eq "D"}{$lng.lbl_failed}/{$lng.lbl_declined} {/if}: </td> {section name=period loop=$item} <td align="center">{$item[period]}</td> {/section} </tr> {/foreach} <tr class="{cycle values='SectionBox,TableSubHead'}"> <td align="right">{$lng.lbl_gross_total}:</td> {section name=period loop=$gross_total} <td align="center">{include file="currency.tpl" value=$gross_total[period]}</td> {/section} </tr> <tr class="{cycle values='SectionBox,TableSubHead'}"> <td align="right">{$lng.lbl_total_paid}:</td> {section name=period loop=$total_paid} <td align="center">{include file="currency.tpl" value=$total_paid[period]}</td> {/section} </tr> </table> </td> </tr> </table>
__________________
X-Cart Pro v4.1.1
Reply With Quote