{assign var="bill_action" value="$(this).blur();`$basic_filter.on_change`_bill('`$basic_filter.filter_id`')"}
<a onclick="{$bill_action};" class="dialog_make_text_btn ui-corner-all">
    <span class="dialog_make_btn16 ok ui-corner-all"></span>
    {$i.calcexp_bill}

</a>
<!-- ------------------------------------------------------------------------------------------------------------------------ -->
{assign var="former_action" value="$(this).blur();`$basic_filter.on_change`_former('`$basic_filter.filter_id`')"}
<a onclick="{$former_action};" class="dialog_make_text_btn ui-corner-all">
    <span class="dialog_make_btn16 parent ui-corner-all"></span>
    {$i.calcexp_former}
</a>
<!-- ------------------------------------------------------------------------------------------------------------------------ -->
{assign var="unset_last_action" value="$(this).blur();`$basic_filter.on_change`_unset_last('`$basic_filter.filter_id`')"}
<a onclick="{$unset_last_action};" class="dialog_make_text_btn ui-corner-all">
    <span class="dialog_make_btn16 reset_calcexp ui-corner-all"></span>
    {$i.calcexp_unset_last}
</a>

{if $basic_filter.filter_id neq 'calcexp_staff'}
    <span id="{$basic_filter.filter_id}_one_project_only">
        <!-- ------------------------------------------------------------------------------------------------------------------------ -->
        {assign var="show_loc_action" value="$(this).blur();`$basic_filter.on_change`_show_loc('`$basic_filter.filter_id`')"}
        <a onclick="{$show_loc_action};" class="dialog_make_text_btn ui-corner-all">
            <span class="dialog_make_btn16 project ui-corner-all"></span>
            {$i.calcexp_show_loc}
        </a>
        <!-- ------------------------------------------------------------------------------------------------------------------------ -->
        {assign var="show_offers_action" value="$(this).blur();`$basic_filter.on_change`_show_offers('`$basic_filter.filter_id`')"}
        <a onclick="{$show_offers_action};" class="dialog_make_text_btn ui-corner-all">
            <span class="dialog_make_btn16 project ui-corner-all"></span>
            {$i.calcexp_show_offers}
        </a>
        <!-- ------------------------------------------------------------------------------------------------------------------------ -->
        {assign var="show_planned_fees_action" value="$(this).blur();`$basic_filter.on_change`_show_planned_fees('`$basic_filter.filter_id`')"}
        <a onclick="{$show_planned_fees_action};" class="dialog_make_text_btn ui-corner-all">
            <span class="dialog_make_btn16 fees ui-corner-all"></span>
            {$i.calcexp_show_planned_fees}
        </a>
    </span>
{/if}

{include file='r/hidden.tpl' name="filter_`$basic_filter.filter_id`_calcexp_id" default=''}