Add html files
This commit is contained in:
136
modules/EcmProductStockIndexs/DetailView.html
Executable file
136
modules/EcmProductStockIndexs/DetailView.html
Executable file
@@ -0,0 +1,136 @@
|
||||
<!--
|
||||
/*****************************************************************************
|
||||
* 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 width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<form action="index.php" method="post" name="DetailView" id="form">
|
||||
<input type="hidden" name="module" value="EcmProductStockIndexs">
|
||||
<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 title="{APP.LBL_EDIT_BUTTON_TITLE}"
|
||||
accessKey="{APP.LBL_EDIT_BUTTON_KEY}"
|
||||
class="button"
|
||||
onclick="this.form.return_module.value='EcmProductStockIndexs'; 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} ">
|
||||
<input title="{APP.LBL_DUPLICATE_BUTTON_TITLE}"
|
||||
accessKey="{APP.LBL_DUPLICATE_BUTTON_KEY}"
|
||||
class="button"
|
||||
onclick="this.form.return_module.value='EcmProductStockIndexs'; 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} ">
|
||||
<input title="{APP.LBL_DELETE_BUTTON_TITLE}"
|
||||
accessKey="{APP.LBL_DELETE_BUTTON_KEY}"
|
||||
class="button"
|
||||
onclick="this.form.return_module.value='EcmProductStockIndexs'; 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} ">
|
||||
{FIND_DUPES_MERGE_BUTTON}
|
||||
</td>
|
||||
<td align='right'>{ADMIN_EDIT}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<script>function showBlock(id)
|
||||
{
|
||||
var tabs=new Array();
|
||||
tabs[0]="details";
|
||||
tabs[1]="products";
|
||||
for(var i=0;i<=1;i++)
|
||||
{
|
||||
document.getElementById(tabs[i]+'_menu').className="";
|
||||
document.getElementById(tabs[i]+'_link').className="";
|
||||
document.getElementById(tabs[i]+'_block').style.display="none";
|
||||
}
|
||||
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="products_menu"><a id="products_link" class="current" href="javascript:showBlock('products');">{MOD.LBL_ITEMS}</a></li>
|
||||
<li class="" id="details_menu"><a id="details_link" class="" href="javascript:showBlock('details');">{MOD.LBL_DETAILS}</a></li>
|
||||
</ul>
|
||||
<br />-->
|
||||
<p>
|
||||
<div id="details_block" style="display:block;">
|
||||
<table width="100%" border="0" style="border-top:0px" cellspacing="0" cellpadding="0" class="tabDetailView">
|
||||
<tr>
|
||||
<td width="1%" 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="1%" class="tabDetailViewDL"><span sugar='slot2'>{MOD.LBL_MODULE_LIST}</span sugar='slot'></td>
|
||||
<td width="35%" class="tabDetailViewDF"><span sugar='slot2b'>{TYPE} </span sugar='slot'></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
<!--
|
||||
<div id="products_block"></div>
|
||||
<script>mintajaxget('index.php?to_pdf=1&module=EcmProductStockIndexs&action=ListViewProductsAjax&stock_id={ID}&order_by=ecmproducts.name&sorder=asc','products_block');</script>
|
||||
<!-- END: main -->
|
||||
<!-- BEGIN: subpanel -->
|
||||
<span sugar='slot23'>{SUBPANEL}</span sugar='slot'>
|
||||
<!-- END: subpanel -->
|
||||
Reference in New Issue
Block a user