{vacation_type value=$vacation->type elem='span'}
{if $vacation->is_absent}
    {if $vacation->is_absent_social}
        {$i.holidayadmin_absent_social_yes}
    {else}
        {$i.holidayadmin_absent_social_no}
    {/if}
{/if}

{$vacation->start_date->us_date()}
{if $vacation->start_date->mysqlday() neq $vacation->end_date->mysqlday()}
    - {$vacation->end_date->us_date()}
{/if}

{if (isset($vacation->status__approved) && $vacation->status__approved) && 
    (!isset($vacation->imported_workinput) || !$vacation->imported_workinput) && 
    (!isset($vacation->increased) || !$vacation->increased)}
    <a class="dialog_make_text_btn ui-corner-all" onclick="work_input.add_to_workinput({$vacation->id});">
        {* <span class="dialog_make_btn16 add_vac_to_hours ui-corner-all"></span> *}
        {$i.holidayadmin_workinput_transfer1}
        {if $vacation->type eq Vacations_model::TYPE_ABSENT}
            {include file='r/view-only.tpl' name="type2" default=$i.holidayadmin_type_absent}
        {else}
            {include file='r/view-only.tpl' name="type2" default=$i.holidayadmin_holiday}
        {/if}
        {$i.holidayadmin_workinput_transfer2}
    </a>
{/if}