{* $Id: gc_admin.tpl,v 1.13 2002/12/02 14:19:54 svowl Exp $ *} {if $smarty.get.mode eq "add_gc" or ($smarty.get.mode eq "modify_gc" and $gc_readonly ne "Y")} {include file="modules/Gift_Certificates/giftcert.tpl"} {elseif $smarty.get.mode eq "modify_gc"} {include file="modules/Gift_Certificates/giftcert_static.tpl"} {else} {include file="location.tpl" last_location="Gift certificates"} This section allows you to browse though ordered Gift Certificates.

Note: expired GC's are not shown in the list by default. If you want to have a list of all existing GC's you have to enable "Show expired GC's" option in 'General setting' section.

{capture name=dialog} {if $giftcerts ne ""} {section name=gc_num loop=$giftcerts} {if $giftcerts[gc_num].orderid} {else} {/if} {/section}
OrderGiftcert IDStatusRem./AmountAdded
#{$giftcerts[gc_num].orderid}A{$giftcerts[gc_num].gcid} {include file="currency.tpl" value=$giftcerts[gc_num].debit}/{include file="currency.tpl" value=$giftcerts[gc_num].amount} {$giftcerts[gc_num].add_date|date_format:"%b/%d/%Y"}

   

WARNING: When you update Gift Certificate status to active this certificate will be automatically sent to recipient email.

{else} Gift Certificates not found.

{/if} {/capture} {include file="dialog.tpl" title="Gift Certificates" content=$smarty.capture.dialog extra="width=100%"} {/if}