<div>
    <form method="post" action="{$reply_url}" id="home_office_{$home_office_id}"
          target="object_home_office_{$home_office_id}">
        <div class="noprint">

            {include file='r/datefromto.tpl' name="{$home_office_id}_portlet_home_office_date"
                title="filter_from_date" default=$default_dates}

            {if $ustrich_staff_list!==false}
                {include file='r/select.tpl' name="{$home_office_id}_search_home_office_staff" 
                    title="basic_staff" list=$ustrich_staff_list id="id" text="staff_name" 
                    noempty="true" deactivate_possible=true deactivate=true
                    add_icons_file="staff_inactive" staff_inactive_shortname="false"}
            {/if}
            
            {include file='r/checkbox.tpl' name="{$home_office_id}_portlet_home_office_monthly" 
                title="filter_monthly" collapse='formcoll'
                default=true}

            {include file='r/checkbox.tpl' name="{$home_office_id}_portlet_home_office_days" 
                title="basic_days" collapse='formcoll'
                default=false}


            {include file='r/hidden.tpl' name="portlet_home_office_my_id" 
                default=$home_office_id}                

            <br>
            <a onclick="$('#home_office_{$home_office_id}').submit();" 
                class="dialog_make_text_btn ui-corner-all noprint">
                 <span class="dialog_make_btn16 update ui-corner-all"></span>{$i.basic_update}
            </a> 
        </div>
    </form>

    {include file='r_basic/process_object.tpl' rep_uniqid="home_office_`$home_office_id`" process_url='select.html' process_height="500px"}   
</div>