{assign var=title value="Coupon Batch"} {include file="admin/header.inc.html"} {include file="admin/coupon_nb.inc.html" selected="batches"}

{$title} #{$smarty.request.batch_id|escape}

{if $error} {$error|escape}

{/if} {if $smarty.request.batch_id > 0}
 Batch Settings Change   {if $coupons.0.begin_date != '0000-00-00'} {else} {/if}
Usage Count {$coupons.0.use_count|escape}
Member Usage Count {$coupons.0.member_use_count|escape}
Discount {$coupons.0.discount|escape}
Valid{$coupons.0.begin_date|amember_date_format} - {$coupons.0.expire_date|amember_date_format}
not limited
Is Recurring {if $coupons.0.is_recurring}Yes{else}No{/if}
Comment {$coupons.0.comment|escape}
Product ID {$coupons.0.product_id|escape}

{span}

{foreach from=$coupons item=c} {/foreach}
Code Count/Used Disabled  
{$c.code|escape} {$c.use_count}/{$c.used_count} {if $c.locked}YES{else}NO{/if} Delete / Edit
{else} {* Particular Coupons *} {foreach from=$coupons item=c} {if $c.begin_date != '0000-00-00'} {else} {/if} {/foreach}
Code Discount Valid Comment Products Count/Used Disabled  
{$c.code|escape} {$c.discount|escape}{$c.begin_date|amember_date_format} - {$c.expire_date|amember_date_format}not limited{$c.comment|escape} {$c.product_id|escape} {$c.use_count}/{$c.used_count} {if $c.locked}YES{else}NO{/if} Delete / Edit
{/if}
{span count=$count}

Return to coupon batches {include file="admin/footer.inc.html"}