{include file="sections/header.tpl"}
{if in_array($_admin['user_type'],['SuperAdmin','Admin'])} {/if}  
{foreach $d as $ds} {/foreach}
ID {Lang::T('Type')} {Lang::T('Routers')} {Lang::T('Plan Name')} {Lang::T('Code Voucher')} {Lang::T('Status Voucher')} {Lang::T('Customer')} {Lang::T('Used Date')} {Lang::T('Generated By')} {Lang::T('Manage')}
{$ds['id']} {$ds['type']} {$ds['routers']} {$ds['name_plan']} {$ds['code']} {if $ds['status'] eq '0'} {else} {/if} {if $ds['user'] eq '0'} - {else}{$ds['user']} {/if} {if $ds['used_date']}{Lang::dateTimeFormat($ds['used_date'])}{/if} {if $ds['generated_by']} {$admins[$ds['generated_by']]} {else} - {/if} {if $ds['status'] neq '1'}   {Lang::T('View')}   {/if} {if in_array($_admin['user_type'],['SuperAdmin','Admin'])} {/if}
{include file="pagination.tpl"}
{include file="sections/footer.tpl"}