Add html files
This commit is contained in:
153
modules/EcmCashs/DetailView.html
Executable file
153
modules/EcmCashs/DetailView.html
Executable file
@@ -0,0 +1,153 @@
|
||||
<!--
|
||||
/*****************************************************************************
|
||||
* 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="EcmCashs">
|
||||
<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='EcmCashs'; 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 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="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_CURRENCY}</span sugar='slot'></td>
|
||||
<td valign="top" class="tabDetailViewDF"><span sugar='slot3b'>{CURRENCY} </span sugar='slot'></td>
|
||||
<td valign="top" class="tabDetailViewDL"><span sugar='slot3'>{MOD.LBL_NO}</span sugar='slot'></td>
|
||||
<td valign="top" class="tabDetailViewDF"><span sugar='slot3b'>{NO} </span sugar='slot'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" class="tabDetailViewDL"><span sugar='slot3'>{MOD.LBL_DESCRIPTION}</span sugar='slot'></td>
|
||||
<td valign="top" class="tabDetailViewDF"><span sugar='slot3b'>{DESCRIPTION} </span sugar='slot'></td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
<div style="display:none;"><h2>{MOD.LBL_ADD_CASHER}</h2>
|
||||
<form name="Userrel" id="Userrel" action="index.php">
|
||||
<input type="hidden" name="action" value="user_rel" />
|
||||
<input type="hidden" name="module" value="EcmCashs" />
|
||||
<table>
|
||||
<tr>
|
||||
<td valign="top" class="tabDetailViewDL"><span sugar='slot3'></span sugar='slot'>{MOD.LBL_SELECT}: </td>
|
||||
<td valign="top" class="tabDetailViewDF"><span sugar="slot2b">
|
||||
<input class="sqsEnabled" tabindex="2" autocomplete="off" id="name_user" name="name_user" type="text" value="">
|
||||
<input id="id_user" name="id_user" type="hidden" value="">
|
||||
<input title="{MOD.LBL_SELECT}" accesskey="T" type="button" class="button" value="{MOD.LBL_SELECT}" name="btn1" onclick='open_popup("Users", 600, 400, "", true, false, {"call_back_function":"set_return","form_name":"Userrel","field_to_name_array":{"id":"id_user","user_name":"name_user"}}, "single", true);'></span><input id="id_cash" name="id_cash" type="hidden" value="{ID}"></td>
|
||||
|
||||
</tr>
|
||||
<td valign="top" class="tabDetailViewDL"><span sugar='slot3'></span sugar='slot'>{MOD.LBL_MAIN}</td><td valign="top" class="tabDetailViewDL"><span sugar='slot3'><input type="checkbox" name="selected" value="1" /></span></td>
|
||||
</table>
|
||||
<input type="submit" name="submit" value="Dodaj">
|
||||
</form></div>
|
||||
|
||||
</div>
|
||||
|
||||
<!--
|
||||
<div id="products_block"></div>
|
||||
<script>mintajaxget('index.php?to_pdf=1&module=EcmCashs&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