Add html files
This commit is contained in:
269
modules/EcmPriceBooks2/DetailView.html
Executable file
269
modules/EcmPriceBooks2/DetailView.html
Executable file
@@ -0,0 +1,269 @@
|
||||
<!--
|
||||
/*****************************************************************************
|
||||
* The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
|
||||
* Version 1.1 ("License"); You may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
* http://opensource.org/licenses/rpl.php. Software distributed under the
|
||||
* License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
|
||||
* either express or implied.
|
||||
*
|
||||
* You may:
|
||||
* a) Use and distribute this code exactly as you received without payment or
|
||||
* a royalty or other fee.
|
||||
* b) Create extensions for this code, provided that you make the extensions
|
||||
* publicly available and document your modifications clearly.
|
||||
* c) Charge for a fee for warranty or support or for accepting liability
|
||||
* obligations for your customers.
|
||||
*
|
||||
* You may NOT:
|
||||
* a) Charge for the use of the original code or extensions, including in
|
||||
* electronic distribution models, such as ASP (Application Service
|
||||
* Provider).
|
||||
* b) Charge for the original source code or your extensions other than a
|
||||
* nominal fee to cover distribution costs where such distribution
|
||||
* involves PHYSICAL media.
|
||||
* c) Modify or delete any pre-existing copyright notices, change notices,
|
||||
* or License text in the Licensed Software
|
||||
* d) Assert any patent claims against the Licensor or Contributors, or
|
||||
* which would in any way restrict the ability of any third party to use the
|
||||
* Licensed Software.
|
||||
*
|
||||
* You must:
|
||||
* a) Document any modifications you make to this code including the nature of
|
||||
* the change, the authors of the change, and the date of the change.
|
||||
* b) Make the source code for any extensions you deploy available via an
|
||||
* Electronic Distribution Mechanism such as FTP or HTTP download.
|
||||
* c) Notify the licensor of the availability of source code to your extensions
|
||||
* and include instructions on how to acquire the source code and updates.
|
||||
* d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
|
||||
* reproduce, perform, modify, sublicense, and distribute your extensions.
|
||||
*
|
||||
* The Original Code is: CommuniCore
|
||||
* Olavo Farias
|
||||
* 2006-04-7 olavo.farias@gmail.com
|
||||
*
|
||||
* The Initial Developer of the Original Code is CommuniCore.
|
||||
* Portions created by CommuniCore are Copyright (C) 2005 CommuniCore Ltda
|
||||
* All Rights Reserved.
|
||||
********************************************************************************/
|
||||
|
||||
-->
|
||||
<!-- BEGIN: main -->
|
||||
<script language="javascript" src="modules/EcmProducts/mintajax.js"></script>
|
||||
<script language="javascript" src="modules/EcmProducts/helper.js"></script>
|
||||
|
||||
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<form action="index.php" method="post" name="DetailView" id="form">
|
||||
<input type="hidden" name="module" value="EcmPriceBooks">
|
||||
<input type="hidden" name="record" value="{ID}">
|
||||
<input type="hidden" name="isDuplicate" value=false>
|
||||
<input type="hidden" name="action">
|
||||
<input type="hidden" name="return_module">
|
||||
<input type="hidden" name="return_action">
|
||||
<input type="hidden" name="return_id" >
|
||||
|
||||
|
||||
<tr>
|
||||
<td style="padding-bottom: 2px;">
|
||||
<input {NAME_style} title="{APP.LBL_EDIT_BUTTON_TITLE}"
|
||||
accessKey="{APP.LBL_EDIT_BUTTON_KEY}"
|
||||
class="button"
|
||||
onclick="this.form.return_module.value='EcmPriceBooks'; this.form.return_action.value='DetailView'; this.form.return_id.value='{ID}'; this.form.action.value='EditView'"
|
||||
type="submit"
|
||||
name="Edit"
|
||||
value=" {APP.LBL_EDIT_BUTTON_LABEL} "> </td><td>
|
||||
<input {NAME_style} title="{APP.LBL_DUPLICATE_BUTTON_TITLE}"
|
||||
accessKey="{APP.LBL_DUPLICATE_BUTTON_KEY}"
|
||||
class="button"
|
||||
onclick="this.form.return_module.value='EcmPriceBooks'; this.form.return_action.value='index'; this.form.isDuplicate.value=true; this.form.action.value='EditView'"
|
||||
type="submit"
|
||||
name="Duplicate"
|
||||
value=" {APP.LBL_DUPLICATE_BUTTON_LABEL} "> </td><td>
|
||||
<input {NAME_style} title="{APP.LBL_DELETE_BUTTON_TITLE}"
|
||||
accessKey="{APP.LBL_DELETE_BUTTON_KEY}"
|
||||
class="button"
|
||||
onclick="this.form.return_module.value='EcmPriceBooks'; this.form.return_action.value='ListView'; this.form.action.value='Delete'; return confirm('{APP.NTC_DELETE_CONFIRMATION}')"
|
||||
type="submit"
|
||||
name="Delete"
|
||||
value=" {APP.LBL_DELETE_BUTTON_LABEL} "></td><td>
|
||||
{SHOWPDF}</td><td>
|
||||
{LEOBITE}</td><td>
|
||||
{LEOBITEEN}</td><td>
|
||||
{CATALOGUE}</td><td>
|
||||
{FIND_DUPES_MERGE_BUTTON}</td><td>
|
||||
{SORT_ORDER}</td>
|
||||
<td align='right'>{ADMIN_EDIT}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<script language="javascript" src="include/ECM/EcmPreviewPDF/EcmPreviewPDF.js"></script>
|
||||
<script>
|
||||
function showBlock(id)
|
||||
{
|
||||
var tabs=new Array();
|
||||
tabs[0]="details";
|
||||
tabs[1]="items";
|
||||
tabs[2]="previewpdf";
|
||||
tabs[3]="previewxls";
|
||||
tabs[4]="email";
|
||||
document.getElementById('images_block').style.display='none';
|
||||
for(var i=0;i<=4;i++)
|
||||
{
|
||||
document.getElementById(tabs[i]+'_menu').className="";
|
||||
document.getElementById(tabs[i]+'_link').className="";
|
||||
document.getElementById(tabs[i]+'_block').style.display="none";
|
||||
}
|
||||
if(id=="previewpdf")document.getElementById('images_block').style.display='block';
|
||||
document.getElementById(id+'_menu').className="active";
|
||||
document.getElementById(id+'_link').className="current";
|
||||
document.getElementById(id+'_block').style.display="block";
|
||||
|
||||
}
|
||||
</script>
|
||||
<ul class="tabList" style="margin-top:10px;" id="groupTabs">
|
||||
<li class="active" id="details_menu"><a id="details_link" class="current" href="javascript:showBlock('details');">{MOD.LBL_DETAILS}</a></li>
|
||||
<li class="" id="items_menu"><a id="items_link" class="" href="javascript:showBlock('items');">{MOD.LBL_ITEMS}</a></li>
|
||||
<li class="" id="previewpdf_menu"><a id="previewpdf_link" class="" href="javascript:showBlock('previewpdf');mintajaxget('index.php?module=EcmPriceBooks&action=showPDF&to_pdf=1&disposition=I&images='+document.getElementById('images').checked,'previewpdf_block');">{MOD.LBL_PREVIEWPDF}</a></li>
|
||||
<!--<li class="" id="previewxls_menu"><a id="previewxls_link" class="" href="javascript:showBlock('previewxls');mintajaxget('index.php?to_pdf=1&module=EcmPriceBooks&action=showXLS','previewxls_block');">{MOD.LBL_PREVIEWXLS}</a></li>-->
|
||||
<li class="" id="previewxls_menu"><a id="previewxls_link" class="" href="index.php?module=EcmPriceBooks&action=CreateXLS&to_pdf=1&disposition=D">{MOD.LBL_PREVIEWXLS}</a></li>
|
||||
<li class="" id="email_menu"><a id="email_link" class="" href="javascript:showBlock('email');mintajaxget('index.php?to_pdf=1&module=EcmPriceBooks&action=showEmail','email_block');">{MOD.LBL_EMAIL}</a></li>
|
||||
</ul>
|
||||
<br />
|
||||
<div id="details_block" style="display:block;">
|
||||
|
||||
<table width="100%" border="0" cellspacing="{GRIDLINE}" cellpadding="0">
|
||||
{PAGINATION1}
|
||||
<th class="dataLabel" align="left" colspan="8">
|
||||
<h4>{MOD.LBL_PRICE_DETAIL_NAME}</h4></th>
|
||||
<tr>
|
||||
<td width="15%" class="tabDetailViewDL"><span sugar='slot1'>{MOD.LBL_NAME}</span sugar='slot'></td>
|
||||
<td width="35%" class="tabDetailViewDF"><span sugar='slot1b'>{NAME} </span sugar='slot'></td>
|
||||
<td width="15%" valign="top" class="tabDetailViewDL"><span sugar='slot2'>{APP.LBL_ASSIGNED_TO}</span sugar='slot'></td>
|
||||
<td width="35%" valign="top" class="tabDetailViewDF"><span sugar='slot2b'>{ASSIGNED_TO}</span sugar='slot'></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" class="tabDetailViewDL"><span sugar='slot3'>{MOD.LBL_ACTIVE}</span sugar='slot'></td>
|
||||
<td valign="top" class="tabDetailViewDF"><span sugar='slot3b'>{ACTIVE}</span sugar='slot'></td>
|
||||
|
||||
<td valign="top" class="tabDetailViewDL"><span sugar='slot5'>{MOD.LBL_EXCHANGE_RATE_NAME}</span sugar='slot'></td>
|
||||
<td valign="top" class="tabDetailViewDF"><span sugar='slot5b'>{CURRENCY}</span sugar='slot'></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" class="tabDetailViewDL"><span sugar='slot7'>{MOD.LBL_ACCOUNT_NAME}</span sugar='slot'></td>
|
||||
<td valign="top" class="tabDetailViewDF"><span sugar='slot7b'>{ACCOUNT_NAME}</span sugar='slot'></td>
|
||||
<td valign="top" class="tabDetailViewDL"><span sugar='slot9'>{MOD.LBL_LEAD_NAME}</span sugar='slot'></td>
|
||||
<td valign="top" class="tabDetailViewDF"><span sugar='slot9b'>{LEAD_NAME}</span sugar='slot'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" class="tabDetailViewDL"><span sugar='slot4'>{MOD.LBL_DESCRIPTION}</span sugar='slot'></td>
|
||||
<td valign="top" class="tabDetailViewDF"><span sugar='slot4b'>{DESCRIPTION} </span sugar='slot'></td>
|
||||
<td valign="top" class="tabDetailViewDL">{MOD.LBL_CURRENCY_VALUE}</td>
|
||||
<td valign="top" class="tabDetailViewDF">{CURRENCY_VALUE}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" class="tabDetailViewDL"> </td>
|
||||
<td valign="top" class="tabDetailViewDF"> </td>
|
||||
<td valign="top" class="tabDetailViewDL"> </td>
|
||||
<td valign="top" class="tabDetailViewDF"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id="items_block" style="display:none;">
|
||||
<table width="100%" border="0" cellspacing="{GRIDLINE}" cellpadding="0">
|
||||
<th class="dataLabel" align="left" colspan="8">
|
||||
<h4>{MOD.LBL_PRICE_PRODUCT_NAME}</h4>
|
||||
</th>
|
||||
<tr>
|
||||
<td colspan="4" valign="top" class="tabDetailViewDL">
|
||||
<div id="price-block" style="display:none;position:absolute;">
|
||||
<table cellpadding="0" cellspacing="0" border="0" class="ListView">
|
||||
<tr>
|
||||
<td width="90%" bgcolor="#FFFFFF" class="listViewThS1">{MOD.LBL_EDIT_PRICE} </td><td width="10%" align="right" bgcolor="#FFFFFF" class="listViewThS1"> </td><td width="10%" align="right" bgcolor="#FFFFFF" class="listViewThS1"> </td><td width="1%" align="right" bgcolor="#FFFFFF" class="listViewThS1"><a href="javascript:hidediv('price-block');" title="Click to Close" class="olCloseFontClass"><img src="themes/Sugar/images/close_inline.gif" border="0"></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" bgcolor="#FFFFFF" class="oddListRowS1">{MOD.LBL_UNIT_PRICE}:</td>
|
||||
<td valign="top" bgcolor="#FFFFFF" class="oddListRowS1">{MOD.LBL_MARGIN}:</td>
|
||||
<td colspan="2" valign="top" bgcolor="#FFFFFF" class="oddListRowS1">{MOD.LBL_LIST_PRICE_PRICEBOOK}:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" bgcolor="#FFFFFF" class="oddListRowS1">
|
||||
<input size="8" id="purchase_price" name="purchase_price" readonly type="text" onchange="getPricePricebook();" onclick="getPricePricebook();" onblur="getPricePricebook();" />
|
||||
</td>
|
||||
<td valign="top" bgcolor="#FFFFFF" class="oddListRowS1">
|
||||
<input size="4" id="margin" name="margin" type="text" onchange="getPricePricebook();" onclick="getPricePricebook();" onblur="getPricePricebook();" />
|
||||
</td>
|
||||
<td valign="top" bgcolor="#FFFFFF" class="oddListRowS1" colspan="2">
|
||||
<input size="8" id="price" name="price" type="text" onchange="getPricePricebook();" onclick="getPricePricebook();" onblur="getPricePricebook();" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" bgcolor="#FFFFFF" class="oddListRowS1">{MOD.LBL_RECIPIENT_CODE}:</td>
|
||||
<td valign="top" bgcolor="#FFFFFF" class="oddListRowS1"> </td>
|
||||
<td colspan="2" valign="top" bgcolor="#FFFFFF" class="oddListRowS1"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" bgcolor="#FFFFFF" class="oddListRowS1">
|
||||
<input size="8" id="recipient_code" name="recipient_code" type="text" />
|
||||
</td>
|
||||
<td valign="top" bgcolor="#FFFFFF" class="oddListRowS1"></td>
|
||||
<td valign="top" bgcolor="#FFFFFF" class="oddListRowS1" colspan="2"></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td valign="top" bgcolor="#FFFFFF" class="oddListRowS1">{MOD.LBL_REMARKS_PL}:</td>
|
||||
<td valign="top" bgcolor="#FFFFFF" class="oddListRowS1">{MOD.LBL_REMARKS_EN}:</td>
|
||||
<td colspan="2" valign="top" bgcolor="#FFFFFF" class="oddListRowS1">{MOD.LBL_REMARKS_DE}:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" bgcolor="#FFFFFF" class="oddListRowS1">
|
||||
<input size="8" id="remarks_pl" name="remarks_pl" type="text" />
|
||||
</td>
|
||||
<td valign="top" bgcolor="#FFFFFF" class="oddListRowS1">
|
||||
<input size="8" id="remarks_en" name="remarks_en" type="text" />
|
||||
</td>
|
||||
<td valign="top" bgcolor="#FFFFFF" class="oddListRowS1" colspan="2">
|
||||
<input size="8" id="remarks_de" name="remarks_de" type="text" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" bgcolor="#FFFFFF" class="oddListRowS1" colspan="4">
|
||||
<input id="product_id" name="product_id" type="hidden" />
|
||||
<input id="order_by" name="order_by" type="hidden" />
|
||||
<input id="sorder" name="sorder" type="hidden" />
|
||||
<input class="button" type="submit" name="saveprice" value="Save" onclick="mintajaxget('index.php?to_pdf=1&module=EcmPriceBooks&action=SavePrice&pricebook_id={ID}&record='+document.getElementById('product_id').value+'&recipient_code='+document.getElementById('recipient_code').value+'&remarks_pl='+document.getElementById('remarks_pl').value+'&remarks_en='+document.getElementById('remarks_en').value+'&remarks_de='+document.getElementById('remarks_de').value+'&order_by='+document.getElementById('order_by').value+'&sorder='+document.getElementById('sorder').value+'&price='+document.getElementById('price').value,'products');document.getElementById('price-block').style.display='none';"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table></div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" class="tabDetailViewDL"><input type="button" class="button" name="productslist" value="{MOD.LBL_ADD_PRODUCTS_TO_PRICEBOOK}" onclick="location.href='index.php?module=EcmProducts&action=ListViewAddToPriceBook&pricebook_id={ID}';" /></td>
|
||||
<td valign="top" class="tabDetailViewDF"> </td>
|
||||
<td colspan="2" align="right" valign="top" class="tabDetailViewDL">{CUSTOMVIEW_SELECT}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="4" valign="top" class="tabDetailViewDL"><div id='products'></div></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div id="images_block" style="display:none;">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr><td class="dataLabel" align="left" width="15%">
|
||||
<h4>{MOD.LBL_PREVIEWPDF}</h4>
|
||||
</td><td width="85%">Zdjęcia: <input type="checkbox" value="1" id="images" name="images" onclick="mintajaxget('index.php?to_pdf=1&module=EcmPriceBooks&action=selectImages','images');" {IMAGES_CHECKED}/></td></tr></table></div>
|
||||
<div id="previewpdf_block" style="display:none;"></div>
|
||||
<div id="previewxls_block" style="display:none;"></div>
|
||||
<div id="email_block" style="display:none;"></div>
|
||||
{LOAD_TAB}
|
||||
<!-- END: main -->
|
||||
<!-- BEGIN: subpanel -->
|
||||
<span sugar='slot23'>{SUBPANEL}</span sugar='slot'>
|
||||
<!-- END: subpanel -->
|
||||
152
modules/EcmPriceBooks2/EditView1.html
Executable file
152
modules/EcmPriceBooks2/EditView1.html
Executable file
@@ -0,0 +1,152 @@
|
||||
<!--
|
||||
/*****************************************************************************
|
||||
* The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
|
||||
* Version 1.1 ("License"); You may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
* http://opensource.org/licenses/rpl.php. Software distributed under the
|
||||
* License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
|
||||
* either express or implied.
|
||||
*
|
||||
* You may:
|
||||
* a) Use and distribute this code exactly as you received without payment or
|
||||
* a royalty or other fee.
|
||||
* b) Create extensions for this code, provided that you make the extensions
|
||||
* publicly available and document your modifications clearly.
|
||||
* c) Charge for a fee for warranty or support or for accepting liability
|
||||
* obligations for your customers.
|
||||
*
|
||||
* You may NOT:
|
||||
* a) Charge for the use of the original code or extensions, including in
|
||||
* electronic distribution models, such as ASP (Application Service
|
||||
* Provider).
|
||||
* b) Charge for the original source code or your extensions other than a
|
||||
* nominal fee to cover distribution costs where such distribution
|
||||
* involves PHYSICAL media.
|
||||
* c) Modify or delete any pre-existing copyright notices, change notices,
|
||||
* or License text in the Licensed Software
|
||||
* d) Assert any patent claims against the Licensor or Contributors, or
|
||||
* which would in any way restrict the ability of any third party to use the
|
||||
* Licensed Software.
|
||||
*
|
||||
* You must:
|
||||
* a) Document any modifications you make to this code including the nature of
|
||||
* the change, the authors of the change, and the date of the change.
|
||||
* b) Make the source code for any extensions you deploy available via an
|
||||
* Electronic Distribution Mechanism such as FTP or HTTP download.
|
||||
* c) Notify the licensor of the availability of source code to your extensions
|
||||
* and include instructions on how to acquire the source code and updates.
|
||||
* d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
|
||||
* reproduce, perform, modify, sublicense, and distribute your extensions.
|
||||
*
|
||||
* The Original Code is: CommuniCore
|
||||
* Olavo Farias
|
||||
* 2006-04-7 olavo.farias@gmail.com
|
||||
*
|
||||
* The Initial Developer of the Original Code is CommuniCore.
|
||||
* Portions created by CommuniCore are Copyright (C) 2005 CommuniCore Ltda
|
||||
* All Rights Reserved.
|
||||
********************************************************************************/
|
||||
-->
|
||||
<!-- BEGIN: main -->
|
||||
|
||||
<script type="text/javascript" src="include/javascript/popup_parent_helper.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="100%">
|
||||
<tr>
|
||||
<form name="EditView" method="POST" action="index.php">
|
||||
<input type="hidden" name="module" value="EcmPriceBooks">
|
||||
<input type="hidden" name="record" value="{ID}">
|
||||
<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 type="hidden" name="contact_id" value="{CONTACT_ID}">
|
||||
<input type="hidden" name="email_id" value="{EMAIL_ID}">
|
||||
<input type="hidden" name="account_id" value="{ACCOUNT_ID}">
|
||||
<input type="hidden" name="case_id" value="{CASE_ID}">
|
||||
<!--// InboundEmail support //-->
|
||||
<input type="hidden" name="inbound_email_id" value="{INBOUND_EMAIL_ID}">
|
||||
<input type="hidden" name="start" value="{START}">
|
||||
<input type="hidden" name="type" value="{TYPE}">
|
||||
<td style="padding-bottom: 2px;">
|
||||
<input title="{APP.LBL_SAVE_BUTTON_TITLE}" accessKey="{APP.LBL_SAVE_BUTTON_KEY}" class="button"
|
||||
onclick="this.form.action.value='Save';return check_form('EditView');"
|
||||
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="this.form.action.value='{RETURN_ACTION}'; this.form.module.value='{RETURN_MODULE}'; this.form.record.value='{RETURN_ID}'"
|
||||
type="submit" name="button" value=" {APP.LBL_CANCEL_BUTTON_LABEL} ">
|
||||
</td>
|
||||
<td align="right" nowrap><span class="required">{APP.LBL_REQUIRED_SYMBOL}</span> {APP.NTC_REQUIRED}</td>
|
||||
<td align='right'>{ADMIN_EDIT}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>
|
||||
|
||||
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tabForm">
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
|
||||
<tr>
|
||||
<td width="15%" class="dataLabel"><span sugar='slot1'>{MOD.LBL_NAME} <span class="required">{APP.LBL_REQUIRED_SYMBOL}</span></span sugar='slot'></td>
|
||||
<td width="35%" class="dataField"><span sugar='slot1b'><input name='name' type="text" tabindex='1' size='35' maxlength='50' value="{NAME}"></span sugar='slot'></td>
|
||||
<td class="dataLabel" ><span sugar='slot2'>{APP.LBL_ASSIGNED_TO}</span sugar='slot'></td>
|
||||
<td class="dataField">
|
||||
<span sugar='slot2b'>
|
||||
<input class="sqsEnabled" tabindex="2" autocomplete="off" id="assigned_user_name" name='assigned_user_name' type="text" value="{ASSIGNED_USER_NAME}">
|
||||
<input id='assigned_user_id' name='assigned_user_id' type="hidden" value="{ASSIGNED_USER_ID}" />
|
||||
<input title="{APP.LBL_SELECT_BUTTON_TITLE}" accessKey="{APP.LBL_SELECT_BUTTON_KEY}" type="button" class="button" value='{APP.LBL_SELECT_BUTTON_LABEL}' name=btn1
|
||||
onclick='open_popup("Users", 600, 400, "", true, false, {encoded_users_popup_request_data});' /></span sugar='slot'> </td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<td class="dataLabel"><span sugar='slot3'>{MOD.LBL_ACTIVE}</span sugar='slot'></td>
|
||||
<td class="dataField">
|
||||
<span sugar='slot3b'>
|
||||
<input id="active" title="Product active" type="checkbox" title="{ACTIVE_HELP}" name="active" {ACTIVE}/></span sugar='slot'> </td>
|
||||
|
||||
<td valign="top" class="dataLabel"><span sugar='slot6'>{MOD.LBL_EXCHANGE_RATE_ID}</span sugar='slot'></td>
|
||||
<td valign="top" class="dataField"><select name="exchange_rate_id" id="exchange_rate_id">
|
||||
|
||||
|
||||
{EXCHANGE_RATE_ID}
|
||||
|
||||
|
||||
</select> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="dataLabel" valign="top">{MOD.LBL_ACCOUNT_NAME}</td>
|
||||
<td class="dataField"><input id='account_id' name='account_id' type="hidden" value="{ACCOUNT_ID}" />
|
||||
<input class="sqsEnabled" id='account_name' name='account_name' type="text" tabindex='13' maxlength='40' value="{ACCOUNT_NAME}" />
|
||||
</span sugar='slot'> <input title="{APP.LBL_SELECT_BUTTON_TITLE}" accesskey="{APP.LBL_SELECT_BUTTON_KEY}" type="button" class="button" value='{APP.LBL_SELECT_BUTTON_LABEL}' name="btn1"
|
||||
onclick='open_popup("Accounts", 600, 400, "index.php?module=Accounts&action=Popup&mode=single&create=true&metadata=undefined", true, false, {encoded_accounts_popup_request_data});' /></td>
|
||||
<td valign="top" class="dataLabel">{MOD.LBL_LEAD_NAME}</td>
|
||||
<td valign="top" class="dataField"><input id='lead_id' name='lead_id' type="hidden" value="{LEAD_ID}" />
|
||||
<input class="sqsEnabled" id='lead_name' name='lead_name' type="text" tabindex='13' maxlength='40' value="{LEAD_NAME}" />
|
||||
</span sugar='slot'> <input title="{APP.LBL_SELECT_BUTTON_TITLE}" accesskey="{APP.LBL_SELECT_BUTTON_KEY}" type="button" class="button" value='{APP.LBL_SELECT_BUTTON_LABEL}' name="btn1"
|
||||
onclick='open_popup("Leads", 600, 400, "index.php?module=Leads&action=Popup&mode=single&create=true&metadata=undefined", true, false, {encoded_leads_popup_request_data});' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="dataLabel" valign="top"><span sugar='slot4'>{MOD.LBL_DESCRIPTION}</span sugar='slot'></td>
|
||||
<td class="dataField"><span sugar='slot4b'>
|
||||
<textarea name='description' title="Description" tabindex='4' cols="30" rows="4">{DESCRIPTION}</textarea>
|
||||
</span sugar='slot'> </td>
|
||||
<td valign="top" class="dataLabel"> </td>
|
||||
<td valign="top" class="dataField"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</p>
|
||||
<div style="padding-top: 2px">
|
||||
<input title="{APP.LBL_SAVE_BUTTON_TITLE}" accessKey="{APP.LBL_SAVE_BUTTON_KEY}" class="button" onclick="this.form.action.value='Save';return check_form('EditView');" 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="this.form.action.value='{RETURN_ACTION}'; this.form.module.value='{RETURN_MODULE}'; this.form.record.value='{RETURN_ID}'" type="submit" name="button" value=" {APP.LBL_CANCEL_BUTTON_LABEL} ">
|
||||
</div>
|
||||
</form>
|
||||
{JAVASCRIPT}
|
||||
<!-- END: main -->
|
||||
371
modules/EcmPriceBooks2/Emails.html
Executable file
371
modules/EcmPriceBooks2/Emails.html
Executable file
@@ -0,0 +1,371 @@
|
||||
<!--
|
||||
/**
|
||||
* EditView for Email
|
||||
*
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004 - 2007 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
* this program; if not, see http://www.gnu.org/licenses or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
*/
|
||||
-->
|
||||
|
||||
<!-- BEGIN: main -->
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
|
||||
<meta name="generator" content="">
|
||||
<title></title>
|
||||
<script type="text/javascript" src="include/javascript/sugar_grp1_yui.js?s=5.0.0c&c="></script>
|
||||
<script type="text/javascript" src="include/javascript/sugar_grp1.js?s=5.0.0c&c="></script>
|
||||
<script type="text/javascript" src="include/javascript/sugar_3.js?s=5.0.0c&c="></script>
|
||||
<script type="text/javascript" src="include/javascript/sugar_grp1.js?s=5.0.0c&c="></script>
|
||||
<script type="text/javascript" src="jscalendar/lang/calendar-en.js?s=5.0.0c&c="></script>
|
||||
<script type="text/javascript" src="include/SugarFields/Fields/Address/SugarFieldAddress.js?s=5.0.0c&c="></script>
|
||||
<script type="text/javascript" src="cache/jsLanguage/en_us.js?s=5.0.0c&c=&j=1">
|
||||
</script><script type="text/javascript" src="cache/jsLanguage/Accounts/en_us.js?s=5.0.0c&c=&j=1"></script>
|
||||
<script type="text/javascript" src="jssource/src_files/include/SugarEmailAddress/SugarEmailAddress.js?s=5.0.0c&c="></script>
|
||||
<link rel="stylesheet" type="text/css" href="themes/Sugar/navigation.css?s=5.0.0c&c=" />
|
||||
<link rel="stylesheet" type="text/css" href="themes/Sugar/style.css?s=5.0.0c&c=" />
|
||||
<link rel="stylesheet" type="text/css" href="themes/Sugar/colors.sugar.css?s=5.0.0c&c=" id="current_color_style" />
|
||||
<link rel="stylesheet" type="text/css" href="themes/Sugar/fonts.normal.css?s=5.0.0c&c=" id="current_font_style"/>
|
||||
<script language="javascript" src="themes/default/SiteMapJS.js?s=5.0.0c&c="></script>
|
||||
<script language="javascript" src="themes/menu.js?s=5.0.0c&c="></script>
|
||||
<script language="javascript" src="themes/cookie.js?s=5.0.0c&c="></script>
|
||||
<script language="javascript" src="themes/Sugar/style.js?s=5.0.0c&c="></script>
|
||||
<script language="javascript" src="include/JSON.js?s=5.0.0c&c="></script>
|
||||
<script type="text/javascript" language="Javascript">
|
||||
{JS_VARS}
|
||||
</script>
|
||||
</head>
|
||||
<body class="{BODYCLASS}" style="border:none;" onLoad="">
|
||||
|
||||
|
||||
<script type="text/javascript" src="include/jsolait/init.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
|
||||
<script type="text/javascript" src="include/javascript/jsclass_base.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
|
||||
<script type="text/javascript" src="include/javascript/jsclass_async.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
|
||||
<script type="text/javascript" src="modules/EcmPriceBooks/Email.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
|
||||
<script type="text/javascript" src="modules/Documents/documents.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
|
||||
{MESSAGE}
|
||||
|
||||
|
||||
|
||||
<form action="index.php" method="post" name="EditView" enctype="multipart/form-data">
|
||||
<input type="hidden" name="module" value="EcmPriceBooks" />
|
||||
<input type="hidden" name="action" value="EmailSave" />
|
||||
<input type="hidden" name="to_pdf" value="1" />
|
||||
<input type="hidden" name="contact_id" value="{CONTACT_ID}" />
|
||||
<input type="hidden" name="user_id" value="{USER_ID}" />
|
||||
<input type="hidden" name="return_module" value="{RETURN_MODULE}" />
|
||||
<input type="hidden" name="return_id" value="{RETURN_ID}" />
|
||||
<input type="hidden" name="send" value="" />
|
||||
<input type="hidden" name="type" value="out" />
|
||||
<input type="hidden" name="record" value="{ID}" />
|
||||
<input type="hidden" name="return_action" value="{RETURN_ACTION}" />
|
||||
<input type="hidden" name="inbound_email_id" value="{INBOUND_EMAIL_ID}" />
|
||||
<input type="hidden" name="assigned_user_id" value="{ASSIGNED_USER_ID}" />
|
||||
<input type="hidden" name="object_type" value="{OBJECT_TYPE}" />
|
||||
<input type="hidden" name="object_id" value="{OBJECT_ID}" />
|
||||
<input type="hidden" name="group" value="{GROUP}" />
|
||||
<input type="hidden" name="origType" value="{TYPE}" />
|
||||
<input type="hidden" name="invoiceout_id" value="{INVOICEOUT_ID}" />
|
||||
<input type="hidden" name="pricebook_id" value="{PRICEBOOK_ID}" />
|
||||
<input type="hidden" name="pIdFrom" value="{PIDFROM}" />
|
||||
<input type="hidden" name="pTypeFrom" value="{PTYPEFROM}" />
|
||||
<input type="hidden" name="pIdTo" value="{PIDTO}" />
|
||||
<input type="hidden" name="pTypeTo" value="{PTYPETO}" />
|
||||
<input type="hidden" name="bodyclass" value="{BODYCLASS}" />
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<th class="dataLabel" align="left" colspan="8">
|
||||
<h4>Send email</h4><br>
|
||||
</th>
|
||||
<tr>
|
||||
<td style="padding-bottom: 2px;">
|
||||
<input type="submit" name="button" class="button" {disable_send} title="{MOD.LBL_SEND_BUTTON_TITLE}" accesskey="{MOD.LBL_SEND_BUTTON_KEY}" value=" {MOD.LBL_SEND_BUTTON_LABEL} " />
|
||||
<!--
|
||||
<input type="submit" name="button" class="button" title="{MOD.LBL_SAVE_AS_DRAFT_BUTTON_TITLE}" accesskey="{MOD.LBL_SAVE_AS_DRAFT_BUTTON_KEY}" value=" {MOD.LBL_SAVE_AS_DRAFT_BUTTON_LABEL} " onclick="return invoiceoutAlert('save_draft');" />
|
||||
<input type="submit" name="button" class="button" title="{APP.LBL_CANCEL_BUTTON_TITLE}" accesskey="{APP.LBL_CANCEL_BUTTON_KEY}" value=" {APP.LBL_CANCEL_BUTTON_LABEL} " onclick="this.form.action.value='{RETURN_ACTION}'; this.form.module.value='{RETURN_MODULE}'; this.form.record.value='{RETURN_ID}'; {MYINBOX}" />
|
||||
-->
|
||||
|
||||
</td>
|
||||
<td align="right" nowrap>
|
||||
</td>
|
||||
<td align='right'>
|
||||
{ADMIN_EDIT}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- BEGIN: open_source_1 -->
|
||||
<td nowrap class="dataLabel">
|
||||
<slot> </slot>
|
||||
Attach PDF </td>
|
||||
<td nowrap>
|
||||
<slot> </slot> </td>
|
||||
<!-- END: open_source_1 -->
|
||||
<td nowrap>
|
||||
<slot> </slot> </td>
|
||||
<td>
|
||||
<div style="display:none;">
|
||||
<slot>
|
||||
<select tabindex='2' name='parent_type' onChange=" document.EditView.parent_name.value='';
|
||||
changeQS();
|
||||
checkParentType(document.EditView.parent_type.value, document.EditView.change_parent);">
|
||||
{TYPE_OPTIONS}</select> </slot>
|
||||
</div>
|
||||
<input type="checkbox" name="attach_pdf" value="1" checked>
|
||||
Images:
|
||||
<input type="checkbox" name="email_images" value="true" checked></td>
|
||||
<td class="dataField" nowrap>
|
||||
<div style="display:none;">
|
||||
<slot>
|
||||
<input id='parent_id' name='parent_id' type="hidden" value='{PARENT_ID}'>
|
||||
<input class="sqsEnabled" id='parent_name' name='parent_name' tabindex='2' type='text' value="{PARENT_NAME}">
|
||||
{CHANGE_PARENT_BUTTON} </slot>
|
||||
</div> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="dataLabel">
|
||||
<div style="display:none;">
|
||||
<slot>
|
||||
{APP.LBL_ASSIGNED_TO} </slot>
|
||||
</div>
|
||||
Attach XLS </td>
|
||||
<td class="dataField">
|
||||
<div style="display:none;">
|
||||
<slot>
|
||||
<input class="sqsEnabled" tabindex='1' id="assigned_user_name" name='assigned_user_name' type="text" value="{ASSIGNED_USER_NAME}">
|
||||
<input id='assigned_user_id' name='assigned_user_id' type="hidden" value="{ASSIGNED_USER_ID}" />
|
||||
<input title="{APP.LBL_SELECT_BUTTON_TITLE}" accesskey="{APP.LBL_SELECT_BUTTON_KEY}" type="button" tabindex='1' class="button" value='{APP.LBL_SELECT_BUTTON_LABEL}' name="btn1" onclick='open_popup("Users", 600, 400, "", true, false, {encoded_users_popup_request_data});' />
|
||||
</slot>
|
||||
</div> </td>
|
||||
<td nowrap>
|
||||
<slot> </slot> </td>
|
||||
<td nowrap>
|
||||
<slot> </slot>
|
||||
<span class="dataLabel">
|
||||
<input type="checkbox" name="attach_xls" value="checkbox">
|
||||
</span></td>
|
||||
<td nowrap>
|
||||
<slot> </slot> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="1"> </td>
|
||||
<td colspan="4">
|
||||
{MOD.LBL_NOTE_SEMICOLON} </td>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td class="dataLabel">
|
||||
<slot>
|
||||
{MOD.LBL_TO} </slot> </td>
|
||||
<td colspan="4" class="dataField" nowrap="NOWRAP">
|
||||
<slot>
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<textarea id="to_addrs_field" name='to_addrs' tabindex='3' cols="80" rows="1" style="height: 1.6.em; overflow-y:auto; font-family:sans-serif,monospace; font-size:inherit;" value="{TO_ADDRS}">{TO_ADDRS}</textarea>
|
||||
<input type="hidden" id="to_addrs_ids" name="to_addrs_ids" value="{TO_ADDRS_IDS}" />
|
||||
<input type="hidden" id="to_addrs_emails" name="to_addrs_emails" value="{TO_ADDRS_EMAILS}" />
|
||||
<input type="hidden" id="to_addrs_names" name="to_addrs_names" value="{TO_ADDRS_NAMES}" /> </td>
|
||||
<td style="padding-left: 4px;">
|
||||
{CHANGE_TO_ADDRS_BUTTON} </td>
|
||||
</tr>
|
||||
</table>
|
||||
</slot> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="dataLabel">
|
||||
<slot>
|
||||
{MOD.LBL_CC} </slot> </td>
|
||||
<td class="dataField" colspan="4" nowrap="NOWRAP">
|
||||
<slot>
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<textarea id="cc_addrs_field" name='cc_addrs' tabindex='3' cols="80" rows="1" style="height: 1.6.em; overflow-y:auto; font-family:sans-serif,monospace; font-size:inherit;" value="{CC_ADDRS}">{CC_ADDRS}</textarea>
|
||||
<input type="hidden" id="cc_addrs_ids" name="cc_addrs_ids" value="{CC_ADDRS_IDS}" />
|
||||
<input type="hidden" id="cc_addrs_emails" name="cc_addrs_emails" value="{CC_ADDRS_EMAILS}" />
|
||||
<input type="hidden" id="cc_addrs_names" name="cc_addrs_names" value="{CC_ADDRS_NAMES}" /> </td>
|
||||
<td style="padding-left: 4px;">
|
||||
{CHANGE_CC_ADDRS_BUTTON} </td>
|
||||
</tr>
|
||||
</table>
|
||||
</slot> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td class="dataLabel">
|
||||
<slot>
|
||||
{MOD.LBL_BCC} </slot> </td>
|
||||
<td class="dataField" colspan="4" nowrap="NOWRAP">
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<textarea id="bcc_addrs_field" name='bcc_addrs' tabindex='3' cols="80" rows="1" style="height: 1.6.em; overflow-y:auto; font-family:sans-serif,monospace; font-size:inherit;" value="{BCC_ADDRS}">{BCC_ADDRS}</textarea>
|
||||
<input type="hidden" id="bcc_addrs_ids" name="bcc_addrs_ids" value="{BCC_ADDRS_IDS}" />
|
||||
<input type="hidden" id="bcc_addrs_emails" name="bcc_addrs_emails" value="{BCC_ADDRS_EMAILS}" />
|
||||
<input type="hidden" id="bcc_addrs_names" name="bcc_addrs_names" value="{BCC_ADDRS_NAMES}" /> </td>
|
||||
<td style="padding-left: 4px;">
|
||||
{CHANGE_BCC_ADDRS_BUTTON} </td>
|
||||
</tr>
|
||||
</table> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td class="dataLabel">
|
||||
<slot>
|
||||
{MOD.LBL_FROM} </slot> </td>
|
||||
<td class="dataField" colspan="4" nowrap="NOWRAP">
|
||||
<slot>
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<textarea id="from_addr_field" name='from_addr' tabindex='3' cols="80" rows="1" style="height: 1.6.em; overflow-y:auto; font-family:sans-serif,monospace; font-size:inherit;" value="{FROM_ADDR}">{FROM_ADDR}</textarea> {FROM_ADDR_GROUP}
|
||||
<input type="hidden" id="from_addr_email" name="from_addr_email" />
|
||||
<input type="hidden" id="from_addr_name" name="from_addr_name" /> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</slot> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="dataLabel">
|
||||
<slot>
|
||||
{MOD.LBL_SUBJECT} </slot> </td>
|
||||
<td colspan='4' class="dataField">
|
||||
<slot>
|
||||
<textarea name='name' tabindex='4' cols="100" rows="1" style="height: 1.6.em; overflow-y:auto; font-family:sans-serif,monospace; font-size:inherit;" id="subjectfield">{NAME}</textarea>
|
||||
</slot> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" class="dataLabel">
|
||||
{MOD.LBL_BODY} </td>
|
||||
<!-- BEGIN: htmlarea -->
|
||||
<td colspan="2" class="dataField">
|
||||
<div style="display:none;">
|
||||
<slot>
|
||||
<div id="editor_select">
|
||||
<input id="setEditor" name="setEditor" value="1" {EMAIL_EDITOR_OPTION} type="checkbox" onClick="toggle_textonly();" />
|
||||
{MOD.LBL_EMAIL_EDITOR_OPTION} </div>
|
||||
</slot>
|
||||
</div> </td>
|
||||
<td class="dataLabel" valign="top">
|
||||
<slot>
|
||||
{MOD.LBL_USE_TEMPLATE}
|
||||
<select tabindex='2' name='email_template' onChange="fill_email(this.options[this.selectedIndex].value);">
|
||||
{EMAIL_TEMPLATE_OPTIONS}
|
||||
</select>
|
||||
|
||||
<input type="button" class="button" name="clear" id="clear" value="Clear" onClick="fill_email('');">
|
||||
|
||||
<input type="button" class="button" name="new_template" id="new_template" value="Template Fields" onClick="document.getElementById('template_fields').style.display='';" />
|
||||
</slot> </td>
|
||||
<td class="dataField" nowrap width="1">
|
||||
<slot> </slot> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td colspan="4">
|
||||
<div id="template_fields" style="display:none">
|
||||
<table>
|
||||
<tr>
|
||||
<td valign="top" class="dataLabel">
|
||||
Templatate Fields: </td>
|
||||
<td colspan="5" class="dataField">
|
||||
<slot>
|
||||
{MFP}
|
||||
<input type="button" class="button" name="cancel_template_fields" id="cancel_template_fields" value="Hide" onClick="document.getElementById('template_fields').style.display='none';">
|
||||
</slot> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" class="dataLabel"> </td>
|
||||
<td colspan="4" class="dataField">
|
||||
{TINY}
|
||||
<slot>
|
||||
<div style="display:none;">
|
||||
<div id="html_div">
|
||||
<textarea id="description_html" onBlur="">{DESCRIPTION_HTML}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div style="display:none;">
|
||||
<div id="alt_text_div">
|
||||
<input id="toggle_textarea_elem" onClick="toggle_textarea();" type="checkbox" name="toggle_html">
|
||||
{MOD.LBL_EDIT_ALT_TEXT} </div>
|
||||
</div>
|
||||
<div id="text_div" style="display: none;"> </div>
|
||||
<textarea tabindex='5' id="description" name='description' cols="100" rows="20">{DESCRIPTION}</textarea>
|
||||
</slot> </td>
|
||||
<!-- END: htmlarea -->
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
{JAVASCRIPT}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<!-- END: main -->
|
||||
98
modules/EcmPriceBooks2/ListView1.html
Executable file
98
modules/EcmPriceBooks2/ListView1.html
Executable file
@@ -0,0 +1,98 @@
|
||||
<!--
|
||||
|
||||
/*****************************************************************************
|
||||
* The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
|
||||
* Version 1.1 ("License"); You may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
* http://opensource.org/licenses/rpl.php. Software distributed under the
|
||||
* License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
|
||||
* either express or implied.
|
||||
*
|
||||
* You may:
|
||||
* a) Use and distribute this code exactly as you received without payment or
|
||||
* a royalty or other fee.
|
||||
* b) Create extensions for this code, provided that you make the extensions
|
||||
* publicly available and document your modifications clearly.
|
||||
* c) Charge for a fee for warranty or support or for accepting liability
|
||||
* obligations for your customers.
|
||||
*
|
||||
* You may NOT:
|
||||
* a) Charge for the use of the original code or extensions, including in
|
||||
* electronic distribution models, such as ASP (Application Service
|
||||
* Provider).
|
||||
* b) Charge for the original source code or your extensions other than a
|
||||
* nominal fee to cover distribution costs where such distribution
|
||||
* involves PHYSICAL media.
|
||||
* c) Modify or delete any pre-existing copyright notices, change notices,
|
||||
* or License text in the Licensed Software
|
||||
* d) Assert any patent claims against the Licensor or Contributors, or
|
||||
* which would in any way restrict the ability of any third party to use the
|
||||
* Licensed Software.
|
||||
*
|
||||
* You must:
|
||||
* a) Document any modifications you make to this code including the nature of
|
||||
* the change, the authors of the change, and the date of the change.
|
||||
* b) Make the source code for any extensions you deploy available via an
|
||||
* Electronic Distribution Mechanism such as FTP or HTTP download.
|
||||
* c) Notify the licensor of the availability of source code to your extensions
|
||||
* and include instructions on how to acquire the source code and updates.
|
||||
* d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
|
||||
* reproduce, perform, modify, sublicense, and distribute your extensions.
|
||||
*
|
||||
* The Original Code is: CommuniCore
|
||||
* Olavo Farias
|
||||
* 2006-04-7 olavo.farias@gmail.com
|
||||
*
|
||||
* The Initial Developer of the Original Code is CommuniCore.
|
||||
* Portions created by CommuniCore are Copyright (C) 2005 CommuniCore Ltda
|
||||
* All Rights Reserved.
|
||||
********************************************************************************/
|
||||
-->
|
||||
<!-- BEGIN: main -->
|
||||
<table cellpadding="0" cellspacing="0" width="100%" border="0" class="listView">
|
||||
<!-- BEGIN: list_nav_row -->
|
||||
{PAGINATION}
|
||||
<!-- END: list_nav_row -->
|
||||
|
||||
<tr height="20">
|
||||
<td scope="col" class="listViewThS1" NOWRAP>{CHECKALL}</td>
|
||||
<td scope="col" width="32%" class="listViewThS1" NOWRAP><slot><a href="{ORDER_BY}name" class="listViewThLinkS1">{MOD.LBL_LIST_SUBJECT}{arrow_start}{name_arrow}{arrow_end}</a></slot></td>
|
||||
|
||||
<!-- BEGIN: pro_nav -->
|
||||
<td scope="col" width="9%" class="listViewThS1" NOWRAP><slot><a href="{ORDER_BY}teams.name" class="listViewThLinkS1">{APP.LBL_LIST_TEAM}{arrow_start}{teams_name_arrow}{arrow_end}</a></slot></td>
|
||||
<!-- END: pro_nav -->
|
||||
|
||||
<!-- BEGIN: open_source -->
|
||||
<!-- END: open_source -->
|
||||
<td scope="col" width="9%" class="listViewThS1" NOWRAP><slot><a href="{ORDER_BY}users.user_name" class="listViewThLinkS1">{APP.LBL_LIST_ASSIGNED_USER}{arrow_start}{users_user_name_arrow}{arrow_end}</a></slot></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<!-- BEGIN: row -->
|
||||
<tr height="20"
|
||||
onmouseover="setPointer(this, '{ECMPRICEBOOK.NAME}', 'over', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
|
||||
onmouseout="setPointer(this, '{ECMPRICEBOOK.NAME}', 'out', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
|
||||
onmousedown="setPointer(this, '{ECMPRICEBOOK.NAME}', 'click', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');">
|
||||
|
||||
<td class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" valign='top'>{PREROW}</td>
|
||||
<td scope='row' valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">
|
||||
<slot>
|
||||
|
||||
<{TAG.MAIN} href="{URL_PREFIX}index.php?action=DetailView&module=EcmPriceBooks&record={ECMPRICEBOOK.ID}&offset={ECMPRICEBOOK.OFFSET}&stamp={ECMPRICEBOOK.STAMP}" class="listViewTdLinkS1">{ECMPRICEBOOK.NAME}</{TAG.MAIN}>
|
||||
</slot>
|
||||
</td>
|
||||
<!-- BEGIN: pro -->
|
||||
<td valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap><slot>{ECMPRICEBOOK.TEAM_NAME}</slot></td>
|
||||
<!-- END: pro -->
|
||||
|
||||
<!-- BEGIN: open_source -->
|
||||
<!-- END: open_source -->
|
||||
<td valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap><slot>{ECMPRICEBOOK.ASSIGNED_USER_NAME}</slot></td>
|
||||
|
||||
</tr>
|
||||
<tr><td colspan="20" class="listViewHRS1"></td></tr>
|
||||
<!-- END: row -->
|
||||
{PAGINATION}
|
||||
|
||||
</table>
|
||||
<!-- END: main -->
|
||||
122
modules/EcmPriceBooks2/Popup.html
Executable file
122
modules/EcmPriceBooks2/Popup.html
Executable file
@@ -0,0 +1,122 @@
|
||||
|
||||
<!--
|
||||
/*****************************************************************************
|
||||
* The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
|
||||
* Version 1.1 ("License"); You may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
* http://opensource.org/licenses/rpl.php. Software distributed under the
|
||||
* License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
|
||||
* either express or implied.
|
||||
*
|
||||
* You may:
|
||||
* a) Use and distribute this code exactly as you received without payment or
|
||||
* a royalty or other fee.
|
||||
* b) Create extensions for this code, provided that you make the extensions
|
||||
* publicly available and document your modifications clearly.
|
||||
* c) Charge for a fee for warranty or support or for accepting liability
|
||||
* obligations for your customers.
|
||||
*
|
||||
* You may NOT:
|
||||
* a) Charge for the use of the original code or extensions, including in
|
||||
* electronic distribution models, such as ASP (Application Service
|
||||
* Provider).
|
||||
* b) Charge for the original source code or your extensions other than a
|
||||
* nominal fee to cover distribution costs where such distribution
|
||||
* involves PHYSICAL media.
|
||||
* c) Modify or delete any pre-existing copyright notices, change notices,
|
||||
* or License text in the Licensed Software
|
||||
* d) Assert any patent claims against the Licensor or Contributors, or
|
||||
* which would in any way restrict the ability of any third party to use the
|
||||
* Licensed Software.
|
||||
*
|
||||
* You must:
|
||||
* a) Document any modifications you make to this code including the nature of
|
||||
* the change, the authors of the change, and the date of the change.
|
||||
* b) Make the source code for any extensions you deploy available via an
|
||||
* Electronic Distribution Mechanism such as FTP or HTTP download.
|
||||
* c) Notify the licensor of the availability of source code to your extensions
|
||||
* and include instructions on how to acquire the source code and updates.
|
||||
* d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
|
||||
* reproduce, perform, modify, sublicense, and distribute your extensions.
|
||||
*
|
||||
* The Original Code is: CommuniCore
|
||||
* Olavo Farias
|
||||
* 2006-04-7 olavo.farias@gmail.com
|
||||
*
|
||||
* The Initial Developer of the Original Code is CommuniCore.
|
||||
* Portions created by CommuniCore are Copyright (C) 2005 CommuniCore Ltda
|
||||
* All Rights Reserved.
|
||||
********************************************************************************/
|
||||
-->
|
||||
<!-- BEGIN: main -->
|
||||
<!-- BEGIN: SearchHeader -->
|
||||
{SET_RETURN_JS}
|
||||
<script type="text/javascript">
|
||||
function toggleDisplay(id){
|
||||
if(this.document.getElementById( id).style.display=='none'){
|
||||
this.document.getElementById( id).style.display='inline'
|
||||
if(this.document.getElementById(id+"link") != undefined){
|
||||
this.document.getElementById(id+"link").style.display='none';
|
||||
}
|
||||
}else{
|
||||
this.document.getElementById( id).style.display='none'
|
||||
if(this.document.getElementById(id+"link") != undefined){
|
||||
this.document.getElementById(id+"link").style.display='inline';
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="tabForm">
|
||||
<tr>
|
||||
<td>
|
||||
<div id='divsearchform' style='display:inline'>
|
||||
<form>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="dataLabel" nowrap="nowrap" width="40%">{MOD.LBL_NAME} <input type="text" size="20" name="name" class="dataField" value="{NAME}" /></td>
|
||||
<td width="10%" align="right">
|
||||
<input type="hidden" name="action" value="Popup" />
|
||||
<input type="hidden" name="query" value="true"/>
|
||||
<input type="hidden" name="module" value="{MODULE_NAME}" />
|
||||
<input type="hidden" name="parent_id" value="{parent_id}" />
|
||||
<input type="hidden" name="parent_name" value="{parent_name}" />
|
||||
<input type="submit" name="button" class="button"
|
||||
title="{APP.LBL_SEARCH_BUTTON_TITLE}"
|
||||
accesskey="{APP.LBL_SEARCH_BUTTON_KEY}"
|
||||
value="{APP.LBL_SEARCH_BUTTON_LABEL}" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END: SearchHeader -->
|
||||
|
||||
<!-- BEGIN: SearchHeaderEnd -->
|
||||
<!-- END: SearchHeaderEnd -->
|
||||
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="listView">
|
||||
<!-- BEGIN: list_nav_row -->
|
||||
{PAGINATION}
|
||||
<!-- END: list_nav_row -->
|
||||
<tr height="20">
|
||||
<td scope="col" width="65%" class="listViewThS1"><a href="{ORDER_BY}name" class="listViewThLinkS1">{MOD.LBL_LIST_NAME}{arrow_start}{name_arrow}{arrow_end}</a></td>
|
||||
<td scope="col" width="35%" class="listViewThS1"><a href="{ORDER_BY}assigned_user_name" class="listViewThLinkS1">{MOD.LBL_LIST_ASSIGNED_USER_ID}{arrow_start}{assigned_user_name_arrow}{arrow_end}</a></td>
|
||||
</tr>
|
||||
|
||||
<!-- BEGIN: row -->
|
||||
<tr height="20"
|
||||
onmouseover="setPointer(this, '{ecmpricebooks.ID}', 'over', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
|
||||
onmouseout ="setPointer(this, '{ecmpricebooks.ID}', 'out', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
|
||||
onmousedown="setPointer(this, '{ecmpricebooks.ID}', 'click', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');">
|
||||
<td scope='row' class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}"><a href="#" onclick="set_return('{.ID}', '{ecmpricebooks.NAME}'); window.close();" class="listViewTdLinkS1">{ecmpricebooks.NAME}</a></td>
|
||||
<td class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">{ecmpricebooks.ASSIGNED_USER_NAME}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="20" class="listViewHRS1"></td>
|
||||
</tr>
|
||||
<!-- END: row -->
|
||||
</table>
|
||||
<!-- END: main -->
|
||||
165
modules/EcmPriceBooks2/Popup_picker.html
Executable file
165
modules/EcmPriceBooks2/Popup_picker.html
Executable file
@@ -0,0 +1,165 @@
|
||||
<!--
|
||||
/*****************************************************************************
|
||||
* The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
|
||||
* Version 1.1 ("License"); You may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
* http://opensource.org/licenses/rpl.php. Software distributed under the
|
||||
* License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
|
||||
* either express or implied.
|
||||
*
|
||||
* You may:
|
||||
* a) Use and distribute this code exactly as you received without payment or
|
||||
* a royalty or other fee.
|
||||
* b) Create extensions for this code, provided that you make the extensions
|
||||
* publicly available and document your modifications clearly.
|
||||
* c) Charge for a fee for warranty or support or for accepting liability
|
||||
* obligations for your customers.
|
||||
*
|
||||
* You may NOT:
|
||||
* a) Charge for the use of the original code or extensions, including in
|
||||
* electronic distribution models, such as ASP (Application Service
|
||||
* Provider).
|
||||
* b) Charge for the original source code or your extensions other than a
|
||||
* nominal fee to cover distribution costs where such distribution
|
||||
* involves PHYSICAL media.
|
||||
* c) Modify or delete any pre-existing copyright notices, change notices,
|
||||
* or License text in the Licensed Software
|
||||
* d) Assert any patent claims against the Licensor or Contributors, or
|
||||
* which would in any way restrict the ability of any third party to use the
|
||||
* Licensed Software.
|
||||
*
|
||||
* You must:
|
||||
* a) Document any modifications you make to this code including the nature of
|
||||
* the change, the authors of the change, and the date of the change.
|
||||
* b) Make the source code for any extensions you deploy available via an
|
||||
* Electronic Distribution Mechanism such as FTP or HTTP download.
|
||||
* c) Notify the licensor of the availability of source code to your extensions
|
||||
* and include instructions on how to acquire the source code and updates.
|
||||
* d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
|
||||
* reproduce, perform, modify, sublicense, and distribute your extensions.
|
||||
*
|
||||
* The Original Code is: CommuniCore
|
||||
* Olavo Farias
|
||||
* 2006-04-7 olavo.farias@gmail.com
|
||||
*
|
||||
* The Initial Developer of the Original Code is CommuniCore.
|
||||
* Portions created by CommuniCore are Copyright (C) 2005 CommuniCore Ltda
|
||||
* All Rights Reserved.
|
||||
********************************************************************************/
|
||||
-->
|
||||
|
||||
<!-- BEGIN: main -->
|
||||
<!-- BEGIN: SearchHeader -->
|
||||
|
||||
<script type="text/javascript" src="include/JSON.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
|
||||
<script type="text/javascript" src="include/javascript/popup_helper.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
|
||||
|
||||
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="tabForm">
|
||||
<tr>
|
||||
<td>
|
||||
<form action="index.php" method="post" name="popup_query_form" id="the_form">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="1%" nowrap="nowrap" class="dataLabel">{MOD.LBL_NAME}
|
||||
<input type="text" name="name" size="20" class="dataField" value="{NAME}" /></td>
|
||||
|
||||
<td width="20%" align="right">
|
||||
<input type="hidden" name="module" value="{MODULE_NAME}" />
|
||||
<input type="hidden" name="action" value="Popup" />
|
||||
<input type="hidden" name="query" value="true" />
|
||||
<input type="hidden" name="request_data" value="{request_data}" />
|
||||
<input type="hidden" name="record_id" value="" />
|
||||
<input type="hidden" name="pricebook_product_id" value="{PRICEBOOK_PRODUCT_ID}" />
|
||||
<input type="hidden" name="exchange_rate_id" value="{EXCHANGE_RATE_ID}" />
|
||||
<input type="submit" name="button" class="button"
|
||||
title="{APP.LBL_SEARCH_BUTTON_TITLE}"
|
||||
accessKey="{APP.LBL_SEARCH_BUTTON_KEY}"
|
||||
value="{APP.LBL_SEARCH_BUTTON_LABEL}" />
|
||||
<input type="hidden" name="mode" value="{MULTI_SELECT}" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
/* initialize the popup request from the parent */
|
||||
|
||||
if(window.document.forms['popup_query_form'].request_data.value == "")
|
||||
{
|
||||
window.document.forms['popup_query_form'].request_data.value
|
||||
= JSON.stringify(window.opener.get_popup_request_data());
|
||||
}
|
||||
function send_back1(module,id)
|
||||
{var associated_row_data=associated_javascript_data[id];eval("var temp_request_data = "+window.document.forms['popup_query_form'].request_data.value);if(temp_request_data.jsonObject){var request_data=temp_request_data.jsonObject;}else{var request_data=temp_request_data;}
|
||||
var passthru_data=Object();if(typeof(request_data.passthru_data)!='undefined')
|
||||
{passthru_data=request_data.passthru_data;}
|
||||
var form_name=request_data.form_name;var field_to_name_array=request_data.field_to_name_array;var call_back_function=eval("window.opener."+request_data.call_back_function);var array_contents=Array();for(var the_key in field_to_name_array)
|
||||
{if(the_key!='toJSON')
|
||||
{var the_name=field_to_name_array[the_key];var the_value='';if(module!=''&&id!='')
|
||||
{the_value=associated_row_data[the_key.toUpperCase()];}
|
||||
if(typeof(the_value)=='string'){the_value=the_value.replace(/\r\n/g,'\\n');}
|
||||
array_contents.push('"'+the_name+'":"'+the_value+'"');}}
|
||||
eval("var name_to_value_array = {"+array_contents.join(",")+"}");var result_data={"form_name":form_name,"name_to_value_array":name_to_value_array,"passthru_data":passthru_data};var close_popup=window.opener.get_close_popup();call_back_function(result_data);
|
||||
for(var i=0; i<parent.opener.N.rowCount(); i++)
|
||||
{
|
||||
parent.opener.N.row(i).calculateTotal();
|
||||
|
||||
};if(close_popup){window.close();}}
|
||||
-->
|
||||
</script>
|
||||
|
||||
<!-- END: SearchHeader -->
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="listView">
|
||||
<!-- BEGIN: list_nav_row -->
|
||||
{PAGINATION}
|
||||
<!-- END: list_nav_row -->
|
||||
<tr height="20" class="listViewThS1">
|
||||
<td scope="col" width="30%" class="listViewThS1" NOWRAP>
|
||||
<slot>
|
||||
<a href="{ORDER_BY}name" class="listViewThLinkS1">{MOD.LBL_NAME}{arrow_start}{name_arrow}{arrow_end}</a>
|
||||
</slot>
|
||||
</td>
|
||||
<td scope="col" width="13%" class="listViewThS1" NOWRAP>Index</td>
|
||||
<td scope="col" width="13%" class="listViewThS1" NOWRAP>
|
||||
<slot>
|
||||
<a href="{ORDER_BY}exchange_rate_id" class="listViewThLinkS1">{MOD.LBL_EXCHANGE_RATE_ID}{arrow_start}{exchange_rate_id_arrow}{arrow_end}</a>
|
||||
</slot>
|
||||
</td>
|
||||
<td scope="col" width="30%" class="listViewThS1" NOWRAP>
|
||||
<slot>
|
||||
<a href="{ORDER_BY}account_name" class="listViewThLinkS1">{MOD.LBL_ACCOUNT_NAME}{arrow_start}{account_name_arrow}{arrow_end}</a>
|
||||
</slot>
|
||||
</td>
|
||||
<td scope="col" width="13%" class="listViewThS1" NOWRAP>List Price</td>
|
||||
</tr>
|
||||
<!-- BEGIN: row -->
|
||||
<tr height="20"
|
||||
onmouseover="setPointer(this, '{ECMPRICEBOOK.ID}', 'over', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
|
||||
onmouseout="setPointer(this, '{ECMPRICEBOOK.ID}', 'out', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
|
||||
onmousedown="setPointer(this, '{ECMPRICEBOOK.ID}', 'click', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');">
|
||||
|
||||
<td scope="row" valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">
|
||||
<slot>
|
||||
<{TAG.MAIN} href="#"
|
||||
onclick="send_back1('EcmPriceBook','{ECMPRICEBOOK.ID}');"
|
||||
class="listViewTdLinkS1">{ECMPRICEBOOK.NAME}</{TAG.MAIN}>
|
||||
</slot>
|
||||
</td>
|
||||
<td scope="row" valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">{ECMPRICEBOOK.INDEX}</td>
|
||||
<td scope="row" valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">{ECMPRICEBOOK.EXCHANGE_RATE_NAME}</td>
|
||||
<td scope="row" valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">{ECMPRICEBOOK.ACCOUNT_NAME}</td>
|
||||
<td scope="row" valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">{ECMPRICEBOOK.PRICE}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="24" class="listViewHRS1"></td>
|
||||
</tr>
|
||||
<!-- END: row -->
|
||||
</table>
|
||||
{ASSOCIATED_JAVASCRIPT_DATA}
|
||||
<!-- END: main -->
|
||||
102
modules/EcmPriceBooks2/SearchForm1.html
Executable file
102
modules/EcmPriceBooks2/SearchForm1.html
Executable file
@@ -0,0 +1,102 @@
|
||||
<!--
|
||||
/*****************************************************************************
|
||||
* The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
|
||||
* Version 1.1 ("License"); You may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
* http://opensource.org/licenses/rpl.php. Software distributed under the
|
||||
* License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
|
||||
* either express or implied.
|
||||
*
|
||||
* You may:
|
||||
* a) Use and distribute this code exactly as you received without payment or
|
||||
* a royalty or other fee.
|
||||
* b) Create extensions for this code, provided that you make the extensions
|
||||
* publicly available and document your modifications clearly.
|
||||
* c) Charge for a fee for warranty or support or for accepting liability
|
||||
* obligations for your customers.
|
||||
*
|
||||
* You may NOT:
|
||||
* a) Charge for the use of the original code or extensions, including in
|
||||
* electronic distribution models, such as ASP (Application Service
|
||||
* Provider).
|
||||
* b) Charge for the original source code or your extensions other than a
|
||||
* nominal fee to cover distribution costs where such distribution
|
||||
* involves PHYSICAL media.
|
||||
* c) Modify or delete any pre-existing copyright notices, change notices,
|
||||
* or License text in the Licensed Software
|
||||
* d) Assert any patent claims against the Licensor or Contributors, or
|
||||
* which would in any way restrict the ability of any third party to use the
|
||||
* Licensed Software.
|
||||
*
|
||||
* You must:
|
||||
* a) Document any modifications you make to this code including the nature of
|
||||
* the change, the authors of the change, and the date of the change.
|
||||
* b) Make the source code for any extensions you deploy available via an
|
||||
* Electronic Distribution Mechanism such as FTP or HTTP download.
|
||||
* c) Notify the licensor of the availability of source code to your extensions
|
||||
* and include instructions on how to acquire the source code and updates.
|
||||
* d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
|
||||
* reproduce, perform, modify, sublicense, and distribute your extensions.
|
||||
*
|
||||
* The Original Code is: CommuniCore
|
||||
* Olavo Farias
|
||||
* 2006-04-7 olavo.farias@gmail.com
|
||||
*
|
||||
* The Initial Developer of the Original Code is CommuniCore.
|
||||
* Portions created by CommuniCore are Copyright (C) 2005 CommuniCore Ltda
|
||||
* All Rights Reserved.
|
||||
********************************************************************************/
|
||||
-->
|
||||
<!-- BEGIN: main -->
|
||||
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="border-top: 0px none; margin-bottom: 4px" class="tabForm">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="25%" noWrap class="dataLabel">
|
||||
<span sugar='slot1'>{MOD.LBL_NAME}</span sugar='slot'> </td>
|
||||
<td width="25%" valign="top" class="dataField">
|
||||
<span sugar='slot1b'>
|
||||
<input type=text size="30" name="name_basic" class=dataField value="{NAME}" />
|
||||
</span sugar='slot'> </td>
|
||||
<td width="25%" class="dataLabel">{APP.LBL_CURRENT_USER_FILTER} </td>
|
||||
<td width="25%" class="dataLabel"><input name='current_user_only_basic' onchange='this.form.submit();' class="checkbox" type="checkbox" {CURRENT_USER_ONLY}></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
<td width="15%" class="dataLabel" valign="top"><span sugar='slot3'>{MOD.LBL_DESCRIPTION}</span sugar='slot'></td>
|
||||
<td width="25%" class="dataField">
|
||||
<span sugar='slot3b'>
|
||||
<input name="description_basic" type="text" tabindex="3" title="Description" value="{DESCRIPTION}" size="30" />
|
||||
</span sugar='slot'> </td>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END: main -->
|
||||
|
||||
<!-- BEGIN: advanced -->
|
||||
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-top: 0px none; margin-bottom: 4px" class="tabForm">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="3">
|
||||
<tr>
|
||||
<td width="25%" valign="top" class="dataLabel"><span sugar='slot1'>{MOD.LBL_NAME}</span sugar='slot'></td>
|
||||
<td width="25%" valign="top" class="dataField"><span sugar='slot1b'><input name='name' type="text" tabindex='1' size='30' maxlength='50' value="{NAME}"></span sugar='slot'></td>
|
||||
<td width="25%" valign="top" class="dataLabel"><span sugar='slot2'>{APP.LBL_ASSIGNED_TO}</span sugar='slot'></td>
|
||||
<td width="25%" valign="top" class="dataField"><span sugar='slot2b'><select tabindex='1' style="width: 150px" size='3' name='assigned_user_id[]' multiple="multiple">{USER_FILTER}</select></span sugar='slot'></td>
|
||||
<tr>
|
||||
|
||||
<td width="25%" class="dataLabel" valign="top"><span sugar='slot1'>{MOD.LBL_DESCRIPTION}</span sugar='slot'></td>
|
||||
<td width="25%" class="dataField">
|
||||
<span sugar='slot1b'>
|
||||
<input name="description" type="text" tabindex="1" title="Description" value="{DESCRIPTION}" size="30" />
|
||||
</span sugar='slot'> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END: advanced -->
|
||||
89
modules/EcmPriceBooks2/SubPanelView.html
Executable file
89
modules/EcmPriceBooks2/SubPanelView.html
Executable file
@@ -0,0 +1,89 @@
|
||||
<!--
|
||||
/*****************************************************************************
|
||||
* The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
|
||||
* Version 1.1 ("License"); You may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
* http://opensource.org/licenses/rpl.php. Software distributed under the
|
||||
* License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
|
||||
* either express or implied.
|
||||
*
|
||||
* You may:
|
||||
* a) Use and distribute this code exactly as you received without payment or
|
||||
* a royalty or other fee.
|
||||
* b) Create extensions for this code, provided that you make the extensions
|
||||
* publicly available and document your modifications clearly.
|
||||
* c) Charge for a fee for warranty or support or for accepting liability
|
||||
* obligations for your customers.
|
||||
*
|
||||
* You may NOT:
|
||||
* a) Charge for the use of the original code or extensions, including in
|
||||
* electronic distribution models, such as ASP (Application Service
|
||||
* Provider).
|
||||
* b) Charge for the original source code or your extensions other than a
|
||||
* nominal fee to cover distribution costs where such distribution
|
||||
* involves PHYSICAL media.
|
||||
* c) Modify or delete any pre-existing copyright notices, change notices,
|
||||
* or License text in the Licensed Software
|
||||
* d) Assert any patent claims against the Licensor or Contributors, or
|
||||
* which would in any way restrict the ability of any third party to use the
|
||||
* Licensed Software.
|
||||
*
|
||||
* You must:
|
||||
* a) Document any modifications you make to this code including the nature of
|
||||
* the change, the authors of the change, and the date of the change.
|
||||
* b) Make the source code for any extensions you deploy available via an
|
||||
* Electronic Distribution Mechanism such as FTP or HTTP download.
|
||||
* c) Notify the licensor of the availability of source code to your extensions
|
||||
* and include instructions on how to acquire the source code and updates.
|
||||
* d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
|
||||
* reproduce, perform, modify, sublicense, and distribute your extensions.
|
||||
*
|
||||
* The Original Code is: CommuniCore
|
||||
* Olavo Farias
|
||||
* 2006-04-7 olavo.farias@gmail.com
|
||||
*
|
||||
* The Initial Developer of the Original Code is CommuniCore.
|
||||
* Portions created by CommuniCore are Copyright (C) 2005 CommuniCore Ltda
|
||||
* All Rights Reserved.
|
||||
********************************************************************************/
|
||||
-->
|
||||
<!-- BEGIN: main -->
|
||||
<table cellpadding="0" cellspacing="0" width="100%" border="0" class="listView">
|
||||
<tr height="20" >
|
||||
<td scope="col" width="5%" class="listViewThS1"><slot>{MOD.LBL_LIST_NUMBER}</slot></td>
|
||||
<td scope="col" width="50%" class="listViewThS1"><slot>{MOD.LBL_LIST_SUBJECT}</slot></td>
|
||||
<td scope="col" width="15%" class="listViewThS1"><slot>{MOD.LBL_LIST_STATUS}</slot></td>
|
||||
<td scope="col" width="5%" class="listViewThS1"><slot> </slot></td>
|
||||
<td scope="col" width="50%" class="listViewThS1"><slot>{MOD.LBL_LIST_NAME}</slot></td>
|
||||
</tr>
|
||||
|
||||
<!-- BEGIN: row -->
|
||||
<tr height="20" onmouseover="setPointer(this, '{ECMPRICEBOOKS.ID}', 'over', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
|
||||
onmouseout="setPointer(this, '{ECMPRICEBOOKS.ID}', 'out', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
|
||||
onmousedown="setPointer(this, '{ECMPRICEBOOKS.ID}', 'click', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');">
|
||||
<td scope='row' valign=TOP bgcolor="{BG_COLOR}" class="{ROW_COLOR}S1" ><slot>{ECMPRICEBOOKS.NUMBER}</slot></td>
|
||||
<td valign=TOP bgcolor="{BG_COLOR}" class="{ROW_COLOR}S1" ><slot>
|
||||
<a href="{URL_PREFIX}index.php?action=DetailView&module=EcmPriceBooks&record={ECMPRICEBOOKS.ID}" class="listViewTdLinkS1">{ECMPRICEBOOKS.NAME}</a></slot>
|
||||
</td>
|
||||
<td valign=TOP bgcolor="{BG_COLOR}" class="{ROW_COLOR}S1" ><slot>{ECMPRICEBOOKS.STATUS}</slot></td>
|
||||
<td nowrap align="center" valign=TOP bgcolor="{BG_COLOR}" class="{ROW_COLOR}S1" >
|
||||
<slot>
|
||||
<a class="listViewTdToolsS1" href="{URL_PREFIX}index.php?action=EditView&module=EcmPriceBooks&record={ECMPRICEBOOKS.ID}{RETURN_URL}">{EDIT_INLINE_PNG}</a>
|
||||
<a class="listViewTdToolsS1" href="{URL_PREFIX}index.php?action=EditView&module=EcmPriceBooks&record={ECMPRICEBOOKS.ID}{RETURN_URL}">{APP.LNK_EDIT}</a>
|
||||
</slot>
|
||||
</td>
|
||||
<td scope='row' valign=TOP bgcolor="{BG_COLOR}" class="{ROW_COLOR}S1" ><slot>{ECMPRICEBOOKS.NAME}</slot></td>
|
||||
<td valign=TOP bgcolor="{BG_COLOR}" class="{ROW_COLOR}S1" >
|
||||
<slot>
|
||||
<a href="{URL_PREFIX}index.php?action=DetailView&module=EcmPriceBooks&record={ECMPRICEBOOKS.ID}" class="listViewTdLinkS1">{ECMPRICEBOOKS.NAME}</a>
|
||||
</slot>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="20" class="listViewHRS1"></td>
|
||||
</tr>
|
||||
<!-- END: row -->
|
||||
|
||||
</table>
|
||||
<!-- END: main -->
|
||||
Reference in New Issue
Block a user