You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

90 lines
3.3 KiB

<!--*********************************************************************************
** The contents of this file are subject to the vtiger CRM Public License Version 1.0
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
*
********************************************************************************/
-->
<!-- BEGIN: main -->
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<form name="change" method="post">
<input type="hidden" name="idlist">
<tr>
<td vAlign="middle" align="left"><IMG src="{IMAGE_PATH}Tickets.gif" border="0"></td>
<td class="moduleTitle" vAlign="middle" align="left" noWrap width="100%" height="20">{MOD.LBL_CONVERT_STATUS}{TICKETCHANGE}</td>
<td nowrap class='bodySmall' align='right'>[ <A href='http://www.vtiger.com/products/crm/document.html' target='_blank'>{APP.LNK_HELP}</A> ]</td>
</tr>
<tr><td colspan="4"><div class="hline"><img height='1' src='include/images/blank.gif'></div></td></tr></table>
<table width="100%" cellpadding="2" cellspacing="0" border="0"><tr>
<td align="left"></td>
<td>
<table cellpadding="0" cellspacing="5" border="0">
<tr>
<link rel="stylesheet" type="text/css" media="all" href="jscalendar/calendar-win2k-cold-1.css">
<form name="massdelete" method="POST">
<input type="hidden" name="module" value="HelpDesk">
<input name='idlist' type='hidden' value={IDLIST}>
<input type="hidden" name="record" value="{ID}">
<input type="hidden" name="action" value="ConvertToEntities">
<input type="hidden" name="current_user_id" value="{CURRENT_USER_ID}">
<td><input title="{APP.LBL_SAVE_BUTTON_TITLE}" accessKey="{APP.LBL_SAVE_BUTTON_KEY}" class="button" onclick="this.form.action.value='ConvertToEntities';return changeStatus() " type="submit" name="button" value=" {APP.LBL_SAVE_BUTTON_LABEL} " ></td>
<td><input title="{APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="this.form.action.value='index'; this.form.module.value='HelpDesk'; " type="submit" name="button" value=" {APP.LBL_CANCEL_BUTTON_LABEL} "></td>
</table>
<!--td width="20%" valign="top" class="dataLabel">{MOD.LBL_STATUS}</td-->
{CHANGE}
<td width="30%">
{STATUSOPTIONS}
<!--select tabindex='5' name="assigned_user_id">{ASSIGNED_USER_OPTIONS}</select-->
</td>
</tr>
</tr>
</table>
<script type="text/javascript" language="Javascript" src="include/general.js"></script>
<script type="text/javascript" language="Javascript">
function verify_data(form) {
if(! form.createpotential.checked == true)
{
if (form.potential_name.value == "")
{
alert("Opportunity Name field cannot be empty");
return false;
}
if (form.closedate.value == "")
{
alert("Close Date field cannot be empty");
return false;
}
return dateValidate('closedate','Potential Close Date','GECD');
}
return true;
}
function togglePotFields(form)
{
if (form.createpotential.checked == true)
{
form.potential_name.disabled = true;
form.closedate.disabled = true;
}
else
{
form.potential_name.disabled = false;
form.closedate.disabled = false;
}
}
</script>
<!-- END: main -->