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.
219 lines
5.4 KiB
219 lines
5.4 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/EditView.html,v 1.16 2004/07/16 00:42:57 sugarclint Exp {APP.LBL_CURRENCY_SYM}
|
|
|
|
********************************************************************************/
|
|
|
|
-->
|
|
|
|
<!-- BEGIN: main -->
|
|
|
|
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td vAlign="middle" align="left"><IMG src="{IMAGE_PATH}Accounts.gif" border="0"></td>
|
|
|
|
<td class="moduleTitle" vAlign="middle" align="left" noWrap width="100%" height="20">{MOD.LBL_ACCOUNT} {NAME}</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="3" class="hline"><img height='1' src='include/images/blank.gif'></td></tr></table>
|
|
|
|
|
|
<br>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>
|
|
<td>
|
|
<div align="center">
|
|
|
|
<link rel="stylesheet" type="text/css" media="all" href="jscalendar/calendar-win2k-cold-1.css">
|
|
|
|
<script type="text/javascript" src="jscalendar/calendar.js"></script>
|
|
|
|
<script type="text/javascript" src="jscalendar/lang/calendar-{CALENDAR_LANG}.js"></script>
|
|
|
|
<script type="text/javascript" src="jscalendar/calendar-setup.js"></script>
|
|
|
|
<form name="EditView" method="POST" action="index.php">
|
|
|
|
<input type="hidden" name="module" value="Accounts">
|
|
|
|
<input type="hidden" name="record" value="{ID}">
|
|
|
|
<input type="hidden" name="mode" value="{MODE}">
|
|
|
|
<input type="hidden" name="action">
|
|
|
|
<input type="hidden" name="return_module" value="{RETURN_MODULE}">
|
|
|
|
<input type="hidden" name="return_id" value="{RETURN_ID}">
|
|
|
|
<input type="hidden" name="return_action" value="{RETURN_ACTION}">
|
|
|
|
<input title="{APP.LBL_SAVE_BUTTON_TITLE}" accessKey="{APP.LBL_SAVE_BUTTON_KEY}" class="button" onclick="this.form.action.value='Save';return formValidate() " type="submit" name="button" value=" {APP.LBL_SAVE_BUTTON_LABEL} " >
|
|
|
|
<input title="{APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="window.history.back()" type="button" name="button" value=" {APP.LBL_CANCEL_BUTTON_LABEL} ">
|
|
|
|
|
|
</div>
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
<div align="right"><font class="required">{APP.LBL_REQUIRED_SYMBOL}</font>{APP.NTC_REQUIRED}</div>
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="formOuterBorder">
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
{BLOCK1_HEADER}
|
|
|
|
|
|
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
|
|
|
{BLOCK1}
|
|
|
|
</table>
|
|
|
|
</td></tr></table>
|
|
|
|
<BR>
|
|
|
|
{CUSTOMFIELD}
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="formOuterBorder">
|
|
|
|
<tr><td>
|
|
|
|
{BLOCK2_HEADER}
|
|
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
|
|
|
{BLOCK2}
|
|
|
|
</table>
|
|
|
|
</td></tr></table>
|
|
|
|
<BR>
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="formOuterBorder">
|
|
|
|
<tr><td>
|
|
|
|
{BLOCK3_HEADER}
|
|
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
|
|
|
{BLOCK3}
|
|
|
|
</table>
|
|
|
|
</td></tr></table>
|
|
<br>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>
|
|
|
|
|
|
<td><div align="center">
|
|
<input title="{APP.LBL_SAVE_BUTTON_TITLE}" accessKey="{APP.LBL_SAVE_BUTTON_KEY}" class="button" onclick="this.form.action.value='Save'; return formValidate()" type="submit" name="button" value=" {APP.LBL_SAVE_BUTTON_LABEL} " >
|
|
|
|
<input title="{APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="window.history.back()" type="button" name="button" value=" {APP.LBL_CANCEL_BUTTON_LABEL} ">
|
|
|
|
</div>
|
|
</td>
|
|
|
|
</tr></table>
|
|
|
|
</form>
|
|
|
|
<script type="text/javascript" language="Javascript">
|
|
|
|
function copyAddressRight(form) {
|
|
|
|
form.ship_street.value = form.bill_street.value;
|
|
|
|
form.ship_city.value = form.bill_city.value;
|
|
|
|
form.ship_state.value = form.bill_state.value;
|
|
|
|
form.ship_code.value = form.bill_code.value;
|
|
|
|
form.ship_country.value = form.bill_country.value;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
function copyAddressLeft(form) {
|
|
|
|
form.bill_street.value = form.ship_street.value;
|
|
|
|
form.bill_city.value = form.ship_city.value;
|
|
|
|
form.bill_state.value = form.ship_state.value;
|
|
|
|
form.bill_code.value = form.ship_code.value;
|
|
|
|
form.bill_country.value = form.ship_country.value;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<script>
|
|
|
|
|
|
|
|
var fieldname = new Array({VALIDATION_DATA_FIELDNAME})
|
|
|
|
var fieldlabel = new Array({VALIDATION_DATA_FIELDLABEL})
|
|
|
|
var fielddatatype = new Array({VALIDATION_DATA_FIELDDATATYPE})
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
{JAVASCRIPT}
|
|
|
|
<!-- END: main -->
|
|
|
|
|