{extends file="layout.html"} {block name=title}LMS: {$layout.pagetitle|striphtml}{/block} {block name=module_content}

{$layout.pagetitle}

{if $listdata.total != 0} {/if} {section name=taxratelist loop=$taxratelist start=$start max=$pagelimit} {sectionelse} {/section} {if $listdata.total != 0} {/if}
{icon name="tax"} {trans("Label:")} {if $listdata.order == "label"} {/if} {trans("ID:")} {if $listdata.order == "id"} {/if} {trans("Value:")} {if $listdata.order == "value"} {/if} {trans("Reverse charge:")} {trans("Taxing:")} {trans("Binds from date:")} {trans("Binds to date:")} {button icon="add" label="Add tax rate" href="?m=taxrateadd"}
{include file="scroller.html" loop=$taxratelist}
{icon name="tax"} {$taxratelist[taxratelist].label} ({$taxratelist[taxratelist].id|string_format:"%04d"}) {$taxratelist[taxratelist].value|string_format:"%.2f"} % {if $taxratelist[taxratelist].reversecharge} {icon name="checked"} {/if} {if $taxratelist[taxratelist].taxed} {icon name="checked"} {/if} {if $taxratelist[taxratelist].validfrom}{$taxratelist[taxratelist].validfrom|date_format:"%x"}{/if} {if $taxratelist[taxratelist].validto}{$taxratelist[taxratelist].validto|date_format:"%x"}{/if} {button type="link" icon="delete" tip="Delete" class="delete-taxrate" data_resource_id=$taxratelist[taxratelist].id} {button type="link" icon="edit" tip="Edit" href="?m=taxrateedit&id={$taxratelist[taxratelist].id}"}
{trans("No such tax rates in database.")}
{include file="scroller.html" loop=$taxratelist}
{button icon="add" label="Add tax rate" href="?m=taxrateadd"}
{/block}