{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}
{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}
{/if}
  {$Think.lang.voucher_template_enddate} {$Think.lang.ds_status} {$Think.lang.voucher_template_title}
{notempty name="vouchertemplate_list"} {foreach name="vouchertemplate_list" item="val"} {/foreach} {else /} {/notempty} {notempty name="vouchertemplate_list"} {/notempty}
{$Think.lang.voucher_template_title} {$Think.lang.voucher_template_orderpricelimit} {$Think.lang.voucher_template_price} {$Think.lang.voucher_template_enddate} {$Think.lang.vouchertemplate_if_private} {$Think.lang.ds_status} {$Think.lang.ds_handle}
{$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_if_private ==1} {$Think.lang.ds_yes} {else} {$Think.lang.ds_no} {/if} {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_if_private ==1}

{$Think.lang.ds_view}

{/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}
{$Think.lang.no_record}
{/block}