<div class="ui-dialog-maxheight-scroll" style="max-height:250px;">
    <h4>{$i.externalexpenses_selected_externalexpense}</h4>
    <hr />
    <ul>
        {foreach item="selected_extexp" from=$selected_items}
            <li class="dialog_make_text_btn ui-corner-all" onclick="basicForm.selectable_row.unselect_from_dlg('externalexpenses','{$selected_extexp->id}', this);">
                <span class="dialog_make_btn16 delete ui-corner-all"></span>
                    
                {if isset($selected_extexp->date)}<span title="{$i.externalexpenses_date}">{$selected_extexp->date->us_date()}</span>{/if}
                {if !empty($selected_extexp->project)} | <span title="{$i.externalexpenses_project}">{$selected_extexp->project}</span>{/if}
                {if !empty($selected_extexp->address)} | <span title="{$i.externalexpenses_address}">{$selected_extexp->address}</span>{/if}
                {if isset($selected_extexp->value)} | <span title="{$i.externalexpenses_value}">{float_to_usnumber($selected_extexp->value)} {$project_global_currency}</span>{/if}
                {if !empty($selected_extexp->purpose)} | <span title="{$i.externalexpenses_purpose}">{$selected_extexp->purpose}</span>{/if}
            </li>
        {/foreach} 
    </ul>    
</div>

<div class="ui-dialog-addi-edit-fields">
    <h4>{$i.basic_addi_fields}</h4>
    {include file='Externalexpenses/addi_edit.tpl' add_iconsleft_file='addi_derive_checkbox'}
</div>
