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.

69 lines
2.7 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 -->
<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>
{INVOICELISTHEADER}
<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>&nbsp; {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.salesorder_name.value = product_name;
window.opener.document.EditView.salesorder_id.value = product_id;
window.opener.document.EditView.action.value = 'EditView';
window.opener.document.EditView.convertmode.value = 'update_so_val';
window.opener.document.EditView.submit();
}
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>