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.
68 lines
2.5 KiB
68 lines
2.5 KiB
4 months ago
|
<!--*********************************************************************************
|
||
|
** 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 -->
|
||
|
<link rel="stylesheet" type="text/css" href="{THEME_PATH}style.css"/>
|
||
|
<script type="text/javascript" language="JavaScript">
|
||
|
function clear_form(form) {
|
||
|
for (j = 0; j < form.elements.length; j++) {
|
||
|
if (form.elements[j].type == 'text' || form.elements[j].type == 'select-one') {
|
||
|
form.elements[j].value = '';
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
<BR>
|
||
|
<BR>
|
||
|
{POLISTHEADER}
|
||
|
<table border="0" cellpadding="0" cellspacing="0" class="FormBorder" width="100%">
|
||
|
<form name="massdelete" method="POST">
|
||
|
<tr height="20">
|
||
|
<td COLSPAN="11" class="listFormHeaderLinks">
|
||
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||
|
<tr>
|
||
|
<input name='action' type='hidden' value='Convert'>
|
||
|
|
||
|
<td> {RECORD_COUNTS}</td>
|
||
|
{NAVIGATION}
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr><td colspan="18" height="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif"></td></tr>
|
||
|
{LISTHEADER}
|
||
|
<tr><td colspan="18" height="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif"></td></tr>
|
||
|
{LISTENTITY}
|
||
|
</form>
|
||
|
</table>
|
||
|
<br>
|
||
|
<script type='text/javascript' language='JavaScript'>
|
||
|
function set_return(product_id, product_name) {
|
||
|
window.opener.document.EditView.parent_name.value = product_name;
|
||
|
window.opener.document.EditView.parent_id.value = product_id;
|
||
|
}
|
||
|
function set_return_specific(product_id, product_name) {
|
||
|
window.opener.document.EditView.purchaseorder_name.value = product_name;
|
||
|
window.opener.document.EditView.purchaseorder_id.value = product_id;
|
||
|
}
|
||
|
function set_return_formname_specific(formname, product_id, product_name) {
|
||
|
window.opener.document.EditView1.purchaseorder_name.value = product_name;
|
||
|
window.opener.document.EditView1.purchaseorder_id.value = product_id;
|
||
|
}
|
||
|
|
||
|
function add_data_to_relatedlist(entity_id,recordid) {
|
||
|
|
||
|
opener.document.location.href="index.php?module={RETURN_MODULE}&action=updateRelations&destination_module=Contacts&entityid="+entity_id+"&parid="+recordid;
|
||
|
}
|
||
|
</script>
|
||
|
<!-- END: main -->
|
||
|
</table>
|
||
|
|