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.

78 lines
3.9 KiB

<!--
/*********************************************************************************
* The contents of this file are subject to the SugarCRM Public License Version 1.1.2
* ("License"); You may not use this file except in compliance with the
* License. You may obtain a copy of the License at http://www.sugarcrm.com/SPL
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
* the specific language governing rights and limitations under the License.
* The Original Code is: SugarCRM Open Source
* The Initial Developer of the Original Code is SugarCRM, Inc.
* Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.;
* All Rights Reserved.
* Contributor(s): ______________________________________.
********************************************************************************/
/*********************************************************************************
* {APP.LBL_CURRENCY_SYM}Header: /cvsroot/sugarcrm/sugarcrm/modules/Accounts/ListView.html,v 1.4 2004/07/26 02:56:34 sugarjacob Exp {APP.LBL_CURRENCY_SYM}
********************************************************************************/
-->
<!-- BEGIN: main -->
<link rel="stylesheet" type="text/css" href="{THEME_PATH}style.css"/>
<table cellpadding="0" cellspacing="0" width="100%" border="0" class="FormBorder"><tbody>
<tr height="20">
<td COLSPAN="18" class="listFormHeaderLinks">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<form name="massdelete" method="POST">
<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.account_name.value = product_name;
window.opener.document.EditView.account_id.value = product_id;
}
function add_data_to_relatedlist(entity_id,recordid) {
opener.document.location.href="index.php?module=Emails&action=updateRelations&destination_module=Accounts&entityid="+entity_id+"&parid="+recordid;
}
function set_return_formname_specific(formname,product_id, product_name) {
window.opener.document.EditView1.account_name.value = product_name;
window.opener.document.EditView1.account_id.value = product_id;
}
function set_return_address(account_id, account_name, bill_street, ship_street, bill_city, ship_city, bill_state, ship_state, bill_code, ship_code, bill_country, ship_country) {
window.opener.document.EditView.account_name.value = account_name;
window.opener.document.EditView.account_id.value = account_id;
window.opener.document.EditView.bill_street.value = bill_street;
window.opener.document.EditView.ship_street.value = ship_street;
window.opener.document.EditView.bill_city.value = bill_city;
window.opener.document.EditView.ship_city.value = ship_city;
window.opener.document.EditView.bill_state.value = bill_state;
window.opener.document.EditView.ship_state.value = ship_state;
window.opener.document.EditView.bill_code.value = bill_code;
window.opener.document.EditView.ship_code.value = ship_code;
window.opener.document.EditView.bill_country.value = bill_country;
window.opener.document.EditView.ship_country.value = ship_country;
}
</script>
<!-- END: main -->
</table>