[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
1 /********************************************************************************* 2 ** The contents of this file are subject to the vtiger CRM Public License Version 1.0 3 * ("License"); You may not use this file except in compliance with the License 4 * The Original Code is: vtiger CRM Open Source 5 * The Initial Developer of the Original Code is vtiger. 6 * Portions created by vtiger are Copyright (C) vtiger. 7 * All Rights Reserved. 8 * 9 ********************************************************************************/ 10 11 12 13 function set_return(product_id, product_name) { 14 window.opener.document.EditView.parent_name.value = product_name; 15 window.opener.document.EditView.parent_id.value = product_id; 16 } 17 function set_return_specific(product_id, product_name) { 18 19 var fldName = getOpenerObj("potential_name"); 20 var fldId = getOpenerObj("potential_id"); 21 fldName.value = product_name; 22 fldId.value = product_id; 23 } 24 function add_data_to_relatedlist(entity_id,recordid) 25 { 26 opener.document.location.href="index.php?module=Emails&action=updateRelations&destination_module=Contacts&entityid="+entity_id+"&parid="+recordid; 27 } 28 function set_return_address(potential_id, potential_name, account_id, account_name, bill_street, ship_street, bill_city, ship_city, bill_state, ship_state, bill_code, ship_code, bill_country, ship_country,bill_pobox,ship_pobox) { 29 window.opener.document.EditView.potential_name.value = potential_name; 30 window.opener.document.EditView.potential_id.value = potential_id; 31 window.opener.document.EditView.account_name.value = account_name; 32 window.opener.document.EditView.account_id.value = account_id; 33 window.opener.document.EditView.bill_street.value = bill_street; 34 window.opener.document.EditView.ship_street.value = ship_street; 35 window.opener.document.EditView.bill_city.value = bill_city; 36 window.opener.document.EditView.ship_city.value = ship_city; 37 window.opener.document.EditView.bill_state.value = bill_state; 38 window.opener.document.EditView.ship_state.value = ship_state; 39 window.opener.document.EditView.bill_code.value = bill_code; 40 window.opener.document.EditView.ship_code.value = ship_code; 41 window.opener.document.EditView.bill_country.value = bill_country; 42 window.opener.document.EditView.ship_country.value = ship_country; 43 window.opener.document.EditView.bill_pobox.value = bill_pobox; 44 window.opener.document.EditView.ship_pobox.value = ship_pobox; 45 } 46 47 function set_return_todo(product_id, product_name) { 48 window.opener.document.createTodo.task_parent_name.value = product_name; 49 window.opener.document.createTodo.task_parent_id.value = product_id; 50 } 51
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |