{extend name="default/base/base_seller" /} {block name="seller_btn"} {if isset($isPlatformStore) || config('ds_config.promotion_voucher_price')==0} {$Think.lang.voucher_templateadd} {else /} {notempty name="current_quota"} {$Think.lang.voucher_templateadd} {$Think.lang.set_meal_renewal} {else /} {$Think.lang.voucher_applyadd} {/notempty} {/if} {/block} {block name="seller_main"} {if isset($isPlatformStore) || config('ds_config.promotion_voucher_price')==0}

- {$Think.lang.voucher_template_list_tip1}
- {$Think.lang.voucher_template_list_tip2}

{else /}
{notempty name="current_quota"} {$Think.lang.set_expiration_time}{$Think.lang.ds_colon}{$current_quota.voucherquota_endtime|date="Y-m-d H:i:s"} {else} {$Think.lang.please_buy_package_first} {/notempty}

- {$Think.lang.voucher_template_list_tip1}
- {$Think.lang.voucher_template_list_tip2}
- 3、{$Think.lang.deduction_settlement_payment_days}。

{/if}

| {$Think.lang.voucher_template_enddate} |  –  | {$Think.lang.ds_status} |  | {$Think.lang.voucher_template_title} |  |

| {$Think.lang.voucher_template_title} | {$Think.lang.voucher_template_orderpricelimit} | {$Think.lang.voucher_template_price} | {$Think.lang.voucher_template_enddate} | {$Think.lang.ds_status} | {$Think.lang.ds_handle}
--- | --- | --- | --- | --- | --- | ---
{notempty name="vouchertemplate_list"} {foreach name="vouchertemplate_list" item="val"}
| {$val.vouchertemplate_title} | ￥{$val.vouchertemplate_limit} | ￥{$val.vouchertemplate_price} | {$val.vouchertemplate_startdate|date="Y-m-d"}~{:date('Y-m-d',$val.vouchertemplate_enddate)} | {if $val.vouchertemplate_state == $templatestate_arr.usable.0}{$templatestate_arr.usable.1}{/if} {if $val.vouchertemplate_state == $templatestate_arr.disabled.0}{$templatestate_arr.disabled.1}{/if} | {if $val.vouchertemplate_state == $templatestate_arr.usable.0 && !$val.vouchertemplate_giveout}  {$Think.lang.ds_edit} {else}  {$Think.lang.ds_detail} {/if} {if !$val.vouchertemplate_giveout}  {$Think.lang.ds_del} {/if}
{/foreach} {else /}
{$Think.lang.no_record}
{/notempty}
{notempty name="vouchertemplate_list"}
{$show_page|raw}
{/notempty}

{/block}