{layout admin/layout}
{lang wallet.ex_title}
{lang wallet.ex_desc}
{if $flash.message}
{$flash.message}
{/if} {if $is_super}
{if !empty($edit)}{lang wallet.edit_goods} #{$edit.id}{else}{lang wallet.new_goods}{/if}

{lang wallet.price_help}

{/if}
{lang wallet.goods_list}
{if !empty($items)} {if $is_super}{/if} {loop $items as $g} {if $is_super} {/if} {/loop}
ID{lang wallet.col_name}{lang wallet.col_price}{lang wallet.col_reward}{lang wallet.col_stock}{lang wallet.col_limit}{lang admin.status}{lang admin.operation}
{$g.id} {$g.title}{if !empty($g.description)}
{$g.description}
{/if}
{$g.price_text} {$g.reward_type}{if $g.reward_amount > 0} × {$g.reward_amount}{/if} {if $g.stock == -1}{lang wallet.unlimited}{else}{$g.stock}{/if} {if $g.per_user == 0}{lang wallet.unlimited}{else}{$g.per_user}{/if} {if $g.status == 1}{lang wallet.online}{else}{lang wallet.offline}{/if}
{lang admin.edit}
{else}
{lang wallet.no_goods}
{/if}
{lang wallet.recent_ex}
{if !empty($logs)} {if $is_super}{/if} {loop $logs as $l} {if $is_super} {/if} {/loop}
ID{lang wallet.col_member}{lang wallet.col_product}{lang wallet.col_pay}{lang admin.status}{lang wallet.col_time}{lang admin.operation}
{$l.id} {$l.username} {$l.title} {if $l.pay_currency == 'balance'}{$l.pay_amount} {lang wallet.unit_fen}{else}{$l.pay_amount} {lang wallet.points}{/if} {if $l.status == 1}{lang wallet.fulfilled}{elseif $l.status == 2}{lang wallet.canceled}{else}{lang wallet.pending}{/if} {$l.time_format} {if $l.status == 0}
{else} — {/if}
{else}
{lang wallet.no_ex_records}
{/if}