{include file="common/head.tpl.html"} {calendar->init} {help->link name="contract_window" class="help-overview"}
{$lang.contract_internal_id}: {$data}
{if $return}{/if} {if !$read_permission}
{$lang.global_error_permissions} ({contract->value name="subject"})
{else} {include file=$contract_template}
{if !$is_owner}
{$lang.global_error_permissions} ({contract->value name="subject"})
{else} {if $data}{/if} {/if}
{/if}
{if $smarty.const.INVOICES && $use_new_view}
{html->picture_upload name="offer[pic_folder]" path=$img_path readonly="true" click_action="index.php?op=contracts_index&download&data=`$data`" fname_filter="Vertrag*" oid=$data}
{else}
{$calendar}
{cssbutton->simple id="btn_search" string=$lang.global_search}
{/if}
{smartregister->custom_register registers=$custom_registers show=$custom_registers_show module_settings_id=$smarty.const.MODULE_CONTRACTS last_rg=$last_rg} {smartregister->init obj_id="detailtab" user_option="contracts_smartreg"}
{include file="common/foot.tpl.html"}