%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/crm/cache/modules/TSI_Scadenziario/
Upload File :
Create Path :
Current File : /var/www/crm/cache/modules/TSI_Scadenziario/form_SubpanelQuickCreate_TSI_Scadenziario.tpl


<script>
{literal}
$(document).ready(function(){
$("ul.clickMenu").each(function(index, node){
$(node).sugarActionMenu();
});
});
{/literal}
</script>
<div class="clear"></div>
<form action="index.php" method="POST" name="{$form_name}" id="{$form_id}" {$enctype}>
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="dcQuickEdit">
<tr>
<td class="buttons">
<input type="hidden" name="module" value="{$module}">
{if isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true"}
<input type="hidden" name="record" value="">
<input type="hidden" name="duplicateSave" value="true">
<input type="hidden" name="duplicateId" value="{$fields.id.value}">
{else}
<input type="hidden" name="record" value="{$fields.id.value}">
{/if}
<input type="hidden" name="isDuplicate" value="false">
<input type="hidden" name="action">
<input type="hidden" name="return_module" value="{$smarty.request.return_module}">
<input type="hidden" name="return_action" value="{$smarty.request.return_action}">
<input type="hidden" name="return_id" value="{$smarty.request.return_id}">
<input type="hidden" name="module_tab"> 
<input type="hidden" name="contact_role">
{if (!empty($smarty.request.return_module) || !empty($smarty.request.relate_to)) && !(isset($smarty.request.isDuplicate) && $smarty.request.isDuplicate eq "true")}
<input type="hidden" name="relate_to" value="{if $smarty.request.return_relationship}{$smarty.request.return_relationship}{elseif $smarty.request.relate_to && empty($smarty.request.from_dcmenu)}{$smarty.request.relate_to}{elseif empty($isDCForm) && empty($smarty.request.from_dcmenu)}{$smarty.request.return_module}{/if}">
<input type="hidden" name="relate_id" value="{$smarty.request.return_id}">
{/if}
<input type="hidden" name="offset" value="{$offset}">
{assign var='place' value="_HEADER"} <!-- to be used for id for buttons with custom code in def files-->
<div class="action_buttons">{if $bean->aclAccess("save")}<input title="{$APP.LBL_SAVE_BUTTON_TITLE}"  class="button" onclick="var _form = document.getElementById('form_SubpanelQuickCreate_TSI_Scadenziario'); disableOnUnloadEditView(); _form.action.value='Save';if(check_form('form_SubpanelQuickCreate_TSI_Scadenziario'))return SUGAR.subpanelUtils.inlineSave(_form.id, 'TSI_Scadenziario_subpanel_save_button');return false;" type="submit" name="TSI_Scadenziario_subpanel_save_button" id="TSI_Scadenziario_subpanel_save_button" value="{$APP.LBL_SAVE_BUTTON_LABEL}">{/if}  <input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" class="button" onclick="return SUGAR.subpanelUtils.cancelCreate($(this).attr('id'));return false;" type="submit" name="TSI_Scadenziario_subpanel_cancel_button" id="TSI_Scadenziario_subpanel_cancel_button" value="{$APP.LBL_CANCEL_BUTTON_LABEL}">  <input title="{$APP.LBL_FULL_FORM_BUTTON_TITLE}" class="button" onclick="var _form = document.getElementById('form_SubpanelQuickCreate_TSI_Scadenziario'); disableOnUnloadEditView(_form); _form.return_action.value='DetailView'; _form.action.value='EditView'; if(typeof(_form.to_pdf)!='undefined') _form.to_pdf.value='0';" type="submit" name="TSI_Scadenziario_subpanel_full_form_button" id="TSI_Scadenziario_subpanel_full_form_button" value="{$APP.LBL_FULL_FORM_BUTTON_LABEL}"> <input type="hidden" name="full_form" value="full_form"> {if $bean->aclAccess("detail")}{if !empty($fields.id.value) && $isAuditEnabled}<input id="btn_view_change_log" title="{$APP.LNK_VIEW_CHANGE_LOG}" class="button" onclick='open_popup("Audit", "600", "400", "&record={$fields.id.value}&module_name=TSI_Scadenziario", true, false,  {ldelim} "call_back_function":"set_return","form_name":"EditView","field_to_name_array":[] {rdelim} ); return false;' type="button" value="{$APP.LNK_VIEW_CHANGE_LOG}">{/if}{/if}<div class="clear"></div></div>
</td>
<td align='right'>
{$PAGINATION}
</td>
</tr>
</table>{sugar_include include=$includes}
<span id='tabcounterJS'><script>SUGAR.TabFields=new Array();//this will be used to track tabindexes for references</script></span>
<div id="form_SubpanelQuickCreate_TSI_Scadenziario_tabs"
>
<div >
<div id="detailpanel_1" >
{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"}
<table width="100%" border="0" cellspacing="1" cellpadding="0"  id='Default_{$module}_Subpanel'  class="yui3-skin-sam edit view panelContainer">
{counter name="fieldsUsed" start=0 print=false assign="fieldsUsed"}
{capture name="tr" assign="tableRow"}
<tr>
<td valign="top" id='name_label' width='12.5%' scope="col">
{capture name="label" assign="label"}{sugar_translate label='LBL_NAME' module='TSI_Scadenziario'}{/capture}
{$label|strip_semicolon}:
<span class="required">*</span>
</td>
{counter name="fieldsUsed"}

<td valign="top" width='37.5%' >
{counter name="panelFieldCount"}

{if strlen($fields.name.value) <= 0}
{assign var="value" value=$fields.name.default_value }
{else}
{assign var="value" value=$fields.name.value }
{/if}  
<input type='text' name='{$fields.name.name}' 
id='{$fields.name.name}' size='30' 
maxlength='255' 
value='{$value}' title=''      accesskey='7'  >
<td valign="top" id='assigned_user_name_label' width='12.5%' scope="col">
{capture name="label" assign="label"}{sugar_translate label='LBL_ASSIGNED_TO_NAME' module='TSI_Scadenziario'}{/capture}
{$label|strip_semicolon}:
</td>
{counter name="fieldsUsed"}

<td valign="top" width='37.5%' >
{counter name="panelFieldCount"}

<input type="text" name="{$fields.assigned_user_name.name}" class="sqsEnabled" tabindex="0" id="{$fields.assigned_user_name.name}" size="" value="{$fields.assigned_user_name.value}" title='' autocomplete="off"  	 >
<input type="hidden" name="{$fields.assigned_user_name.id_name}" 
id="{$fields.assigned_user_name.id_name}" 
value="{$fields.assigned_user_id.value}">
<span class="id-ff multiple">
<button type="button" name="btn_{$fields.assigned_user_name.name}" id="btn_{$fields.assigned_user_name.name}" tabindex="0" title="{sugar_translate label="LBL_ACCESSKEY_SELECT_USERS_TITLE"}" class="button firstChild" value="{sugar_translate label="LBL_ACCESSKEY_SELECT_USERS_LABEL"}"
onclick='open_popup(
"{$fields.assigned_user_name.module}", 
600, 
400, 
"", 
true, 
false, 
{literal}{"call_back_function":"set_return","form_name":"form_SubpanelQuickCreate_TSI_Scadenziario","field_to_name_array":{"id":"assigned_user_id","user_name":"assigned_user_name"}}{/literal}, 
"single", 
true
);' ><img src="{sugar_getimagepath file="id-ff-select.png"}"></button><button type="button" name="btn_clr_{$fields.assigned_user_name.name}" id="btn_clr_{$fields.assigned_user_name.name}" tabindex="0" title="{sugar_translate label="LBL_ACCESSKEY_CLEAR_USERS_TITLE"}"  class="button lastChild"
onclick="SUGAR.clearRelateField(this.form, '{$fields.assigned_user_name.name}', '{$fields.assigned_user_name.id_name}');"  value="{sugar_translate label="LBL_ACCESSKEY_CLEAR_USERS_LABEL"}" ><img src="{sugar_getimagepath file="id-ff-clear.png"}"></button>
</span>
<script type="text/javascript">
SUGAR.util.doWhen(
		"typeof(sqs_objects) != 'undefined' && typeof(sqs_objects['{$form_name}_{$fields.assigned_user_name.name}']) != 'undefined'",
		enableQS
);
</script>
</tr>
{/capture}
{if $fieldsUsed > 0 }
{$tableRow}
{/if}
{counter name="fieldsUsed" start=0 print=false assign="fieldsUsed"}
{capture name="tr" assign="tableRow"}
<tr>
<td valign="top" id='tsi_scadenziario_tsi_prescrizionilegali_name_label' width='12.5%' scope="col">
{capture name="label" assign="label"}{sugar_translate label='LBL_TSI_SCADENZIARIO_TSI_PRESCRIZIONILEGALI_FROM_TSI_PRESCRIZIONILEGALI_TITLE' module='TSI_Scadenziario'}{/capture}
{$label|strip_semicolon}:
</td>
{counter name="fieldsUsed"}

<td valign="top" width='37.5%' colspan='3'>
{counter name="panelFieldCount"}

<input type="text" name="{$fields.tsi_scadenziario_tsi_prescrizionilegali_name.name}" class="sqsEnabled" tabindex="0" id="{$fields.tsi_scadenziario_tsi_prescrizionilegali_name.name}" size="" value="{$fields.tsi_scadenziario_tsi_prescrizionilegali_name.value}" title='' autocomplete="off"  	 >
<input type="hidden" name="{$fields.tsi_scadenziario_tsi_prescrizionilegali_name.id_name}" 
id="{$fields.tsi_scadenziario_tsi_prescrizionilegali_name.id_name}" 
value="{$fields.tsi_scaden82bbilegali_ida.value}">
<span class="id-ff multiple">
<button type="button" name="btn_{$fields.tsi_scadenziario_tsi_prescrizionilegali_name.name}" id="btn_{$fields.tsi_scadenziario_tsi_prescrizionilegali_name.name}" tabindex="0" title="{sugar_translate label="LBL_SELECT_BUTTON_TITLE"}" class="button firstChild" value="{sugar_translate label="LBL_SELECT_BUTTON_LABEL"}"
onclick='open_popup(
"{$fields.tsi_scadenziario_tsi_prescrizionilegali_name.module}", 
600, 
400, 
"", 
true, 
false, 
{literal}{"call_back_function":"set_return","form_name":"form_SubpanelQuickCreate_TSI_Scadenziario","field_to_name_array":{"id":"tsi_scaden82bbilegali_ida","name":"tsi_scadenziario_tsi_prescrizionilegali_name"}}{/literal}, 
"single", 
true
);' ><img src="{sugar_getimagepath file="id-ff-select.png"}"></button><button type="button" name="btn_clr_{$fields.tsi_scadenziario_tsi_prescrizionilegali_name.name}" id="btn_clr_{$fields.tsi_scadenziario_tsi_prescrizionilegali_name.name}" tabindex="0" title="{sugar_translate label="LBL_ACCESSKEY_CLEAR_RELATE_TITLE"}"  class="button lastChild"
onclick="SUGAR.clearRelateField(this.form, '{$fields.tsi_scadenziario_tsi_prescrizionilegali_name.name}', '{$fields.tsi_scadenziario_tsi_prescrizionilegali_name.id_name}');"  value="{sugar_translate label="LBL_ACCESSKEY_CLEAR_RELATE_LABEL"}" ><img src="{sugar_getimagepath file="id-ff-clear.png"}"></button>
</span>
<script type="text/javascript">
SUGAR.util.doWhen(
		"typeof(sqs_objects) != 'undefined' && typeof(sqs_objects['{$form_name}_{$fields.tsi_scadenziario_tsi_prescrizionilegali_name.name}']) != 'undefined'",
		enableQS
);
</script>
</tr>
{/capture}
{if $fieldsUsed > 0 }
{$tableRow}
{/if}
{counter name="fieldsUsed" start=0 print=false assign="fieldsUsed"}
{capture name="tr" assign="tableRow"}
<tr>
<td valign="top" id='data_scadenza_label' width='12.5%' scope="col">
{capture name="label" assign="label"}{sugar_translate label='LBL_DATA_SCADENZA' module='TSI_Scadenziario'}{/capture}
{$label|strip_semicolon}:
</td>
{counter name="fieldsUsed"}

<td valign="top" width='37.5%' >
{counter name="panelFieldCount"}

<span class="dateTime">
{assign var=date_value value=$fields.data_scadenza.value }
<input class="date_input" autocomplete="off" type="text" name="{$fields.data_scadenza.name}" id="{$fields.data_scadenza.name}" value="{$date_value}" title=''  tabindex='0'    size="11" maxlength="10" >
{capture assign="other_attributes"}alt="{$APP.LBL_ENTER_DATE}" style="position:relative; top:6px" border="0" id="{$fields.data_scadenza.name}_trigger"{/capture}
{sugar_getimage name="jscalendar" ext=".gif" other_attributes="$other_attributes"}
</span>
<script type="text/javascript">
Calendar.setup ({ldelim}
inputField : "{$fields.data_scadenza.name}",
ifFormat : "{$CALENDAR_FORMAT}",
daFormat : "{$CALENDAR_FORMAT}",
button : "{$fields.data_scadenza.name}_trigger",
singleClick : true,
dateStr : "{$date_value}",
startWeekday: {$CALENDAR_FDOW|default:'0'},
step : 1,
weekNumbers:false
{rdelim}
);
</script>
<td valign="top" id='datalavoro_c_label' width='12.5%' scope="col">
{capture name="label" assign="label"}{sugar_translate label='LBL_DATALAVORO' module='TSI_Scadenziario'}{/capture}
{$label|strip_semicolon}:
</td>
{counter name="fieldsUsed"}

<td valign="top" width='37.5%' >
{counter name="panelFieldCount"}

<span class="dateTime">
{assign var=date_value value=$fields.datalavoro_c.value }
<input class="date_input" autocomplete="off" type="text" name="{$fields.datalavoro_c.name}" id="{$fields.datalavoro_c.name}" value="{$date_value}" title=''  tabindex='0'    size="11" maxlength="10" >
{capture assign="other_attributes"}alt="{$APP.LBL_ENTER_DATE}" style="position:relative; top:6px" border="0" id="{$fields.datalavoro_c.name}_trigger"{/capture}
{sugar_getimage name="jscalendar" ext=".gif" other_attributes="$other_attributes"}
</span>
<script type="text/javascript">
Calendar.setup ({ldelim}
inputField : "{$fields.datalavoro_c.name}",
ifFormat : "{$CALENDAR_FORMAT}",
daFormat : "{$CALENDAR_FORMAT}",
button : "{$fields.datalavoro_c.name}_trigger",
singleClick : true,
dateStr : "{$date_value}",
startWeekday: {$CALENDAR_FDOW|default:'0'},
step : 1,
weekNumbers:false
{rdelim}
);
</script>
</tr>
{/capture}
{if $fieldsUsed > 0 }
{$tableRow}
{/if}
{counter name="fieldsUsed" start=0 print=false assign="fieldsUsed"}
{capture name="tr" assign="tableRow"}
<tr>
<td valign="top" id='description_label' width='12.5%' scope="col">
{capture name="label" assign="label"}{sugar_translate label='LBL_DESCRIPTION' module='TSI_Scadenziario'}{/capture}
{$label|strip_semicolon}:
</td>
{counter name="fieldsUsed"}

<td valign="top" width='37.5%' colspan='3'>
{counter name="panelFieldCount"}

{if empty($fields.description.value)}
{assign var="value" value=$fields.description.default_value }
{else}
{assign var="value" value=$fields.description.value }
{/if}  
<textarea  id='{$fields.description.name}' name='{$fields.description.name}'
rows="6" 
cols="80" 
title='' tabindex="0" 
 >{$value}</textarea>
</tr>
{/capture}
{if $fieldsUsed > 0 }
{$tableRow}
{/if}
</table>
</div>
{if $panelFieldCount == 0}
<script>document.getElementById("DEFAULT").style.display='none';</script>
{/if}
</div></div>

<script language="javascript">
    var _form_id = '{$form_id}';
    {literal}
    SUGAR.util.doWhen(function(){
        _form_id = (_form_id == '') ? 'EditView' : _form_id;
        return document.getElementById(_form_id) != null;
    }, SUGAR.themes.actionMenu);
    {/literal}
</script>
{assign var='place' value="_FOOTER"} <!-- to be used for id for buttons with custom code in def files-->
<div class="buttons">
<div class="action_buttons">{if $bean->aclAccess("save")}<input title="{$APP.LBL_SAVE_BUTTON_TITLE}"  class="button" onclick="var _form = document.getElementById('form_SubpanelQuickCreate_TSI_Scadenziario'); disableOnUnloadEditView(); _form.action.value='Save';if(check_form('form_SubpanelQuickCreate_TSI_Scadenziario'))return SUGAR.subpanelUtils.inlineSave(_form.id, 'TSI_Scadenziario_subpanel_save_button');return false;" type="submit" name="TSI_Scadenziario_subpanel_save_button" id="TSI_Scadenziario_subpanel_save_button" value="{$APP.LBL_SAVE_BUTTON_LABEL}">{/if}  <input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" class="button" onclick="return SUGAR.subpanelUtils.cancelCreate($(this).attr('id'));return false;" type="submit" name="TSI_Scadenziario_subpanel_cancel_button" id="TSI_Scadenziario_subpanel_cancel_button" value="{$APP.LBL_CANCEL_BUTTON_LABEL}">  <input title="{$APP.LBL_FULL_FORM_BUTTON_TITLE}" class="button" onclick="var _form = document.getElementById('form_SubpanelQuickCreate_TSI_Scadenziario'); disableOnUnloadEditView(_form); _form.return_action.value='DetailView'; _form.action.value='EditView'; if(typeof(_form.to_pdf)!='undefined') _form.to_pdf.value='0';" type="submit" name="TSI_Scadenziario_subpanel_full_form_button" id="TSI_Scadenziario_subpanel_full_form_button" value="{$APP.LBL_FULL_FORM_BUTTON_LABEL}"> <input type="hidden" name="full_form" value="full_form"> {if $bean->aclAccess("detail")}{if !empty($fields.id.value) && $isAuditEnabled}<input id="btn_view_change_log" title="{$APP.LNK_VIEW_CHANGE_LOG}" class="button" onclick='open_popup("Audit", "600", "400", "&record={$fields.id.value}&module_name=TSI_Scadenziario", true, false,  {ldelim} "call_back_function":"set_return","form_name":"EditView","field_to_name_array":[] {rdelim} ); return false;' type="button" value="{$APP.LNK_VIEW_CHANGE_LOG}">{/if}{/if}<div class="clear"></div></div>
</div>
</form>
{$set_focus_block}
<script>SUGAR.util.doWhen("document.getElementById('EditView') != null",
function(){ldelim}SUGAR.util.buildAccessKeyLabels();{rdelim});
</script><script type="text/javascript">
YAHOO.util.Event.onContentReady("form_SubpanelQuickCreate_TSI_Scadenziario",
    function () {ldelim} initEditView(document.forms.form_SubpanelQuickCreate_TSI_Scadenziario) {rdelim});
//window.setTimeout(, 100);
window.onbeforeunload = function () {ldelim} return onUnloadEditView(); {rdelim};
// bug 55468 -- IE is too aggressive with onUnload event
if ($.browser.msie) {ldelim}
$(document).ready(function() {ldelim}
    $(".collapseLink,.expandLink").click(function (e) {ldelim} e.preventDefault(); {rdelim});
  {rdelim});
{rdelim}
</script>{literal}
<script type="text/javascript">
addForm('form_SubpanelQuickCreate_TSI_Scadenziario');addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'name', 'name', true,'{/literal}{sugar_translate label='LBL_NAME' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'date_entered_date', 'date', false,'Data Inserimento' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'date_modified_date', 'date', false,'Data Modifica' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'modified_user_id', 'assigned_user_name', false,'{/literal}{sugar_translate label='LBL_MODIFIED' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'modified_by_name', 'relate', false,'{/literal}{sugar_translate label='LBL_MODIFIED_NAME' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'created_by', 'assigned_user_name', false,'{/literal}{sugar_translate label='LBL_CREATED' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'created_by_name', 'relate', false,'{/literal}{sugar_translate label='LBL_CREATED' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'description', 'text', false,'{/literal}{sugar_translate label='LBL_DESCRIPTION' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'deleted', 'bool', false,'{/literal}{sugar_translate label='LBL_DELETED' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'assigned_user_id', 'relate', false,'{/literal}{sugar_translate label='LBL_ASSIGNED_TO_ID' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'assigned_user_name', 'relate', false,'{/literal}{sugar_translate label='LBL_ASSIGNED_TO_NAME' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'data_scadenza', 'date', false,'{/literal}{sugar_translate label='LBL_DATA_SCADENZA' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'tsi_scadenziario_contacts_name', 'relate', false,'{/literal}{sugar_translate label='LBL_TSI_SCADENZIARIO_CONTACTS_FROM_CONTACTS_TITLE' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'tsi_scadenziario_accounts_name', 'relate', false,'{/literal}{sugar_translate label='LBL_TSI_SCADENZIARIO_ACCOUNTS_FROM_ACCOUNTS_TITLE' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'tsi_scadenziario_tsi_prescrizionilegali_name', 'relate', false,'{/literal}{sugar_translate label='LBL_TSI_SCADENZIARIO_TSI_PRESCRIZIONILEGALI_FROM_TSI_PRESCRIZIONILEGALI_TITLE' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'effettuata_c', 'bool', false,'{/literal}{sugar_translate label='LBL_EFFETTUATA' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'dataeff_c', 'date', false,'{/literal}{sugar_translate label='LBL_DATAEFF' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'applicabilita_c', 'enum', true,'{/literal}{sugar_translate label='LBL_APPLICABILITA' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'data_esecuzione_c', 'date', false,'{/literal}{sugar_translate label='LBL_DATA_ESECUZIONE' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'note_c', 'text', false,'{/literal}{sugar_translate label='LBL_NOTE' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'datalavoro_c', 'date', false,'{/literal}{sugar_translate label='LBL_DATALAVORO' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'cliente_c', 'enum', false,'{/literal}{sugar_translate label='LBL_CLIENTE' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'statocliente_c', 'enum', false,'{/literal}{sugar_translate label='LBL_STATOCLIENTE' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'tempi_c', 'varchar', false,'{/literal}{sugar_translate label='LBL_TEMPI' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'si_c', 'enum', false,'{/literal}{sugar_translate label='LBL_SI' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'no_c', 'enum', false,'{/literal}{sugar_translate label='LBL_NO' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'np_c', 'enum', false,'{/literal}{sugar_translate label='LBL_NP' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'obbligo_c', 'varchar', false,'{/literal}{sugar_translate label='LBL_OBBLIGO' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidate('form_SubpanelQuickCreate_TSI_Scadenziario', 'conformita_c', 'enum', false,'{/literal}{sugar_translate label='LBL_CONFORMITA' module='TSI_Scadenziario' for_js=true}{literal}' );
addToValidateBinaryDependency('form_SubpanelQuickCreate_TSI_Scadenziario', 'assigned_user_name', 'alpha', false,'{/literal}{sugar_translate label='ERR_SQS_NO_MATCH_FIELD' module='TSI_Scadenziario' for_js=true}{literal}: {/literal}{sugar_translate label='LBL_ASSIGNED_TO' module='TSI_Scadenziario' for_js=true}{literal}', 'assigned_user_id' );
addToValidateBinaryDependency('form_SubpanelQuickCreate_TSI_Scadenziario', 'tsi_scadenziario_tsi_prescrizionilegali_name', 'alpha', false,'{/literal}{sugar_translate label='ERR_SQS_NO_MATCH_FIELD' module='TSI_Scadenziario' for_js=true}{literal}: {/literal}{sugar_translate label='LBL_TSI_SCADENZIARIO_TSI_PRESCRIZIONILEGALI_FROM_TSI_PRESCRIZIONILEGALI_TITLE' module='TSI_Scadenziario' for_js=true}{literal}', 'tsi_scaden82bbilegali_ida' );
</script><script language="javascript">if(typeof sqs_objects == 'undefined'){var sqs_objects = new Array;}sqs_objects['form_SubpanelQuickCreate_TSI_Scadenziario_assigned_user_name']={"form":"form_SubpanelQuickCreate_TSI_Scadenziario","method":"get_user_array","field_list":["user_name","id"],"populate_list":["assigned_user_name","assigned_user_id"],"required_list":["assigned_user_id"],"conditions":[{"name":"user_name","op":"like_custom","end":"%","value":""}],"limit":"30","no_match_text":"Nessun riscontro"};sqs_objects['form_SubpanelQuickCreate_TSI_Scadenziario_tsi_scadenziario_tsi_prescrizionilegali_name']={"form":"form_SubpanelQuickCreate_TSI_Scadenziario","method":"query","modules":["TSI_prescrizioniLegali"],"group":"or","field_list":["name","id"],"populate_list":["tsi_scadenziario_tsi_prescrizionilegali_name","tsi_scaden82bbilegali_ida"],"required_list":["parent_id"],"conditions":[{"name":"name","op":"like_custom","end":"%","value":""}],"order":"name","limit":"30","no_match_text":"Nessun riscontro"};</script>{/literal}

Zerion Mini Shell 1.0