

<script language="javascript">
    {literal}
    SUGAR.util.doWhen(function () {
        return $("#contentTable").length == 0;
    }, SUGAR.themes.actionMenu);
    {/literal}
</script>
<table cellpadding="0" cellspacing="0" border="0" width="100%" id="">
<tr>
<td class="buttons" align="left" NOWRAP width="80%">
<div class="actionsContainer">
<form action="index.php" method="post" name="DetailView" id="formDetailView">
<input type="hidden" name="module" value="{$module}">
<input type="hidden" name="record" value="{$fields.id.value}">
<input type="hidden" name="return_action">
<input type="hidden" name="return_module">
<input type="hidden" name="return_id">
<input type="hidden" name="module_tab">
<input type="hidden" name="isDuplicate" value="false">
<input type="hidden" name="offset" value="{$offset}">
<input type="hidden" name="action" value="EditView">
<input type="hidden" name="sugar_body_only">
{if !$config.enable_action_menu}
<div class="buttons">
{if $bean->aclAccess("edit")}<input title="{$APP.LBL_EDIT_BUTTON_TITLE}" accessKey="{$APP.LBL_EDIT_BUTTON_KEY}" class="button primary" onclick="var _form = document.getElementById('formDetailView'); _form.return_module.value='Accounts'; _form.return_action.value='DetailView'; _form.return_id.value='{$id}'; _form.action.value='EditView';SUGAR.ajaxUI.submitForm(_form);" type="button" name="Edit" id="edit_button" value="{$APP.LBL_EDIT_BUTTON_LABEL}">{/if} 
{if $bean->aclAccess("delete")}<input title="{$APP.LBL_DELETE_BUTTON_TITLE}" accessKey="{$APP.LBL_DELETE_BUTTON_KEY}" class="button" onclick="var _form = document.getElementById('formDetailView'); _form.return_module.value='Accounts'; _form.return_action.value='ListView'; _form.action.value='Delete'; if(confirm('{$APP.NTC_DELETE_CONFIRMATION}')) SUGAR.ajaxUI.submitForm(_form); return false;" type="submit" name="Delete" value="{$APP.LBL_DELETE_BUTTON_LABEL}" id="delete_button">{/if} 
</div>                    {/if}
</form>
</div>
</td>
<td align="right" width="20%" class="buttons">{$ADMIN_EDIT}
{$PAGINATION}
</td>
</tr>
</table>
{sugar_include include=$includes}
<div class="detail-view">
<div class="mobile-pagination">{$PAGINATION}</div>

<ul class="nav nav-tabs">

{if $config.enable_action_menu and $config.enable_action_menu != false}
<li role="presentation" class="active">
<a id="tab0" data-toggle="tab" class="hidden-xs">
{sugar_translate label='LBL_ACCOUNT_INFORMATION' module='Accounts'}
</a>
<a id="xstab0" href="#" class="visible-xs first-tab dropdown-toggle" data-toggle="dropdown">
{sugar_translate label='LBL_ACCOUNT_INFORMATION' module='Accounts'}
</a>
</li>






{/if}
{if $config.enable_action_menu and $config.enable_action_menu != false}
<li id="tab-actions" class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Acciones<span class="suitepicon suitepicon-action-caret"></span></a>
<ul class="dropdown-menu">
<li>{if $bean->aclAccess("edit")}<input title="{$APP.LBL_EDIT_BUTTON_TITLE}" accessKey="{$APP.LBL_EDIT_BUTTON_KEY}" class="button primary" onclick="var _form = document.getElementById('formDetailView'); _form.return_module.value='Accounts'; _form.return_action.value='DetailView'; _form.return_id.value='{$id}'; _form.action.value='EditView';SUGAR.ajaxUI.submitForm(_form);" type="button" name="Edit" id="edit_button" value="{$APP.LBL_EDIT_BUTTON_LABEL}">{/if} </li>
<li>{if $bean->aclAccess("delete")}<input title="{$APP.LBL_DELETE_BUTTON_TITLE}" accessKey="{$APP.LBL_DELETE_BUTTON_KEY}" class="button" onclick="var _form = document.getElementById('formDetailView'); _form.return_module.value='Accounts'; _form.return_action.value='ListView'; _form.action.value='Delete'; if(confirm('{$APP.NTC_DELETE_CONFIRMATION}')) SUGAR.ajaxUI.submitForm(_form); return false;" type="submit" name="Delete" value="{$APP.LBL_DELETE_BUTTON_LABEL}" id="delete_button">{/if} </li>
</ul>        </li>
<li class="tab-inline-pagination">
{$PAGINATION}
</li>
{/if}
</ul>
<div class="clearfix"></div>

{if $config.enable_action_menu and $config.enable_action_menu != false}

<div class="tab-content">
{else}

<div class="tab-content" style="padding: 0; border: 0;">
{/if}


{if $config.enable_action_menu and $config.enable_action_menu != false}
<div class="tab-pane-NOBOOTSTRAPTOGGLER active fade in" id='tab-content-0'>





<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="sic_code">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_SIC_CODE' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="sic_code" >

{if !$fields.sic_code.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.sic_code.value) <= 0}
{assign var="value" value=$fields.sic_code.default_value }
{else}
{assign var="value" value=$fields.sic_code.value }
{/if} 
<span class="sugar_field" id="{$fields.sic_code.name}">{$fields.sic_code.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="estatus_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_ESTATUS' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="enum" field="estatus_c" >

{if !$fields.estatus_c.hidden}
{counter name="panelFieldCount" print=false}


{if is_string($fields.estatus_c.options)}
<input type="hidden" class="sugar_field" id="{$fields.estatus_c.name}" value="{ $fields.estatus_c.options }">
{ $fields.estatus_c.options }
{else}
<input type="hidden" class="sugar_field" id="{$fields.estatus_c.name}" value="{ $fields.estatus_c.value }">
{ $fields.estatus_c.options[$fields.estatus_c.value]}
{/if}
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="name">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_NAME' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="name" field="name" >

{if !$fields.name.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.name.value) <= 0}
{assign var="value" value=$fields.name.default_value }
{else}
{assign var="value" value=$fields.name.value }
{/if} 
<span class="sugar_field" id="{$fields.name.name}">{$fields.name.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="motivo_noperfil_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_MOTIVO_NOPERFIL' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="enum" field="motivo_noperfil_c" >

{if !$fields.motivo_noperfil_c.hidden}
{counter name="panelFieldCount" print=false}


{if is_string($fields.motivo_noperfil_c.options)}
<input type="hidden" class="sugar_field" id="{$fields.motivo_noperfil_c.name}" value="{ $fields.motivo_noperfil_c.options }">
{ $fields.motivo_noperfil_c.options }
{else}
<input type="hidden" class="sugar_field" id="{$fields.motivo_noperfil_c.name}" value="{ $fields.motivo_noperfil_c.value }">
{ $fields.motivo_noperfil_c.options[$fields.motivo_noperfil_c.value]}
{/if}
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="rif_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_RIF' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="rif_c" >

{if !$fields.rif_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.rif_c.value) <= 0}
{assign var="value" value=$fields.rif_c.default_value }
{else}
{assign var="value" value=$fields.rif_c.value }
{/if} 
<span class="sugar_field" id="{$fields.rif_c.name}">{$fields.rif_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="fecha_nac_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_FECHA_NAC' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="date" field="fecha_nac_c" >

{if !$fields.fecha_nac_c.hidden}
{counter name="panelFieldCount" print=false}


{if !empty($vardef.date_formatted_value) }
{assign var="value" value={$vardef.date_formatted_value} }
{else}
{if strlen($fields.fecha_nac_c.value) <= 0}
{assign var="value" value=$fields.fecha_nac_c.default_value }
{else}
{assign var="value" value=$fields.fecha_nac_c.value }
{/if}
{/if}
<span class="sugar_field" id="{$fields.fecha_nac_c.name}">{$value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="direccion_rif_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIRECCION_RIF' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="enum" field="direccion_rif_c" >

{if !$fields.direccion_rif_c.hidden}
{counter name="panelFieldCount" print=false}


{if is_string($fields.direccion_rif_c.options)}
<input type="hidden" class="sugar_field" id="{$fields.direccion_rif_c.name}" value="{ $fields.direccion_rif_c.options }">
{ $fields.direccion_rif_c.options }
{else}
<input type="hidden" class="sugar_field" id="{$fields.direccion_rif_c.name}" value="{ $fields.direccion_rif_c.value }">
{ $fields.direccion_rif_c.options[$fields.direccion_rif_c.value]}
{/if}
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="otradireccion_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_OTRADIRECCION' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="text" field="otradireccion_c" >

{if !$fields.otradireccion_c.hidden}
{counter name="panelFieldCount" print=false}

<span class="sugar_field" id="{$fields.otradireccion_c.name|escape:'html'|url2html|nl2br}">{$fields.otradireccion_c.value|escape:'html'|escape:'html_entity_decode'|url2html|nl2br}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="nombres_apellidos_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_NOMBRES_APELLIDOS' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="nombres_apellidos_c" >

{if !$fields.nombres_apellidos_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.nombres_apellidos_c.value) <= 0}
{assign var="value" value=$fields.nombres_apellidos_c.default_value }
{else}
{assign var="value" value=$fields.nombres_apellidos_c.value }
{/if} 
<span class="sugar_field" id="{$fields.nombres_apellidos_c.name}">{$fields.nombres_apellidos_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="edad_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_EDAD' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="edad_c" >

{if !$fields.edad_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.edad_c.value) <= 0}
{assign var="value" value=$fields.edad_c.default_value }
{else}
{assign var="value" value=$fields.edad_c.value }
{/if} 
<span class="sugar_field" id="{$fields.edad_c.name}">{$fields.edad_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="clasificacion_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_CLASIFICACION' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="enum" field="clasificacion_c" >

{if !$fields.clasificacion_c.hidden}
{counter name="panelFieldCount" print=false}


{if is_string($fields.clasificacion_c.options)}
<input type="hidden" class="sugar_field" id="{$fields.clasificacion_c.name}" value="{ $fields.clasificacion_c.options }">
{ $fields.clasificacion_c.options }
{else}
<input type="hidden" class="sugar_field" id="{$fields.clasificacion_c.name}" value="{ $fields.clasificacion_c.value }">
{ $fields.clasificacion_c.options[$fields.clasificacion_c.value]}
{/if}
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="aniversario_bodas_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_ANIVERSARIO_BODAS' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="date" field="aniversario_bodas_c" >

{if !$fields.aniversario_bodas_c.hidden}
{counter name="panelFieldCount" print=false}


{if !empty($vardef.date_formatted_value) }
{assign var="value" value={$vardef.date_formatted_value} }
{else}
{if strlen($fields.aniversario_bodas_c.value) <= 0}
{assign var="value" value=$fields.aniversario_bodas_c.default_value }
{else}
{assign var="value" value=$fields.aniversario_bodas_c.value }
{/if}
{/if}
<span class="sugar_field" id="{$fields.aniversario_bodas_c.name}">{$value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="facebook_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_FACEBOOK' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="facebook_c" >

{if !$fields.facebook_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.facebook_c.value) <= 0}
{assign var="value" value=$fields.facebook_c.default_value }
{else}
{assign var="value" value=$fields.facebook_c.value }
{/if} 
<span class="sugar_field" id="{$fields.facebook_c.name}">{$fields.facebook_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="twitter_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_TWITTER' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="twitter_c" >

{if !$fields.twitter_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.twitter_c.value) <= 0}
{assign var="value" value=$fields.twitter_c.default_value }
{else}
{assign var="value" value=$fields.twitter_c.value }
{/if} 
<span class="sugar_field" id="{$fields.twitter_c.name}">{$fields.twitter_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="phone_movil_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_PHONE_MOVIL' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="phone_movil_c" >

{if !$fields.phone_movil_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.phone_movil_c.value) <= 0}
{assign var="value" value=$fields.phone_movil_c.default_value }
{else}
{assign var="value" value=$fields.phone_movil_c.value }
{/if} 
<span class="sugar_field" id="{$fields.phone_movil_c.name}">{$fields.phone_movil_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="pin_bb_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_PIN_BB' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="pin_bb_c" >

{if !$fields.pin_bb_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.pin_bb_c.value) <= 0}
{assign var="value" value=$fields.pin_bb_c.default_value }
{else}
{assign var="value" value=$fields.pin_bb_c.value }
{/if} 
<span class="sugar_field" id="{$fields.pin_bb_c.name}">{$fields.pin_bb_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="phone_movil2_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_PHONE_MOVIL2' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="phone_movil2_c" >

{if !$fields.phone_movil2_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.phone_movil2_c.value) <= 0}
{assign var="value" value=$fields.phone_movil2_c.default_value }
{else}
{assign var="value" value=$fields.phone_movil2_c.value }
{/if} 
<span class="sugar_field" id="{$fields.phone_movil2_c.name}">{$fields.phone_movil2_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="">
</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-12 detail-view-row-item" data-field="email1">


<div class="col-xs-12 col-sm-2 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_EMAIL' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-10 detail-view-field" type="varchar" field="email1" colspan='3'>

{if !$fields.email1.hidden}
{counter name="panelFieldCount" print=false}
<span id='email1_span'>
{$fields.email1.value}
</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-12 detail-view-row-item" data-field="fecha_socio_desde_c">


<div class="col-xs-12 col-sm-2 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_FECHA_SOCIO_DESDE' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-10 detail-view-field" type="date" field="fecha_socio_desde_c" colspan='3'>

{if !$fields.fecha_socio_desde_c.hidden}
{counter name="panelFieldCount" print=false}


{if !empty($vardef.date_formatted_value) }
{assign var="value" value={$vardef.date_formatted_value} }
{else}
{if strlen($fields.fecha_socio_desde_c.value) <= 0}
{assign var="value" value=$fields.fecha_socio_desde_c.default_value }
{else}
{assign var="value" value=$fields.fecha_socio_desde_c.value }
{/if}
{/if}
<span class="sugar_field" id="{$fields.fecha_socio_desde_c.name}">{$value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="date_modified">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DATE_MODIFIED' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="datetime" field="date_modified" >

{if !$fields.date_modified.hidden}
{counter name="panelFieldCount" print=false}
<span id="date_modified" class="sugar_field">{$fields.date_modified.value} {$APP.LBL_BY} {$fields.modified_by_name.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="modified_by_name">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_MODIFIED_NAME' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="relate" field="modified_by_name" >

{if !$fields.modified_by_name.hidden}
{counter name="panelFieldCount" print=false}

<span id="modified_user_id" class="sugar_field" data-id-value="{$fields.modified_user_id.value}">{$fields.modified_by_name.value}</span>
{/if}

</div>


</div>

</div>
                        </div>
{else}

<div class="tab-pane-NOBOOTSTRAPTOGGLER panel-collapse"></div>
{/if}
</div>

<div class="panel-content">
<div>&nbsp;</div>





{if $config.enable_action_menu and $config.enable_action_menu != false}

{else}

<div class="panel panel-default">
<div class="panel-heading ">
<a class="" role="button" data-toggle="collapse" href="#top-panel--1" aria-expanded="false">
<div class="col-xs-10 col-sm-11 col-md-11">
{sugar_translate label='LBL_ACCOUNT_INFORMATION' module='Accounts'}
</div>
</a>
</div>
<div class="panel-body panel-collapse collapse in panelContainer" id="top-panel--1" data-id="LBL_ACCOUNT_INFORMATION">
<div class="tab-content">
<!-- TAB CONTENT -->





<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="sic_code">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_SIC_CODE' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="sic_code" >

{if !$fields.sic_code.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.sic_code.value) <= 0}
{assign var="value" value=$fields.sic_code.default_value }
{else}
{assign var="value" value=$fields.sic_code.value }
{/if} 
<span class="sugar_field" id="{$fields.sic_code.name}">{$fields.sic_code.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="estatus_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_ESTATUS' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="enum" field="estatus_c" >

{if !$fields.estatus_c.hidden}
{counter name="panelFieldCount" print=false}


{if is_string($fields.estatus_c.options)}
<input type="hidden" class="sugar_field" id="{$fields.estatus_c.name}" value="{ $fields.estatus_c.options }">
{ $fields.estatus_c.options }
{else}
<input type="hidden" class="sugar_field" id="{$fields.estatus_c.name}" value="{ $fields.estatus_c.value }">
{ $fields.estatus_c.options[$fields.estatus_c.value]}
{/if}
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="name">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_NAME' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="name" field="name" >

{if !$fields.name.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.name.value) <= 0}
{assign var="value" value=$fields.name.default_value }
{else}
{assign var="value" value=$fields.name.value }
{/if} 
<span class="sugar_field" id="{$fields.name.name}">{$fields.name.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="motivo_noperfil_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_MOTIVO_NOPERFIL' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="enum" field="motivo_noperfil_c" >

{if !$fields.motivo_noperfil_c.hidden}
{counter name="panelFieldCount" print=false}


{if is_string($fields.motivo_noperfil_c.options)}
<input type="hidden" class="sugar_field" id="{$fields.motivo_noperfil_c.name}" value="{ $fields.motivo_noperfil_c.options }">
{ $fields.motivo_noperfil_c.options }
{else}
<input type="hidden" class="sugar_field" id="{$fields.motivo_noperfil_c.name}" value="{ $fields.motivo_noperfil_c.value }">
{ $fields.motivo_noperfil_c.options[$fields.motivo_noperfil_c.value]}
{/if}
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="rif_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_RIF' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="rif_c" >

{if !$fields.rif_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.rif_c.value) <= 0}
{assign var="value" value=$fields.rif_c.default_value }
{else}
{assign var="value" value=$fields.rif_c.value }
{/if} 
<span class="sugar_field" id="{$fields.rif_c.name}">{$fields.rif_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="fecha_nac_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_FECHA_NAC' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="date" field="fecha_nac_c" >

{if !$fields.fecha_nac_c.hidden}
{counter name="panelFieldCount" print=false}


{if !empty($vardef.date_formatted_value) }
{assign var="value" value={$vardef.date_formatted_value} }
{else}
{if strlen($fields.fecha_nac_c.value) <= 0}
{assign var="value" value=$fields.fecha_nac_c.default_value }
{else}
{assign var="value" value=$fields.fecha_nac_c.value }
{/if}
{/if}
<span class="sugar_field" id="{$fields.fecha_nac_c.name}">{$value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="direccion_rif_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIRECCION_RIF' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="enum" field="direccion_rif_c" >

{if !$fields.direccion_rif_c.hidden}
{counter name="panelFieldCount" print=false}


{if is_string($fields.direccion_rif_c.options)}
<input type="hidden" class="sugar_field" id="{$fields.direccion_rif_c.name}" value="{ $fields.direccion_rif_c.options }">
{ $fields.direccion_rif_c.options }
{else}
<input type="hidden" class="sugar_field" id="{$fields.direccion_rif_c.name}" value="{ $fields.direccion_rif_c.value }">
{ $fields.direccion_rif_c.options[$fields.direccion_rif_c.value]}
{/if}
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="otradireccion_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_OTRADIRECCION' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="text" field="otradireccion_c" >

{if !$fields.otradireccion_c.hidden}
{counter name="panelFieldCount" print=false}

<span class="sugar_field" id="{$fields.otradireccion_c.name|escape:'html'|url2html|nl2br}">{$fields.otradireccion_c.value|escape:'html'|escape:'html_entity_decode'|url2html|nl2br}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="nombres_apellidos_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_NOMBRES_APELLIDOS' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="nombres_apellidos_c" >

{if !$fields.nombres_apellidos_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.nombres_apellidos_c.value) <= 0}
{assign var="value" value=$fields.nombres_apellidos_c.default_value }
{else}
{assign var="value" value=$fields.nombres_apellidos_c.value }
{/if} 
<span class="sugar_field" id="{$fields.nombres_apellidos_c.name}">{$fields.nombres_apellidos_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="edad_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_EDAD' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="edad_c" >

{if !$fields.edad_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.edad_c.value) <= 0}
{assign var="value" value=$fields.edad_c.default_value }
{else}
{assign var="value" value=$fields.edad_c.value }
{/if} 
<span class="sugar_field" id="{$fields.edad_c.name}">{$fields.edad_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="clasificacion_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_CLASIFICACION' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="enum" field="clasificacion_c" >

{if !$fields.clasificacion_c.hidden}
{counter name="panelFieldCount" print=false}


{if is_string($fields.clasificacion_c.options)}
<input type="hidden" class="sugar_field" id="{$fields.clasificacion_c.name}" value="{ $fields.clasificacion_c.options }">
{ $fields.clasificacion_c.options }
{else}
<input type="hidden" class="sugar_field" id="{$fields.clasificacion_c.name}" value="{ $fields.clasificacion_c.value }">
{ $fields.clasificacion_c.options[$fields.clasificacion_c.value]}
{/if}
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="aniversario_bodas_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_ANIVERSARIO_BODAS' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="date" field="aniversario_bodas_c" >

{if !$fields.aniversario_bodas_c.hidden}
{counter name="panelFieldCount" print=false}


{if !empty($vardef.date_formatted_value) }
{assign var="value" value={$vardef.date_formatted_value} }
{else}
{if strlen($fields.aniversario_bodas_c.value) <= 0}
{assign var="value" value=$fields.aniversario_bodas_c.default_value }
{else}
{assign var="value" value=$fields.aniversario_bodas_c.value }
{/if}
{/if}
<span class="sugar_field" id="{$fields.aniversario_bodas_c.name}">{$value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="facebook_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_FACEBOOK' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="facebook_c" >

{if !$fields.facebook_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.facebook_c.value) <= 0}
{assign var="value" value=$fields.facebook_c.default_value }
{else}
{assign var="value" value=$fields.facebook_c.value }
{/if} 
<span class="sugar_field" id="{$fields.facebook_c.name}">{$fields.facebook_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="twitter_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_TWITTER' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="twitter_c" >

{if !$fields.twitter_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.twitter_c.value) <= 0}
{assign var="value" value=$fields.twitter_c.default_value }
{else}
{assign var="value" value=$fields.twitter_c.value }
{/if} 
<span class="sugar_field" id="{$fields.twitter_c.name}">{$fields.twitter_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="phone_movil_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_PHONE_MOVIL' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="phone_movil_c" >

{if !$fields.phone_movil_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.phone_movil_c.value) <= 0}
{assign var="value" value=$fields.phone_movil_c.default_value }
{else}
{assign var="value" value=$fields.phone_movil_c.value }
{/if} 
<span class="sugar_field" id="{$fields.phone_movil_c.name}">{$fields.phone_movil_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="pin_bb_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_PIN_BB' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="pin_bb_c" >

{if !$fields.pin_bb_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.pin_bb_c.value) <= 0}
{assign var="value" value=$fields.pin_bb_c.default_value }
{else}
{assign var="value" value=$fields.pin_bb_c.value }
{/if} 
<span class="sugar_field" id="{$fields.pin_bb_c.name}">{$fields.pin_bb_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="phone_movil2_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_PHONE_MOVIL2' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="phone_movil2_c" >

{if !$fields.phone_movil2_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.phone_movil2_c.value) <= 0}
{assign var="value" value=$fields.phone_movil2_c.default_value }
{else}
{assign var="value" value=$fields.phone_movil2_c.value }
{/if} 
<span class="sugar_field" id="{$fields.phone_movil2_c.name}">{$fields.phone_movil2_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="">
</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-12 detail-view-row-item" data-field="email1">


<div class="col-xs-12 col-sm-2 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_EMAIL' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-10 detail-view-field" type="varchar" field="email1" colspan='3'>

{if !$fields.email1.hidden}
{counter name="panelFieldCount" print=false}
<span id='email1_span'>
{$fields.email1.value}
</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-12 detail-view-row-item" data-field="fecha_socio_desde_c">


<div class="col-xs-12 col-sm-2 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_FECHA_SOCIO_DESDE' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-10 detail-view-field" type="date" field="fecha_socio_desde_c" colspan='3'>

{if !$fields.fecha_socio_desde_c.hidden}
{counter name="panelFieldCount" print=false}


{if !empty($vardef.date_formatted_value) }
{assign var="value" value={$vardef.date_formatted_value} }
{else}
{if strlen($fields.fecha_socio_desde_c.value) <= 0}
{assign var="value" value=$fields.fecha_socio_desde_c.default_value }
{else}
{assign var="value" value=$fields.fecha_socio_desde_c.value }
{/if}
{/if}
<span class="sugar_field" id="{$fields.fecha_socio_desde_c.name}">{$value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="date_modified">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DATE_MODIFIED' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="datetime" field="date_modified" >

{if !$fields.date_modified.hidden}
{counter name="panelFieldCount" print=false}
<span id="date_modified" class="sugar_field">{$fields.date_modified.value} {$APP.LBL_BY} {$fields.modified_by_name.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="modified_by_name">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_MODIFIED_NAME' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="relate" field="modified_by_name" >

{if !$fields.modified_by_name.hidden}
{counter name="panelFieldCount" print=false}

<span id="modified_user_id" class="sugar_field" data-id-value="{$fields.modified_user_id.value}">{$fields.modified_by_name.value}</span>
{/if}

</div>


</div>

</div>
                            </div>
</div>
</div>
{/if}





{if $config.enable_action_menu and $config.enable_action_menu != false}

<div class="panel panel-default">
<div class="panel-heading panel-heading-collapse">
<a class="collapsed" role="button" data-toggle="collapse" href="#top-panel-0" aria-expanded="false">
<div class="col-xs-10 col-sm-11 col-md-11">
{sugar_translate label='LBL_PANEL_ADVANCED' module='Accounts'}
</div>
</a>
</div>
<div class="panel-body panel-collapse collapse panelContainer" id="top-panel-0"  data-id="LBL_PANEL_ADVANCED">
<div class="tab-content">
<!-- TAB CONTENT -->





<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="cedula_esposa_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_CEDULA_ESPOSA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="cedula_esposa_c" >

{if !$fields.cedula_esposa_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.cedula_esposa_c.value) <= 0}
{assign var="value" value=$fields.cedula_esposa_c.default_value }
{else}
{assign var="value" value=$fields.cedula_esposa_c.value }
{/if} 
<span class="sugar_field" id="{$fields.cedula_esposa_c.name}">{$fields.cedula_esposa_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="nomb_apellido_esposa_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_NOMB_APELLIDO_ESPOSA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="nomb_apellido_esposa_c" >

{if !$fields.nomb_apellido_esposa_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.nomb_apellido_esposa_c.value) <= 0}
{assign var="value" value=$fields.nomb_apellido_esposa_c.default_value }
{else}
{assign var="value" value=$fields.nomb_apellido_esposa_c.value }
{/if} 
<span class="sugar_field" id="{$fields.nomb_apellido_esposa_c.name}">{$fields.nomb_apellido_esposa_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="fecha_nac_esposa_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_FECHA_NAC_ESPOSA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="date" field="fecha_nac_esposa_c" >

{if !$fields.fecha_nac_esposa_c.hidden}
{counter name="panelFieldCount" print=false}


{if !empty($vardef.date_formatted_value) }
{assign var="value" value={$vardef.date_formatted_value} }
{else}
{if strlen($fields.fecha_nac_esposa_c.value) <= 0}
{assign var="value" value=$fields.fecha_nac_esposa_c.default_value }
{else}
{assign var="value" value=$fields.fecha_nac_esposa_c.value }
{/if}
{/if}
<span class="sugar_field" id="{$fields.fecha_nac_esposa_c.name}">{$value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="edad_esposa_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_EDAD_ESPOSA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="edad_esposa_c" >

{if !$fields.edad_esposa_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.edad_esposa_c.value) <= 0}
{assign var="value" value=$fields.edad_esposa_c.default_value }
{else}
{assign var="value" value=$fields.edad_esposa_c.value }
{/if} 
<span class="sugar_field" id="{$fields.edad_esposa_c.name}">{$fields.edad_esposa_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-12 detail-view-row-item" data-field="phone_esposa_c">


<div class="col-xs-12 col-sm-2 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_PHONE_ESPOSA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-10 detail-view-field" type="varchar" field="phone_esposa_c" colspan='3'>

{if !$fields.phone_esposa_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.phone_esposa_c.value) <= 0}
{assign var="value" value=$fields.phone_esposa_c.default_value }
{else}
{assign var="value" value=$fields.phone_esposa_c.value }
{/if} 
<span class="sugar_field" id="{$fields.phone_esposa_c.name}">{$fields.phone_esposa_c.value}</span>
{/if}

</div>


</div>

</div>
                                </div>
</div>
</div>
{else}

<div class="panel panel-default">
<div class="panel-heading panel-heading-collapse">
<a class="collapsed" role="button" data-toggle="collapse" href="#top-panel-0" aria-expanded="false">
<div class="col-xs-10 col-sm-11 col-md-11">
{sugar_translate label='LBL_PANEL_ADVANCED' module='Accounts'}
</div>
</a>
</div>
<div class="panel-body panel-collapse collapse panelContainer" id="top-panel-0" data-id="LBL_PANEL_ADVANCED">
<div class="tab-content">
<!-- TAB CONTENT -->





<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="cedula_esposa_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_CEDULA_ESPOSA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="cedula_esposa_c" >

{if !$fields.cedula_esposa_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.cedula_esposa_c.value) <= 0}
{assign var="value" value=$fields.cedula_esposa_c.default_value }
{else}
{assign var="value" value=$fields.cedula_esposa_c.value }
{/if} 
<span class="sugar_field" id="{$fields.cedula_esposa_c.name}">{$fields.cedula_esposa_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="nomb_apellido_esposa_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_NOMB_APELLIDO_ESPOSA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="nomb_apellido_esposa_c" >

{if !$fields.nomb_apellido_esposa_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.nomb_apellido_esposa_c.value) <= 0}
{assign var="value" value=$fields.nomb_apellido_esposa_c.default_value }
{else}
{assign var="value" value=$fields.nomb_apellido_esposa_c.value }
{/if} 
<span class="sugar_field" id="{$fields.nomb_apellido_esposa_c.name}">{$fields.nomb_apellido_esposa_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="fecha_nac_esposa_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_FECHA_NAC_ESPOSA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="date" field="fecha_nac_esposa_c" >

{if !$fields.fecha_nac_esposa_c.hidden}
{counter name="panelFieldCount" print=false}


{if !empty($vardef.date_formatted_value) }
{assign var="value" value={$vardef.date_formatted_value} }
{else}
{if strlen($fields.fecha_nac_esposa_c.value) <= 0}
{assign var="value" value=$fields.fecha_nac_esposa_c.default_value }
{else}
{assign var="value" value=$fields.fecha_nac_esposa_c.value }
{/if}
{/if}
<span class="sugar_field" id="{$fields.fecha_nac_esposa_c.name}">{$value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="edad_esposa_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_EDAD_ESPOSA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="edad_esposa_c" >

{if !$fields.edad_esposa_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.edad_esposa_c.value) <= 0}
{assign var="value" value=$fields.edad_esposa_c.default_value }
{else}
{assign var="value" value=$fields.edad_esposa_c.value }
{/if} 
<span class="sugar_field" id="{$fields.edad_esposa_c.name}">{$fields.edad_esposa_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-12 detail-view-row-item" data-field="phone_esposa_c">


<div class="col-xs-12 col-sm-2 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_PHONE_ESPOSA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-10 detail-view-field" type="varchar" field="phone_esposa_c" colspan='3'>

{if !$fields.phone_esposa_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.phone_esposa_c.value) <= 0}
{assign var="value" value=$fields.phone_esposa_c.default_value }
{else}
{assign var="value" value=$fields.phone_esposa_c.value }
{/if} 
<span class="sugar_field" id="{$fields.phone_esposa_c.name}">{$fields.phone_esposa_c.value}</span>
{/if}

</div>


</div>

</div>
                            </div>
</div>
</div>
{/if}





{if $config.enable_action_menu and $config.enable_action_menu != false}

<div class="panel panel-default">
<div class="panel-heading panel-heading-collapse">
<a class="collapsed" role="button" data-toggle="collapse" href="#top-panel-1" aria-expanded="false">
<div class="col-xs-10 col-sm-11 col-md-11">
{sugar_translate label='LBL_PANEL_ASSIGNMENT' module='Accounts'}
</div>
</a>
</div>
<div class="panel-body panel-collapse collapse panelContainer" id="top-panel-1"  data-id="LBL_PANEL_ASSIGNMENT">
<div class="tab-content">
<!-- TAB CONTENT -->





<div class="row detail-view-row">



<div class="col-xs-12 col-sm-12 detail-view-row-item" data-field="empresa_trabaja_c">


<div class="col-xs-12 col-sm-2 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_EMPRESA_TRABAJA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-10 detail-view-field" type="varchar" field="empresa_trabaja_c" colspan='3'>

{if !$fields.empresa_trabaja_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.empresa_trabaja_c.value) <= 0}
{assign var="value" value=$fields.empresa_trabaja_c.default_value }
{else}
{assign var="value" value=$fields.empresa_trabaja_c.value }
{/if} 
<span class="sugar_field" id="{$fields.empresa_trabaja_c.name}">{$fields.empresa_trabaja_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="cargo_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_CARGO' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="cargo_c" >

{if !$fields.cargo_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.cargo_c.value) <= 0}
{assign var="value" value=$fields.cargo_c.default_value }
{else}
{assign var="value" value=$fields.cargo_c.value }
{/if} 
<span class="sugar_field" id="{$fields.cargo_c.name}">{$fields.cargo_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="profesion_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_PROFESION' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="profesion_c" >

{if !$fields.profesion_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.profesion_c.value) <= 0}
{assign var="value" value=$fields.profesion_c.default_value }
{else}
{assign var="value" value=$fields.profesion_c.value }
{/if} 
<span class="sugar_field" id="{$fields.profesion_c.name}">{$fields.profesion_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_empresa_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_EMPRESA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="text" field="dir_empresa_c" >

{if !$fields.dir_empresa_c.hidden}
{counter name="panelFieldCount" print=false}

<span class="sugar_field" id="{$fields.dir_empresa_c.name|escape:'html'|url2html|nl2br}">{$fields.dir_empresa_c.value|escape:'html'|escape:'html_entity_decode'|url2html|nl2br}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_empresa_referencia_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_EMPRESA_REFERENCIA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="dir_empresa_referencia_c" >

{if !$fields.dir_empresa_referencia_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.dir_empresa_referencia_c.value) <= 0}
{assign var="value" value=$fields.dir_empresa_referencia_c.default_value }
{else}
{assign var="value" value=$fields.dir_empresa_referencia_c.value }
{/if} 
<span class="sugar_field" id="{$fields.dir_empresa_referencia_c.name}">{$fields.dir_empresa_referencia_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_empresa_estado_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_EMPRESA_ESTADO' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="enum" field="dir_empresa_estado_c" >

{if !$fields.dir_empresa_estado_c.hidden}
{counter name="panelFieldCount" print=false}


{if is_string($fields.dir_empresa_estado_c.options)}
<input type="hidden" class="sugar_field" id="{$fields.dir_empresa_estado_c.name}" value="{ $fields.dir_empresa_estado_c.options }">
{ $fields.dir_empresa_estado_c.options }
{else}
<input type="hidden" class="sugar_field" id="{$fields.dir_empresa_estado_c.name}" value="{ $fields.dir_empresa_estado_c.value }">
{ $fields.dir_empresa_estado_c.options[$fields.dir_empresa_estado_c.value]}
{/if}
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_empresa_municipio_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_EMPRESA_MUNICIPIO' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="dir_empresa_municipio_c" >

{if !$fields.dir_empresa_municipio_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.dir_empresa_municipio_c.value) <= 0}
{assign var="value" value=$fields.dir_empresa_municipio_c.default_value }
{else}
{assign var="value" value=$fields.dir_empresa_municipio_c.value }
{/if} 
<span class="sugar_field" id="{$fields.dir_empresa_municipio_c.name}">{$fields.dir_empresa_municipio_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_empresa_ciudad_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_EMPRESA_CIUDAD' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="dir_empresa_ciudad_c" >

{if !$fields.dir_empresa_ciudad_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.dir_empresa_ciudad_c.value) <= 0}
{assign var="value" value=$fields.dir_empresa_ciudad_c.default_value }
{else}
{assign var="value" value=$fields.dir_empresa_ciudad_c.value }
{/if} 
<span class="sugar_field" id="{$fields.dir_empresa_ciudad_c.name}">{$fields.dir_empresa_ciudad_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_empresa_parroquia_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_EMPRESA_PARROQUIA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="dir_empresa_parroquia_c" >

{if !$fields.dir_empresa_parroquia_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.dir_empresa_parroquia_c.value) <= 0}
{assign var="value" value=$fields.dir_empresa_parroquia_c.default_value }
{else}
{assign var="value" value=$fields.dir_empresa_parroquia_c.value }
{/if} 
<span class="sugar_field" id="{$fields.dir_empresa_parroquia_c.name}">{$fields.dir_empresa_parroquia_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_empresa_telefono_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_EMPRESA_TELEFONO' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="dir_empresa_telefono_c" >

{if !$fields.dir_empresa_telefono_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.dir_empresa_telefono_c.value) <= 0}
{assign var="value" value=$fields.dir_empresa_telefono_c.default_value }
{else}
{assign var="value" value=$fields.dir_empresa_telefono_c.value }
{/if} 
<span class="sugar_field" id="{$fields.dir_empresa_telefono_c.name}">{$fields.dir_empresa_telefono_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="phone_fax">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_FAX' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field phone" type="phone" field="phone_fax" >

{if !$fields.phone_fax.hidden}
{counter name="panelFieldCount" print=false}

{if !empty($fields.phone_fax.value)}
{assign var="phone_value" value=$fields.phone_fax.value }
{sugar_phone value=$phone_value usa_format="0"}
{/if}
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_empresa_codigo_postal_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_EMPRESA_CODIGO_POSTAL' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="dir_empresa_codigo_postal_c" >

{if !$fields.dir_empresa_codigo_postal_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.dir_empresa_codigo_postal_c.value) <= 0}
{assign var="value" value=$fields.dir_empresa_codigo_postal_c.default_value }
{else}
{assign var="value" value=$fields.dir_empresa_codigo_postal_c.value }
{/if} 
<span class="sugar_field" id="{$fields.dir_empresa_codigo_postal_c.name}">{$fields.dir_empresa_codigo_postal_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="aniversario_empresa_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_ANIVERSARIO_EMPRESA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="date" field="aniversario_empresa_c" >

{if !$fields.aniversario_empresa_c.hidden}
{counter name="panelFieldCount" print=false}


{if !empty($vardef.date_formatted_value) }
{assign var="value" value={$vardef.date_formatted_value} }
{else}
{if strlen($fields.aniversario_empresa_c.value) <= 0}
{assign var="value" value=$fields.aniversario_empresa_c.default_value }
{else}
{assign var="value" value=$fields.aniversario_empresa_c.value }
{/if}
{/if}
<span class="sugar_field" id="{$fields.aniversario_empresa_c.name}">{$value}</span>
{/if}

</div>


</div>

</div>
                                </div>
</div>
</div>
{else}

<div class="panel panel-default">
<div class="panel-heading panel-heading-collapse">
<a class="collapsed" role="button" data-toggle="collapse" href="#top-panel-1" aria-expanded="false">
<div class="col-xs-10 col-sm-11 col-md-11">
{sugar_translate label='LBL_PANEL_ASSIGNMENT' module='Accounts'}
</div>
</a>
</div>
<div class="panel-body panel-collapse collapse panelContainer" id="top-panel-1" data-id="LBL_PANEL_ASSIGNMENT">
<div class="tab-content">
<!-- TAB CONTENT -->





<div class="row detail-view-row">



<div class="col-xs-12 col-sm-12 detail-view-row-item" data-field="empresa_trabaja_c">


<div class="col-xs-12 col-sm-2 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_EMPRESA_TRABAJA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-10 detail-view-field" type="varchar" field="empresa_trabaja_c" colspan='3'>

{if !$fields.empresa_trabaja_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.empresa_trabaja_c.value) <= 0}
{assign var="value" value=$fields.empresa_trabaja_c.default_value }
{else}
{assign var="value" value=$fields.empresa_trabaja_c.value }
{/if} 
<span class="sugar_field" id="{$fields.empresa_trabaja_c.name}">{$fields.empresa_trabaja_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="cargo_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_CARGO' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="cargo_c" >

{if !$fields.cargo_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.cargo_c.value) <= 0}
{assign var="value" value=$fields.cargo_c.default_value }
{else}
{assign var="value" value=$fields.cargo_c.value }
{/if} 
<span class="sugar_field" id="{$fields.cargo_c.name}">{$fields.cargo_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="profesion_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_PROFESION' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="profesion_c" >

{if !$fields.profesion_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.profesion_c.value) <= 0}
{assign var="value" value=$fields.profesion_c.default_value }
{else}
{assign var="value" value=$fields.profesion_c.value }
{/if} 
<span class="sugar_field" id="{$fields.profesion_c.name}">{$fields.profesion_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_empresa_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_EMPRESA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="text" field="dir_empresa_c" >

{if !$fields.dir_empresa_c.hidden}
{counter name="panelFieldCount" print=false}

<span class="sugar_field" id="{$fields.dir_empresa_c.name|escape:'html'|url2html|nl2br}">{$fields.dir_empresa_c.value|escape:'html'|escape:'html_entity_decode'|url2html|nl2br}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_empresa_referencia_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_EMPRESA_REFERENCIA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="dir_empresa_referencia_c" >

{if !$fields.dir_empresa_referencia_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.dir_empresa_referencia_c.value) <= 0}
{assign var="value" value=$fields.dir_empresa_referencia_c.default_value }
{else}
{assign var="value" value=$fields.dir_empresa_referencia_c.value }
{/if} 
<span class="sugar_field" id="{$fields.dir_empresa_referencia_c.name}">{$fields.dir_empresa_referencia_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_empresa_estado_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_EMPRESA_ESTADO' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="enum" field="dir_empresa_estado_c" >

{if !$fields.dir_empresa_estado_c.hidden}
{counter name="panelFieldCount" print=false}


{if is_string($fields.dir_empresa_estado_c.options)}
<input type="hidden" class="sugar_field" id="{$fields.dir_empresa_estado_c.name}" value="{ $fields.dir_empresa_estado_c.options }">
{ $fields.dir_empresa_estado_c.options }
{else}
<input type="hidden" class="sugar_field" id="{$fields.dir_empresa_estado_c.name}" value="{ $fields.dir_empresa_estado_c.value }">
{ $fields.dir_empresa_estado_c.options[$fields.dir_empresa_estado_c.value]}
{/if}
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_empresa_municipio_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_EMPRESA_MUNICIPIO' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="dir_empresa_municipio_c" >

{if !$fields.dir_empresa_municipio_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.dir_empresa_municipio_c.value) <= 0}
{assign var="value" value=$fields.dir_empresa_municipio_c.default_value }
{else}
{assign var="value" value=$fields.dir_empresa_municipio_c.value }
{/if} 
<span class="sugar_field" id="{$fields.dir_empresa_municipio_c.name}">{$fields.dir_empresa_municipio_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_empresa_ciudad_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_EMPRESA_CIUDAD' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="dir_empresa_ciudad_c" >

{if !$fields.dir_empresa_ciudad_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.dir_empresa_ciudad_c.value) <= 0}
{assign var="value" value=$fields.dir_empresa_ciudad_c.default_value }
{else}
{assign var="value" value=$fields.dir_empresa_ciudad_c.value }
{/if} 
<span class="sugar_field" id="{$fields.dir_empresa_ciudad_c.name}">{$fields.dir_empresa_ciudad_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_empresa_parroquia_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_EMPRESA_PARROQUIA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="dir_empresa_parroquia_c" >

{if !$fields.dir_empresa_parroquia_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.dir_empresa_parroquia_c.value) <= 0}
{assign var="value" value=$fields.dir_empresa_parroquia_c.default_value }
{else}
{assign var="value" value=$fields.dir_empresa_parroquia_c.value }
{/if} 
<span class="sugar_field" id="{$fields.dir_empresa_parroquia_c.name}">{$fields.dir_empresa_parroquia_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_empresa_telefono_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_EMPRESA_TELEFONO' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="dir_empresa_telefono_c" >

{if !$fields.dir_empresa_telefono_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.dir_empresa_telefono_c.value) <= 0}
{assign var="value" value=$fields.dir_empresa_telefono_c.default_value }
{else}
{assign var="value" value=$fields.dir_empresa_telefono_c.value }
{/if} 
<span class="sugar_field" id="{$fields.dir_empresa_telefono_c.name}">{$fields.dir_empresa_telefono_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="phone_fax">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_FAX' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field phone" type="phone" field="phone_fax" >

{if !$fields.phone_fax.hidden}
{counter name="panelFieldCount" print=false}

{if !empty($fields.phone_fax.value)}
{assign var="phone_value" value=$fields.phone_fax.value }
{sugar_phone value=$phone_value usa_format="0"}
{/if}
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_empresa_codigo_postal_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_EMPRESA_CODIGO_POSTAL' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="dir_empresa_codigo_postal_c" >

{if !$fields.dir_empresa_codigo_postal_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.dir_empresa_codigo_postal_c.value) <= 0}
{assign var="value" value=$fields.dir_empresa_codigo_postal_c.default_value }
{else}
{assign var="value" value=$fields.dir_empresa_codigo_postal_c.value }
{/if} 
<span class="sugar_field" id="{$fields.dir_empresa_codigo_postal_c.name}">{$fields.dir_empresa_codigo_postal_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="aniversario_empresa_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_ANIVERSARIO_EMPRESA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="date" field="aniversario_empresa_c" >

{if !$fields.aniversario_empresa_c.hidden}
{counter name="panelFieldCount" print=false}


{if !empty($vardef.date_formatted_value) }
{assign var="value" value={$vardef.date_formatted_value} }
{else}
{if strlen($fields.aniversario_empresa_c.value) <= 0}
{assign var="value" value=$fields.aniversario_empresa_c.default_value }
{else}
{assign var="value" value=$fields.aniversario_empresa_c.value }
{/if}
{/if}
<span class="sugar_field" id="{$fields.aniversario_empresa_c.name}">{$value}</span>
{/if}

</div>


</div>

</div>
                            </div>
</div>
</div>
{/if}





{if $config.enable_action_menu and $config.enable_action_menu != false}

<div class="panel panel-default">
<div class="panel-heading panel-heading-collapse">
<a class="collapsed" role="button" data-toggle="collapse" href="#top-panel-2" aria-expanded="false">
<div class="col-xs-10 col-sm-11 col-md-11">
{sugar_translate label='LBL_EDITVIEW_PANEL1' module='Accounts'}
</div>
</a>
</div>
<div class="panel-body panel-collapse collapse panelContainer" id="top-panel-2"  data-id="LBL_EDITVIEW_PANEL1">
<div class="tab-content">
<!-- TAB CONTENT -->





<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_residencia_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_RESIDENCIA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="text" field="dir_residencia_c" >

{if !$fields.dir_residencia_c.hidden}
{counter name="panelFieldCount" print=false}

<span class="sugar_field" id="{$fields.dir_residencia_c.name|escape:'html'|url2html|nl2br}">{$fields.dir_residencia_c.value|escape:'html'|escape:'html_entity_decode'|url2html|nl2br}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_residencia_referencia_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_RESIDENCIA_REFERENCIA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="dir_residencia_referencia_c" >

{if !$fields.dir_residencia_referencia_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.dir_residencia_referencia_c.value) <= 0}
{assign var="value" value=$fields.dir_residencia_referencia_c.default_value }
{else}
{assign var="value" value=$fields.dir_residencia_referencia_c.value }
{/if} 
<span class="sugar_field" id="{$fields.dir_residencia_referencia_c.name}">{$fields.dir_residencia_referencia_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_residencia_estado_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_RESIDENCIA_ESTADO' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="enum" field="dir_residencia_estado_c" >

{if !$fields.dir_residencia_estado_c.hidden}
{counter name="panelFieldCount" print=false}


{if is_string($fields.dir_residencia_estado_c.options)}
<input type="hidden" class="sugar_field" id="{$fields.dir_residencia_estado_c.name}" value="{ $fields.dir_residencia_estado_c.options }">
{ $fields.dir_residencia_estado_c.options }
{else}
<input type="hidden" class="sugar_field" id="{$fields.dir_residencia_estado_c.name}" value="{ $fields.dir_residencia_estado_c.value }">
{ $fields.dir_residencia_estado_c.options[$fields.dir_residencia_estado_c.value]}
{/if}
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_residencia_municipio_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_RESIDENCIA_MUNICIPIO' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="dir_residencia_municipio_c" >

{if !$fields.dir_residencia_municipio_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.dir_residencia_municipio_c.value) <= 0}
{assign var="value" value=$fields.dir_residencia_municipio_c.default_value }
{else}
{assign var="value" value=$fields.dir_residencia_municipio_c.value }
{/if} 
<span class="sugar_field" id="{$fields.dir_residencia_municipio_c.name}">{$fields.dir_residencia_municipio_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_residencia_ciudad_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_RESIDENCIA_CIUDAD' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="dir_residencia_ciudad_c" >

{if !$fields.dir_residencia_ciudad_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.dir_residencia_ciudad_c.value) <= 0}
{assign var="value" value=$fields.dir_residencia_ciudad_c.default_value }
{else}
{assign var="value" value=$fields.dir_residencia_ciudad_c.value }
{/if} 
<span class="sugar_field" id="{$fields.dir_residencia_ciudad_c.name}">{$fields.dir_residencia_ciudad_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_residencia_parroquia_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_RESIDENCIA_PARROQUIA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="dir_residencia_parroquia_c" >

{if !$fields.dir_residencia_parroquia_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.dir_residencia_parroquia_c.value) <= 0}
{assign var="value" value=$fields.dir_residencia_parroquia_c.default_value }
{else}
{assign var="value" value=$fields.dir_residencia_parroquia_c.value }
{/if} 
<span class="sugar_field" id="{$fields.dir_residencia_parroquia_c.name}">{$fields.dir_residencia_parroquia_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="codigo_postal_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_CODIGO_POSTAL' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="codigo_postal_c" >

{if !$fields.codigo_postal_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.codigo_postal_c.value) <= 0}
{assign var="value" value=$fields.codigo_postal_c.default_value }
{else}
{assign var="value" value=$fields.codigo_postal_c.value }
{/if} 
<span class="sugar_field" id="{$fields.codigo_postal_c.name}">{$fields.codigo_postal_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="phone_office">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_PHONE_OFFICE' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field phone" type="phone" field="phone_office" >

{if !$fields.phone_office.hidden}
{counter name="panelFieldCount" print=false}

{if !empty($fields.phone_office.value)}
{assign var="phone_value" value=$fields.phone_office.value }
{sugar_phone value=$phone_value usa_format="0"}
{/if}
{/if}

</div>


</div>

</div>
                                </div>
</div>
</div>
{else}

<div class="panel panel-default">
<div class="panel-heading panel-heading-collapse">
<a class="collapsed" role="button" data-toggle="collapse" href="#top-panel-2" aria-expanded="false">
<div class="col-xs-10 col-sm-11 col-md-11">
{sugar_translate label='LBL_EDITVIEW_PANEL1' module='Accounts'}
</div>
</a>
</div>
<div class="panel-body panel-collapse collapse panelContainer" id="top-panel-2" data-id="LBL_EDITVIEW_PANEL1">
<div class="tab-content">
<!-- TAB CONTENT -->





<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_residencia_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_RESIDENCIA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="text" field="dir_residencia_c" >

{if !$fields.dir_residencia_c.hidden}
{counter name="panelFieldCount" print=false}

<span class="sugar_field" id="{$fields.dir_residencia_c.name|escape:'html'|url2html|nl2br}">{$fields.dir_residencia_c.value|escape:'html'|escape:'html_entity_decode'|url2html|nl2br}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_residencia_referencia_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_RESIDENCIA_REFERENCIA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="dir_residencia_referencia_c" >

{if !$fields.dir_residencia_referencia_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.dir_residencia_referencia_c.value) <= 0}
{assign var="value" value=$fields.dir_residencia_referencia_c.default_value }
{else}
{assign var="value" value=$fields.dir_residencia_referencia_c.value }
{/if} 
<span class="sugar_field" id="{$fields.dir_residencia_referencia_c.name}">{$fields.dir_residencia_referencia_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_residencia_estado_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_RESIDENCIA_ESTADO' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="enum" field="dir_residencia_estado_c" >

{if !$fields.dir_residencia_estado_c.hidden}
{counter name="panelFieldCount" print=false}


{if is_string($fields.dir_residencia_estado_c.options)}
<input type="hidden" class="sugar_field" id="{$fields.dir_residencia_estado_c.name}" value="{ $fields.dir_residencia_estado_c.options }">
{ $fields.dir_residencia_estado_c.options }
{else}
<input type="hidden" class="sugar_field" id="{$fields.dir_residencia_estado_c.name}" value="{ $fields.dir_residencia_estado_c.value }">
{ $fields.dir_residencia_estado_c.options[$fields.dir_residencia_estado_c.value]}
{/if}
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_residencia_municipio_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_RESIDENCIA_MUNICIPIO' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="dir_residencia_municipio_c" >

{if !$fields.dir_residencia_municipio_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.dir_residencia_municipio_c.value) <= 0}
{assign var="value" value=$fields.dir_residencia_municipio_c.default_value }
{else}
{assign var="value" value=$fields.dir_residencia_municipio_c.value }
{/if} 
<span class="sugar_field" id="{$fields.dir_residencia_municipio_c.name}">{$fields.dir_residencia_municipio_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_residencia_ciudad_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_RESIDENCIA_CIUDAD' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="dir_residencia_ciudad_c" >

{if !$fields.dir_residencia_ciudad_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.dir_residencia_ciudad_c.value) <= 0}
{assign var="value" value=$fields.dir_residencia_ciudad_c.default_value }
{else}
{assign var="value" value=$fields.dir_residencia_ciudad_c.value }
{/if} 
<span class="sugar_field" id="{$fields.dir_residencia_ciudad_c.name}">{$fields.dir_residencia_ciudad_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="dir_residencia_parroquia_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIR_RESIDENCIA_PARROQUIA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="dir_residencia_parroquia_c" >

{if !$fields.dir_residencia_parroquia_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.dir_residencia_parroquia_c.value) <= 0}
{assign var="value" value=$fields.dir_residencia_parroquia_c.default_value }
{else}
{assign var="value" value=$fields.dir_residencia_parroquia_c.value }
{/if} 
<span class="sugar_field" id="{$fields.dir_residencia_parroquia_c.name}">{$fields.dir_residencia_parroquia_c.value}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="codigo_postal_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_CODIGO_POSTAL' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="varchar" field="codigo_postal_c" >

{if !$fields.codigo_postal_c.hidden}
{counter name="panelFieldCount" print=false}

{if strlen($fields.codigo_postal_c.value) <= 0}
{assign var="value" value=$fields.codigo_postal_c.default_value }
{else}
{assign var="value" value=$fields.codigo_postal_c.value }
{/if} 
<span class="sugar_field" id="{$fields.codigo_postal_c.name}">{$fields.codigo_postal_c.value}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="phone_office">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_PHONE_OFFICE' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field phone" type="phone" field="phone_office" >

{if !$fields.phone_office.hidden}
{counter name="panelFieldCount" print=false}

{if !empty($fields.phone_office.value)}
{assign var="phone_value" value=$fields.phone_office.value }
{sugar_phone value=$phone_value usa_format="0"}
{/if}
{/if}

</div>


</div>

</div>
                            </div>
</div>
</div>
{/if}





{if $config.enable_action_menu and $config.enable_action_menu != false}

<div class="panel panel-default">
<div class="panel-heading ">
<a class="collapsed" role="button" data-toggle="collapse" href="#top-panel-3" aria-expanded="false">
<div class="col-xs-10 col-sm-11 col-md-11">
{sugar_translate label='LBL_DETAILVIEW_PANEL4' module='Accounts'}
</div>
</a>
</div>
<div class="panel-body panel-collapse collapse in panelContainer" id="top-panel-3"  data-id="LBL_DETAILVIEW_PANEL4">
<div class="tab-content">
<!-- TAB CONTENT -->





<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="direccion_valija_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIRECCION_VALIJA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="text" field="direccion_valija_c" >

{if !$fields.direccion_valija_c.hidden}
{counter name="panelFieldCount" print=false}

<span class="sugar_field" id="{$fields.direccion_valija_c.name|escape:'html'|url2html|nl2br}">{$fields.direccion_valija_c.value|escape:'html'|escape:'html_entity_decode'|url2html|nl2br}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="">
</div>

</div>
                                </div>
</div>
</div>
{else}

<div class="panel panel-default">
<div class="panel-heading ">
<a class="collapsed" role="button" data-toggle="collapse" href="#top-panel-3" aria-expanded="false">
<div class="col-xs-10 col-sm-11 col-md-11">
{sugar_translate label='LBL_DETAILVIEW_PANEL4' module='Accounts'}
</div>
</a>
</div>
<div class="panel-body panel-collapse collapse in panelContainer" id="top-panel-3" data-id="LBL_DETAILVIEW_PANEL4">
<div class="tab-content">
<!-- TAB CONTENT -->





<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="direccion_valija_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DIRECCION_VALIJA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="text" field="direccion_valija_c" >

{if !$fields.direccion_valija_c.hidden}
{counter name="panelFieldCount" print=false}

<span class="sugar_field" id="{$fields.direccion_valija_c.name|escape:'html'|url2html|nl2br}">{$fields.direccion_valija_c.value|escape:'html'|escape:'html_entity_decode'|url2html|nl2br}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="">
</div>

</div>
                            </div>
</div>
</div>
{/if}





{if $config.enable_action_menu and $config.enable_action_menu != false}

<div class="panel panel-default">
<div class="panel-heading panel-heading-collapse">
<a class="collapsed" role="button" data-toggle="collapse" href="#top-panel-4" aria-expanded="false">
<div class="col-xs-10 col-sm-11 col-md-11">
{sugar_translate label='LBL_EDITVIEW_PANEL2' module='Accounts'}
</div>
</a>
</div>
<div class="panel-body panel-collapse collapse panelContainer" id="top-panel-4"  data-id="LBL_EDITVIEW_PANEL2">
<div class="tab-content">
<!-- TAB CONTENT -->





<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="ultimas_vacaciones_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_ULTIMAS_VACACIONES' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="text" field="ultimas_vacaciones_c" >

{if !$fields.ultimas_vacaciones_c.hidden}
{counter name="panelFieldCount" print=false}

<span class="sugar_field" id="{$fields.ultimas_vacaciones_c.name|escape:'html'|url2html|nl2br}">{$fields.ultimas_vacaciones_c.value|escape:'html'|escape:'html_entity_decode'|url2html|nl2br}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="deportes_favoritos_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DEPORTES_FAVORITOS' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="text" field="deportes_favoritos_c" >

{if !$fields.deportes_favoritos_c.hidden}
{counter name="panelFieldCount" print=false}

<span class="sugar_field" id="{$fields.deportes_favoritos_c.name|escape:'html'|url2html|nl2br}">{$fields.deportes_favoritos_c.value|escape:'html'|escape:'html_entity_decode'|url2html|nl2br}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="hobbies_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_HOBBIES' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="text" field="hobbies_c" >

{if !$fields.hobbies_c.hidden}
{counter name="panelFieldCount" print=false}

<span class="sugar_field" id="{$fields.hobbies_c.name|escape:'html'|url2html|nl2br}">{$fields.hobbies_c.value|escape:'html'|escape:'html_entity_decode'|url2html|nl2br}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="procedencia_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_PROCEDENCIA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="enum" field="procedencia_c" >

{if !$fields.procedencia_c.hidden}
{counter name="panelFieldCount" print=false}


{if is_string($fields.procedencia_c.options)}
<input type="hidden" class="sugar_field" id="{$fields.procedencia_c.name}" value="{ $fields.procedencia_c.options }">
{ $fields.procedencia_c.options }
{else}
<input type="hidden" class="sugar_field" id="{$fields.procedencia_c.name}" value="{ $fields.procedencia_c.value }">
{ $fields.procedencia_c.options[$fields.procedencia_c.value]}
{/if}
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-12 detail-view-row-item" data-field="assigned_user_name">


<div class="col-xs-12 col-sm-2 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_ASSIGNED_TO' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-10 detail-view-field" type="relate" field="assigned_user_name" colspan='3'>

{if !$fields.assigned_user_name.hidden}
{counter name="panelFieldCount" print=false}

<span id="assigned_user_id" class="sugar_field" data-id-value="{$fields.assigned_user_id.value}">{$fields.assigned_user_name.value}</span>
{/if}

</div>


</div>

</div>
                                </div>
</div>
</div>
{else}

<div class="panel panel-default">
<div class="panel-heading panel-heading-collapse">
<a class="collapsed" role="button" data-toggle="collapse" href="#top-panel-4" aria-expanded="false">
<div class="col-xs-10 col-sm-11 col-md-11">
{sugar_translate label='LBL_EDITVIEW_PANEL2' module='Accounts'}
</div>
</a>
</div>
<div class="panel-body panel-collapse collapse panelContainer" id="top-panel-4" data-id="LBL_EDITVIEW_PANEL2">
<div class="tab-content">
<!-- TAB CONTENT -->





<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="ultimas_vacaciones_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_ULTIMAS_VACACIONES' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="text" field="ultimas_vacaciones_c" >

{if !$fields.ultimas_vacaciones_c.hidden}
{counter name="panelFieldCount" print=false}

<span class="sugar_field" id="{$fields.ultimas_vacaciones_c.name|escape:'html'|url2html|nl2br}">{$fields.ultimas_vacaciones_c.value|escape:'html'|escape:'html_entity_decode'|url2html|nl2br}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="deportes_favoritos_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_DEPORTES_FAVORITOS' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="text" field="deportes_favoritos_c" >

{if !$fields.deportes_favoritos_c.hidden}
{counter name="panelFieldCount" print=false}

<span class="sugar_field" id="{$fields.deportes_favoritos_c.name|escape:'html'|url2html|nl2br}">{$fields.deportes_favoritos_c.value|escape:'html'|escape:'html_entity_decode'|url2html|nl2br}</span>
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="hobbies_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_HOBBIES' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="text" field="hobbies_c" >

{if !$fields.hobbies_c.hidden}
{counter name="panelFieldCount" print=false}

<span class="sugar_field" id="{$fields.hobbies_c.name|escape:'html'|url2html|nl2br}">{$fields.hobbies_c.value|escape:'html'|escape:'html_entity_decode'|url2html|nl2br}</span>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="procedencia_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_PROCEDENCIA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="enum" field="procedencia_c" >

{if !$fields.procedencia_c.hidden}
{counter name="panelFieldCount" print=false}


{if is_string($fields.procedencia_c.options)}
<input type="hidden" class="sugar_field" id="{$fields.procedencia_c.name}" value="{ $fields.procedencia_c.options }">
{ $fields.procedencia_c.options }
{else}
<input type="hidden" class="sugar_field" id="{$fields.procedencia_c.name}" value="{ $fields.procedencia_c.value }">
{ $fields.procedencia_c.options[$fields.procedencia_c.value]}
{/if}
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-12 detail-view-row-item" data-field="assigned_user_name">


<div class="col-xs-12 col-sm-2 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_ASSIGNED_TO' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-10 detail-view-field" type="relate" field="assigned_user_name" colspan='3'>

{if !$fields.assigned_user_name.hidden}
{counter name="panelFieldCount" print=false}

<span id="assigned_user_id" class="sugar_field" data-id-value="{$fields.assigned_user_id.value}">{$fields.assigned_user_name.value}</span>
{/if}

</div>


</div>

</div>
                            </div>
</div>
</div>
{/if}





{if $config.enable_action_menu and $config.enable_action_menu != false}

<div class="panel panel-default">
<div class="panel-heading ">
<a class="collapsed" role="button" data-toggle="collapse" href="#top-panel-5" aria-expanded="false">
<div class="col-xs-10 col-sm-11 col-md-11">
{sugar_translate label='LBL_EDITVIEW_PANEL3' module='Accounts'}
</div>
</a>
</div>
<div class="panel-body panel-collapse collapse in panelContainer" id="top-panel-5"  data-id="LBL_EDITVIEW_PANEL3">
<div class="tab-content">
<!-- TAB CONTENT -->





<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="tdc_visa_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_TDC_VISA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="bool" field="tdc_visa_c" >

{if !$fields.tdc_visa_c.hidden}
{counter name="panelFieldCount" print=false}

{if strval($fields.tdc_visa_c.value) == "1" || strval($fields.tdc_visa_c.value) == "yes" || strval($fields.tdc_visa_c.value) == "on"} 
{assign var="checked" value='checked="checked"'}
{else}
{assign var="checked" value=""}
{/if}
<input type="checkbox" class="checkbox" name="{$fields.tdc_visa_c.name}" id="{$fields.tdc_visa_c.name}" value="$fields.tdc_visa_c.value" disabled="true" {$checked}>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="bancovisa_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_BANCOVISA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="enum" field="bancovisa_c" >

{if !$fields.bancovisa_c.hidden}
{counter name="panelFieldCount" print=false}


{if is_string($fields.bancovisa_c.options)}
<input type="hidden" class="sugar_field" id="{$fields.bancovisa_c.name}" value="{ $fields.bancovisa_c.options }">
{ $fields.bancovisa_c.options }
{else}
<input type="hidden" class="sugar_field" id="{$fields.bancovisa_c.name}" value="{ $fields.bancovisa_c.value }">
{ $fields.bancovisa_c.options[$fields.bancovisa_c.value]}
{/if}
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="tdc_mastercard_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_TDC_MASTERCARD' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="bool" field="tdc_mastercard_c" >

{if !$fields.tdc_mastercard_c.hidden}
{counter name="panelFieldCount" print=false}

{if strval($fields.tdc_mastercard_c.value) == "1" || strval($fields.tdc_mastercard_c.value) == "yes" || strval($fields.tdc_mastercard_c.value) == "on"} 
{assign var="checked" value='checked="checked"'}
{else}
{assign var="checked" value=""}
{/if}
<input type="checkbox" class="checkbox" name="{$fields.tdc_mastercard_c.name}" id="{$fields.tdc_mastercard_c.name}" value="$fields.tdc_mastercard_c.value" disabled="true" {$checked}>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="bancomaster_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_BANCOMASTER' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="enum" field="bancomaster_c" >

{if !$fields.bancomaster_c.hidden}
{counter name="panelFieldCount" print=false}


{if is_string($fields.bancomaster_c.options)}
<input type="hidden" class="sugar_field" id="{$fields.bancomaster_c.name}" value="{ $fields.bancomaster_c.options }">
{ $fields.bancomaster_c.options }
{else}
<input type="hidden" class="sugar_field" id="{$fields.bancomaster_c.name}" value="{ $fields.bancomaster_c.value }">
{ $fields.bancomaster_c.options[$fields.bancomaster_c.value]}
{/if}
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="tdc_american_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_TDC_AMERICAN' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="bool" field="tdc_american_c" >

{if !$fields.tdc_american_c.hidden}
{counter name="panelFieldCount" print=false}

{if strval($fields.tdc_american_c.value) == "1" || strval($fields.tdc_american_c.value) == "yes" || strval($fields.tdc_american_c.value) == "on"} 
{assign var="checked" value='checked="checked"'}
{else}
{assign var="checked" value=""}
{/if}
<input type="checkbox" class="checkbox" name="{$fields.tdc_american_c.name}" id="{$fields.tdc_american_c.name}" value="$fields.tdc_american_c.value" disabled="true" {$checked}>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="bancoamerican_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_BANCOAMERICAN' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="enum" field="bancoamerican_c" >

{if !$fields.bancoamerican_c.hidden}
{counter name="panelFieldCount" print=false}


{if is_string($fields.bancoamerican_c.options)}
<input type="hidden" class="sugar_field" id="{$fields.bancoamerican_c.name}" value="{ $fields.bancoamerican_c.options }">
{ $fields.bancoamerican_c.options }
{else}
<input type="hidden" class="sugar_field" id="{$fields.bancoamerican_c.name}" value="{ $fields.bancoamerican_c.value }">
{ $fields.bancoamerican_c.options[$fields.bancoamerican_c.value]}
{/if}
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="tdc_dinners_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_TDC_DINNERS' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="bool" field="tdc_dinners_c" >

{if !$fields.tdc_dinners_c.hidden}
{counter name="panelFieldCount" print=false}

{if strval($fields.tdc_dinners_c.value) == "1" || strval($fields.tdc_dinners_c.value) == "yes" || strval($fields.tdc_dinners_c.value) == "on"} 
{assign var="checked" value='checked="checked"'}
{else}
{assign var="checked" value=""}
{/if}
<input type="checkbox" class="checkbox" name="{$fields.tdc_dinners_c.name}" id="{$fields.tdc_dinners_c.name}" value="$fields.tdc_dinners_c.value" disabled="true" {$checked}>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="bancodinners_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_BANCODINNERS' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="enum" field="bancodinners_c" >

{if !$fields.bancodinners_c.hidden}
{counter name="panelFieldCount" print=false}


{if is_string($fields.bancodinners_c.options)}
<input type="hidden" class="sugar_field" id="{$fields.bancodinners_c.name}" value="{ $fields.bancodinners_c.options }">
{ $fields.bancodinners_c.options }
{else}
<input type="hidden" class="sugar_field" id="{$fields.bancodinners_c.name}" value="{ $fields.bancodinners_c.value }">
{ $fields.bancodinners_c.options[$fields.bancodinners_c.value]}
{/if}
{/if}

</div>


</div>

</div>
                                </div>
</div>
</div>
{else}

<div class="panel panel-default">
<div class="panel-heading ">
<a class="collapsed" role="button" data-toggle="collapse" href="#top-panel-5" aria-expanded="false">
<div class="col-xs-10 col-sm-11 col-md-11">
{sugar_translate label='LBL_EDITVIEW_PANEL3' module='Accounts'}
</div>
</a>
</div>
<div class="panel-body panel-collapse collapse in panelContainer" id="top-panel-5" data-id="LBL_EDITVIEW_PANEL3">
<div class="tab-content">
<!-- TAB CONTENT -->





<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="tdc_visa_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_TDC_VISA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="bool" field="tdc_visa_c" >

{if !$fields.tdc_visa_c.hidden}
{counter name="panelFieldCount" print=false}

{if strval($fields.tdc_visa_c.value) == "1" || strval($fields.tdc_visa_c.value) == "yes" || strval($fields.tdc_visa_c.value) == "on"} 
{assign var="checked" value='checked="checked"'}
{else}
{assign var="checked" value=""}
{/if}
<input type="checkbox" class="checkbox" name="{$fields.tdc_visa_c.name}" id="{$fields.tdc_visa_c.name}" value="$fields.tdc_visa_c.value" disabled="true" {$checked}>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="bancovisa_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_BANCOVISA' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="enum" field="bancovisa_c" >

{if !$fields.bancovisa_c.hidden}
{counter name="panelFieldCount" print=false}


{if is_string($fields.bancovisa_c.options)}
<input type="hidden" class="sugar_field" id="{$fields.bancovisa_c.name}" value="{ $fields.bancovisa_c.options }">
{ $fields.bancovisa_c.options }
{else}
<input type="hidden" class="sugar_field" id="{$fields.bancovisa_c.name}" value="{ $fields.bancovisa_c.value }">
{ $fields.bancovisa_c.options[$fields.bancovisa_c.value]}
{/if}
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="tdc_mastercard_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_TDC_MASTERCARD' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="bool" field="tdc_mastercard_c" >

{if !$fields.tdc_mastercard_c.hidden}
{counter name="panelFieldCount" print=false}

{if strval($fields.tdc_mastercard_c.value) == "1" || strval($fields.tdc_mastercard_c.value) == "yes" || strval($fields.tdc_mastercard_c.value) == "on"} 
{assign var="checked" value='checked="checked"'}
{else}
{assign var="checked" value=""}
{/if}
<input type="checkbox" class="checkbox" name="{$fields.tdc_mastercard_c.name}" id="{$fields.tdc_mastercard_c.name}" value="$fields.tdc_mastercard_c.value" disabled="true" {$checked}>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="bancomaster_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_BANCOMASTER' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="enum" field="bancomaster_c" >

{if !$fields.bancomaster_c.hidden}
{counter name="panelFieldCount" print=false}


{if is_string($fields.bancomaster_c.options)}
<input type="hidden" class="sugar_field" id="{$fields.bancomaster_c.name}" value="{ $fields.bancomaster_c.options }">
{ $fields.bancomaster_c.options }
{else}
<input type="hidden" class="sugar_field" id="{$fields.bancomaster_c.name}" value="{ $fields.bancomaster_c.value }">
{ $fields.bancomaster_c.options[$fields.bancomaster_c.value]}
{/if}
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="tdc_american_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_TDC_AMERICAN' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="bool" field="tdc_american_c" >

{if !$fields.tdc_american_c.hidden}
{counter name="panelFieldCount" print=false}

{if strval($fields.tdc_american_c.value) == "1" || strval($fields.tdc_american_c.value) == "yes" || strval($fields.tdc_american_c.value) == "on"} 
{assign var="checked" value='checked="checked"'}
{else}
{assign var="checked" value=""}
{/if}
<input type="checkbox" class="checkbox" name="{$fields.tdc_american_c.name}" id="{$fields.tdc_american_c.name}" value="$fields.tdc_american_c.value" disabled="true" {$checked}>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="bancoamerican_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_BANCOAMERICAN' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="enum" field="bancoamerican_c" >

{if !$fields.bancoamerican_c.hidden}
{counter name="panelFieldCount" print=false}


{if is_string($fields.bancoamerican_c.options)}
<input type="hidden" class="sugar_field" id="{$fields.bancoamerican_c.name}" value="{ $fields.bancoamerican_c.options }">
{ $fields.bancoamerican_c.options }
{else}
<input type="hidden" class="sugar_field" id="{$fields.bancoamerican_c.name}" value="{ $fields.bancoamerican_c.value }">
{ $fields.bancoamerican_c.options[$fields.bancoamerican_c.value]}
{/if}
{/if}

</div>


</div>

</div>


<div class="row detail-view-row">



<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="tdc_dinners_c">


<div class="col-xs-12 col-sm-4 label col-1-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_TDC_DINNERS' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="bool" field="tdc_dinners_c" >

{if !$fields.tdc_dinners_c.hidden}
{counter name="panelFieldCount" print=false}

{if strval($fields.tdc_dinners_c.value) == "1" || strval($fields.tdc_dinners_c.value) == "yes" || strval($fields.tdc_dinners_c.value) == "on"} 
{assign var="checked" value='checked="checked"'}
{else}
{assign var="checked" value=""}
{/if}
<input type="checkbox" class="checkbox" name="{$fields.tdc_dinners_c.name}" id="{$fields.tdc_dinners_c.name}" value="$fields.tdc_dinners_c.value" disabled="true" {$checked}>
{/if}

</div>


</div>




<div class="col-xs-12 col-sm-6 detail-view-row-item" data-field="bancodinners_c">


<div class="col-xs-12 col-sm-4 label col-2-label">


{capture name="label" assign="label"}{sugar_translate label='LBL_BANCODINNERS' module='Accounts'}{/capture}
{$label|strip_semicolon}:
</div>


<div class="col-xs-12 col-sm-8 detail-view-field" type="enum" field="bancodinners_c" >

{if !$fields.bancodinners_c.hidden}
{counter name="panelFieldCount" print=false}


{if is_string($fields.bancodinners_c.options)}
<input type="hidden" class="sugar_field" id="{$fields.bancodinners_c.name}" value="{ $fields.bancodinners_c.options }">
{ $fields.bancodinners_c.options }
{else}
<input type="hidden" class="sugar_field" id="{$fields.bancodinners_c.name}" value="{ $fields.bancodinners_c.value }">
{ $fields.bancodinners_c.options[$fields.bancodinners_c.value]}
{/if}
{/if}

</div>


</div>

</div>
                            </div>
</div>
</div>
{/if}
</div>
</div>

</form>
<script>SUGAR.util.doWhen("document.getElementById('form') != null",
        function(){ldelim}SUGAR.util.buildAccessKeyLabels();{rdelim});
</script>            <script type="text/javascript" src="include/InlineEditing/inlineEditing.js"></script>
<script type="text/javascript" src="modules/Favorites/favorites.js"></script>
{literal}
<script type="text/javascript">

                    let selectTabDetailView = function(tab) {
                        $('#content div.tab-content div.tab-pane-NOBOOTSTRAPTOGGLER').hide();
                        $('#content div.tab-content div.tab-pane-NOBOOTSTRAPTOGGLER').eq(tab).show().addClass('active').addClass('in');
                        $('#content div.detail-view div.panel-content div.panel.panel').hide();
                        $('#content div.panel-content div.panel.tab-panel-' + tab).show();
                    };

                    var selectTabOnError = function(tab) {
                        selectTabDetailView(tab);
                        $('#content ul.nav.nav-tabs > li').removeClass('active');
                        $('#content ul.nav.nav-tabs > li a').css('color', '');

                        $('#content ul.nav.nav-tabs > li').eq(tab).find('a').first().css('color', 'red');
                        $('#content ul.nav.nav-tabs > li').eq(tab).addClass('active');

                    };

                    var selectTabOnErrorInputHandle = function(inputHandle) {
                        var tab = $(inputHandle).closest('.tab-pane-NOBOOTSTRAPTOGGLER').attr('id').match(/^detailpanel_(.*)$/)[1];
                        selectTabOnError(tab);
                    };


                    $(function(){
                        $('#content ul.nav.nav-tabs > li > a[data-toggle="tab"]').click(function(e){
                            if(typeof $(this).parent().find('a').first().attr('id') != 'undefined') {
                                var tab = parseInt($(this).parent().find('a').first().attr('id').match(/^tab(?<number>(.)*)$/)[1]);
                                selectTabDetailView(tab);
                            }
                        });
                    });

                </script>
{/literal}