Add html files

This commit is contained in:
2025-05-12 15:45:02 +00:00
parent 82d5804ac4
commit 7ddd15c4fa
1224 changed files with 277606 additions and 0 deletions

View File

@@ -0,0 +1 @@
Nazwa towaru: Katana UnHead Free<br>Kod towaru: rf023865<br><img src="http://work.saascrm.pl/crm/qrfile/005_file_004150129a99db6b6f75d523360a5cbf.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: Maczeta Pro series<br>Kod towaru: rf023434<br><img src="http://work.saascrm.pl/crm/qrfile/005_file_014786f74856a8a911afe8235643903f.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: Katana UnHead Free<br>Kod towaru: rf023865<br><img src="http://work.saascrm.pl/crm/qrfile/005_file_0276dbf437519115c32a356822ded1b5.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: Głośniki Bluetooth BT013<br>Kod towaru: RE02139<br><img src="https://95.50.148.50/e5new/qrfile/005_file_0b36935b9383c2d91a8bdb3133af1b9c.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: koszty dojazdu<br>Kod towaru: US005<br><img src="http://77.253.200.27:8080/crm/qrfile/005_file_0b8ac2a1a1054e2f7eb6b75b8df189a6.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: test produkt<br>Kod towaru: asaa<br><img src="http://77.253.200.27/crm/qrfile/005_file_1185005bd13306f243e3235ef8dc02b8.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: WENTYLATOR VT4.0/350 LN<br>Kod towaru: VT4.0/350<br><img src="http://crm.saascrm.pl/crm/qrfile/005_file_14a60dc5abca1d38b34419fb2c3c6f50.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: Dysk sieciowy Pn c1700968<br>Kod towaru: HD-C17<br><img src="http://77.253.200.27:8080/crm/qrfile/005_file_15ac447d0a2f5e3a24fff661e323a62d.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: czołg abrams<br>Kod towaru: rf002443<br><img src="http://work.saascrm.pl/crm/qrfile/005_file_15c40124cc909b1776d3b2adfaf967e4.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: WYKONANIE SERWISU INTERNETOWEGO - SKLEP<br>Kod towaru: US001<br><img src="http://localhost/crm/qrfile/005_file_27486ee3324f4ba9ead188d7a2d49cbf.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: Serwer Dell PowerEdge T420<br>Kod towaru: T420<br><img src="http://77.253.200.27:8080/crm/qrfile/005_file_3215e38ac53ea5933f3bf8441138ad14.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: Komputer Dell i3/HD500/Ram 4GB/Win 7 home<br>Kod towaru: D-i3<br><img src="http://77.253.200.27:8080/crm/qrfile/005_file_3418a1c6ff354509604bde1d88ed8dab.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: yyy<br>Kod towaru: rf02132<br><img src="http://work.saascrm.pl/crm/qrfile/005_file_3accef563f60f87a80f8725830788e3f.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: Mysz komputerowa z kablem<br>Kod towaru: RE013,2<br><img src="http://work.saascrm.pl/crm/qrfile/005_file_4210940949a1214cb9196b1b9a4fdb5b.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: Spinacz do włosów<br>Kod towaru: rf034543<br><img src="http://work.saascrm.pl/crm/qrfile/005_file_480c3a7406d4365e4a3d673f39993d12.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: Żwirek dla kota<br>Kod towaru: rf034541<br><img src="http://work.saascrm.pl/crm/qrfile/005_file_53aabf43b2bc5d87f14f8b21054d3dc6.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: Maczeta Pro series<br>Kod towaru: rf023434<br><img src="http://work.saascrm.pl/crm/qrfile/005_file_58630b2fff15e79763ab0af54948314c.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: nóż<br>Kod towaru: rf034365<br><img src="http://work.saascrm.pl/crm/qrfile/005_file_5921edc585c0d610da2d56fe7a0e57b3.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: MŁYN DO TWORZYW CENTRICUT<br>Kod towaru: CENTRICUT<br><img src="http://crm.saascrm.pl/crm/qrfile/005_file_5eecdd3471bf30d4e2a7112df677faad.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: ODPAD PVC GHE MIX ZLEPY G<br>Kod towaru: PVCODPGHEG<br><img src="http://crm.saascrm.pl/crm/qrfile/005_file_61adecd67a16fc711a9321683ebca0a9.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: nóż<br>Kod towaru: rf034365<br><img src="http://work.saascrm.pl/crm/qrfile/005_file_67539ffbbb37d50bf7e81def95e645e0.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: Słuchawki komputerowe z mikrofonem AXIOM<br>Kod towaru: RE01742<br><img src="https://95.50.148.50/e5new/qrfile/005_file_75b5f0b97e3e96182a244b7eceae10f1.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: Usługa<br>Kod towaru: US006<br><img src="http://77.253.200.27:8080/crm/qrfile/005_file_7a812dbee2746b0461ccff2d8708020c.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: Kotlet schabowy<br>Kod towaru: rf14534<br><img src="http://work.saascrm.pl/crm/qrfile/005_file_7dd78c146c4ace0a3e9ea0ff75816a21.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: Modyfikacja programu EMS<br>Kod towaru: US004<br><img src="http://77.253.200.27:8080/crm/qrfile/005_file_87c68b9566953cb359ce068a30f2b695.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: PVC PVB<br>Kod towaru: PVC PVB<br><img src="http://crm.saascrm.pl/crm/qrfile/005_file_94fff8f4238439bb07d4eba61626926a.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: Gitara elektryczna<br>Kod towaru: gitarra<br><img src="http://www.work.saascrm.pl/crm/qrfile/005_file_981f7c73aa0d4ef9877fac1abbc00162.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: tasak 1337<br>Kod towaru: rf034545<br><img src="http://work.saascrm.pl/crm/qrfile/005_file_9f6501929a3e609dfb2971e0a51effb8.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: widelec<br>Kod towaru: rf0123434<br><img src="http://work.saascrm.pl/crm/qrfile/005_file_a387b2c194f3ceeac7c048a17cab76ef.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: Instalacja<br>Kod towaru: US002<br><img src="http://77.253.200.27:8080/crm/qrfile/005_file_a936ac383a83a6bc8d54b0ee9febf4ce.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: stest22123<br>Kod towaru: a2222<br><img src="http://77.253.200.27:8080/crm/qrfile/005_file_a973f5579e30d97bf1669f8b7eada641.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: PVC PVB/114 300 MIX R<br>Kod towaru: PVC PVB/114 300 MIXR<br><img src="http://crm.saascrm.pl/crm/qrfile/005_file_b65ff7961b02b9f93c42073727034977.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: Obsługa informatyczna<br>Kod towaru: US003<br><img src="http://77.253.200.27:8080/crm/qrfile/005_file_c2f5cc131ba4d78b43d6ff9343882010.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: test<br>Kod towaru: testin<br><img src="http://77.253.200.27:8080/crm/qrfile/005_file_c9c8343c390e5419d3e27706fe199beb.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: PALETA DREWNIANA<br>Kod towaru: PALETA DREWNIANA<br><img src="http://crm.saascrm.pl/crm/qrfile/005_file_c9d0780230772d6a2f1e390a34b8e7d2.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: Masło Delma<br>Kod towaru: maslo123<br><img src="http://www.work.saascrm.pl/crm/qrfile/005_file_cf74ed143acd6898c429d7b8ad9fa304.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: MŁYN VESPA VGA40/60+KOMPLET NOŻY+SITO+TRANSPORT<br>Kod towaru: VGA40/60<br><img src="http://crm.saascrm.pl/crm/qrfile/005_file_d030c090457463d0d2415f518c1abcdc.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: Komputer HP PRO 3500 MT i3-3240/4/500/DVD-RW<br>Kod towaru: HP PRO 3500<br><img src="http://77.253.200.27:8080/crm/qrfile/005_file_d13e69f6f9cda12d76fdad68aeb87f06.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: wodzionka<br>Kod towaru: rf436745<br><img src="http://work.saascrm.pl/crm/qrfile/005_file_d9569a586b7f2c991bce0f3a3cfcbae5.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: Samolot F-22<br>Kod towaru: rf064354<br><img src="http://work.saascrm.pl/crm/qrfile/005_file_dacf0a972dbbba70f25850d75dc025eb.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: Mleko dla kota<br>Kod towaru: rf036599<br><img src="http://work.saascrm.pl/crm/qrfile/005_file_deede6b90b8331b56ceb8dd7c375b878.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: tasak 1337<br>Kod towaru: rf034545<br><img src="http://work.saascrm.pl/crm/qrfile/005_file_e9fc7b77d0db4fb2adb4b21deabca4df.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: Karma dla kota<br>Kod towaru: rf0123445<br><img src="http://work.saascrm.pl/crm/qrfile/005_file_edb5a85d4e4cdc0f685ea09d02e25a2b.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: <br>Kod towaru: <br><img src="http://77.253.200.27:8080/crm/qrfile/005_file_f07cf429d79e47dc244463003b2d0b30.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: widelec<br>Kod towaru: rf0123434<br><img src="http://work.saascrm.pl/crm/qrfile/005_file_f22ebc7c1b3b69b8ea613fbaea2178af.png" />

View File

@@ -0,0 +1 @@
Nazwa towaru: PROSZEK PVC EK<br>Kod towaru: PROSZEK PVC EK<br><img src="http://crm.saascrm.pl/crm/qrfile/005_file_faadde5dff0195078a3a39cba86192df.png" />

View File

@@ -0,0 +1,462 @@
<!--
/*****************************************************************************
* 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/EcmProductB2Bs/mintajax.js"></script>
<script language="javascript" src="modules/EcmProductB2Bs/helper.js"></script>
<script>
function select_lang(value)
{
document.getElementById('row0en').style.display="none";
document.getElementById('row0de').style.display="none";
document.getElementById('row0pl').style.display="none";
document.getElementById('row1en').style.display="none";
document.getElementById('row1de').style.display="none";
document.getElementById('row1pl').style.display="none";
document.getElementById('row2en').style.display="none";
document.getElementById('row2de').style.display="none";
document.getElementById('row2pl').style.display="none";
document.getElementById('row0'+value).style.display="table-row";
document.getElementById('row1'+value).style.display="table-row";
document.getElementById('row2'+value).style.display="table-row";
}
</script>
<form action="index.php" method="post" name="DetailView" id="form">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<input type="hidden" name="module" value="EcmProductB2Bs">
<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='EcmProductB2Bs'; 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='EcmProductB2Bs'; 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='EcmProductB2Bs'; 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>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tabForm">
{PAGINATION1}
<tr>
<td colspan="4" align="left"><strong>{MOD.LBL_PRODUCT_INFORMATION}</strong></td>
</tr>
<tr>
<td width="25%" class="tabDetailViewDL">&nbsp;</td>
<td width="25%" class="tabDetailViewDF">&nbsp;</td>
<td width="25%" valign="top" class="tabDetailViewDL">&nbsp;</td>
<td width="25%" valign="top" class="tabDetailViewDF">&nbsp;</td>
</tr>
<tr>
<td width="25%" class="tabDetailViewDL"><span sugar='slot1'>{MOD.LBL_NAME}</span sugar='slot'></td>
<td width="25%" class="tabDetailViewDF"><span sugar='slot1b'>{NAME}&nbsp;</span sugar='slot'></td>
<td valign="top" class="tabDetailViewDL"><span sugar='slot2'>{APP.LBL_ASSIGNED_TO}</span sugar='slot'></td>
<td valign="top" class="tabDetailViewDF"><span sugar='slot2b'>{ASSIGNED_TO}</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot3'>{MOD.LBL_PRODUCT_INDEX}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot3b'>{CODE}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot15'>{MOD.LBL_PRODUCT_ACTIVE}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot15b'>
<input name='product_active' class="checkbox" type="checkbox" disabled="disabled" {PRODUCT_ACTIVE} />
</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot5'>{MOD.LBL_PRODUCT_CATEGORY}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot5b'><a href="index.php?module=EcmProductB2BCategories&action=DetailView&record={PRODUCT_CATEGORY_ID}">{PRODUCT_CATEGORY}</a></span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot16'>{MOD.LBL_SALES_START_DATE}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot16b'>{SALES_START_DATE}</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot7'>{MOD.LBL_PRODUCT_LINE}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot7b'><a href="index.php?module=EcmProductB2BLines&amp;action=DetailView&amp;record={PRODUCT_LINE_ID}">{PRODUCT_LINE}</a></span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot17'>{MOD.LBL_SALES_END_DATE}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot17b'>{SALES_END_DATE}</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot9'>{MOD.LBL_MANUFACTURER}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot9b'><a href="index.php?module=EcmproductManufacturers&amp;action=DetailView&amp;record={MANUFACTURER_ID}">{MANUFACTURER}</a></span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL">{PARENT_TYPE}</td>
<td width="25%" valign="top" class="tabDetailViewDF"><a href="index.php?module={PARENT_TYPE}&amp;action=DetailView&amp;record={PARENT_ID}">{PARENT_NAME}</a></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot11'>{MOD.LBL_CONTACT_NAME}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot11b'><a href="index.php?module=Contacts&amp;action=DetailView&amp;record={CONTACT_ID}">{CONTACT_NAME}</a></span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot21'>{MOD.LBL_WEBSITE}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot21b'>{WEBSITE}</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot13'>{MOD.LBL_VENDOR_NAME}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot13b'><a href="index.php?module=EcmVendors&amp;action=DetailView&amp;record={VENDOR_ID}">{VENDOR_NAME}</a></span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot22'>{MOD.LBL_PART_NO}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot22b'>{PART_NO}</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot14'>{MOD.LBL_VENDOR_PART_NO}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot14b'>{VENDOR_PART_NO}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot23'>{MOD.LBL_SERIAL_NO}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot23b'>{SERIAL_NO}</span sugar='slot'></td>
</tr>
</table>
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tabForm">
<tr>
<td colspan="4" align="left"><strong>{MOD.LBL_PRICING_INFORMATION}</strong></td>
</tr>
<tr>
<td width="25%" class="tabDetailViewDL">&nbsp;</td>
<td width="25%" class="tabDetailViewDF">&nbsp;</td>
<td width="25%" valign="top" class="tabDetailViewDL">&nbsp;</td>
<td width="25%" valign="top" class="tabDetailViewDF">&nbsp;</td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot25'>{MOD.LBL_EXCHANGE_RATE_NAME}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot25b'>{CURRENCY}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot30'>{MOD.LBL_CUSTOM_DUTY_RATE}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot30b'>{CUSTOM_DUTY_RATE}</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot26'>{MOD.LBL_FOB_PRICE}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot26b'>{FOB_PRICE}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot31'>{MOD.LBL_SRP_PRICE}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot31b'>{SRP_PRICE}</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot27'>{MOD.LBL_UNIT_PRICE}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot27b'>{PURCHASE_PRICE}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot32'>{MOD.LBL_SRP_PROMO_PRICE}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot32b'>{SRP_PROMO_PRICE}</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot28'>{MOD.LBL_EMS_PRICE}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot28b'>{EMS_PRICE}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot30'>{MOD.LBL_VAT}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot34b'>{TAX_CLASS_NAME}</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot29'>{MOD.LBL_COMMISSION_RATE}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot29b'>{COMMISSION_RATE}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot30'>{MOD.LBL_SELLING_PRICE}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF">{SELLING_PRICE}</td>
</tr>
</table>
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tabForm">
<tr>
<td colspan="4" align="left"><strong>{MOD.LBL_STOCK_INFORMATION}</strong></td>
</tr>
<tr>
<td width="25%" class="tabDetailViewDL">&nbsp;</td>
<td width="25%" class="tabDetailViewDF">&nbsp;</td>
<td width="25%" valign="top" class="tabDetailViewDL">&nbsp;</td>
<td width="25%" valign="top" class="tabDetailViewDF">&nbsp;</td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot36'>{MOD.LBL_USAGE_UNIT_NAME}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot36b'>{USAGE_UNIT_NAME}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot41'>{MOD.LBL_QTY_PER_UNIT}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot41b'>{QTY_PER_UNIT}</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL">{MOD.LBL_QTY_IN_STOCK}</td>
<td width="25%" valign="top" class="tabDetailViewDF">&nbsp;</td>
<td width="25%" valign="top" class="tabDetailViewDL">{MOD.LBL_REORDER_LEVEL}</td>
<td width="25%" valign="top" class="tabDetailViewDF">&nbsp;</td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot37'>{MOD.LBL_EMS_QTY_IN_STOCK}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%"><span sugar='slot37b'>{EMS_QTY_IN_STOCK}</span sugar='slot'></td>
<td><select id="stock_info" name="stock_info" onchange="mintajaxget('index.php?to_pdf=1&module=EcmProductB2Bs&action=getStockInfo&record={ID}&stock_id='+document.getElementById('stock_info').value,'stock_div');"><option>select</option>{STOCK_INFO}</select></td>
<td><div id="stock_div"></div></td>
</tr>
</table>
</td>
<td width="25%" valign="top" class="tabDetailViewDL">{MOD.LBL_QTY_IN_DEMAND}</td>
<td width="25%" valign="top" class="tabDetailViewDF">&nbsp;</td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot37'>{MOD.LBL_EMS_ORDERED}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF">{EMS_ORDERED}</td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot42'>{MOD.LBL_AVERAGE_SALE_3_MONTHS}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot42b'>{AVERAGE_SALE_3_MONTHS}</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot38'>{MOD.LBL_SALES_LAST_MONTH_1}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot38b'>{SALES_LAST_MONTH_1}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot43'>{MOD.LBL_SALES_PLUS_1}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot43b'>{SALES_PLUS_1}</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot39'>{MOD.LBL_SALES_LAST_MONTH}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot39b'>{SALES_LAST_MONTH}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot44'>{MOD.LBL_SALES_PLUS_2}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot44b'>{SALES_PLUS_2}</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot40'>{MOD.LBL_SALES_THIS_MONTH}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot40b'>{SALES_THIS_MONTH}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot45'>{MOD.LBL_SALES_PLUS_3}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot45b'>{SALES_PLUS_3}</span sugar='slot'></td>
</tr>
</table>
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tabForm">
<tr>
<td colspan="4" align="left"><strong>{MOD.LBL_DRIVERS_IMAGES}</strong></td>
</tr>
<tr>
<td width="25%" class="tabDetailViewDL">&nbsp;</td>
<td width="25%" class="tabDetailViewDF">&nbsp;</td>
<td valign="top" class="tabDetailViewDL">&nbsp;</td>
<td valign="top" class="tabDetailViewDF">&nbsp;</td>
</tr>
<tr>
<td valign="top" class="tabDetailViewDL"><span sugar='slot46'>{MOD.LBL_PRODUCT_PICTURE}</span sugar='slot'></td>
<td valign="top" class="tabDetailViewDF"><span sugar='slot46b'>{PRODUCT_PICTURE}</span sugar='slot'></td>
<td valign="top" class="tabDetailViewDL"><span sugar='slot47'>{MOD.LBL_PACKING_FRONT_PICTURE}</span sugar='slot'></td>
<td valign="top" class="tabDetailViewDF"><span sugar='slot47b'>{PACKING_FRONT_PICTURE}</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot48'>{MOD.LBL_DRIVER_1}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot48b'>{DRIVER_1_DOWNLOAD}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot49'>{MOD.LBL_DRIVER_2}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot49b'>{DRIVER_2_DOWNLOAD}</span sugar='slot'></td>
</tr>
</table>
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tabForm">
<tr>
<td colspan="4" align="left"><strong>{MOD.LBL_LOGISTIC_INFORMATION}</strong></td>
</tr>
<tr>
<td width="25%" class="tabDetailViewDL">&nbsp;</td>
<td width="25%" class="tabDetailViewDF">&nbsp;</td>
<td width="25%" valign="top" class="tabDetailViewDL">&nbsp;</td>
<td width="25%" valign="top" class="tabDetailViewDF">&nbsp;</td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot50'>{MOD.LBL_MOQ}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot50b'>{MOQ}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot63'>{MOD.LBL_CARTON_DIMENSIONS_1}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot63b'>{CARTON_DIMENSIONS_1} x {CARTON_DIMENSIONS_2} x {CARTON_DIMENSIONS_3}</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot52'>{MOD.LBL_FOB_BASIS_NAME}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot52b'><a href="index.php?module=EcmProductB2BBasis&amp;action=DetailView&amp;record={FOB_BASIS_ID}">{FOB_BASIS_NAME}</a></span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot66'>{MOD.LBL_CARTON_NETTO_WEIGHT}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot66b'>{CARTON_NETTO_WEIGHT}</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot53'>{MOD.LBL_DELIVERY_TIME_FOB}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot53b'>{DELIVERY_TIME_FOB}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot67'>{MOD.LBL_CARTON_BRUTTO_WEIGHT}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot67b'>{CARTON_BRUTTO_WEIGHT}</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot54'>{MOD.LBL_PIECES_PER_CARTON}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot54b'>{PIECES_PER_CARTON}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot68'>{MOD.LBL_CARTON_VOLUME_METER}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot68b'>{CARTON_VOLUME_METER}</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot55'>{MOD.LBL_PRODUCT_NETTO_WEIGHT}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot55b'>{PRODUCT_NETTO_WEIGHT}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot69'>{MOD.LBL_CARTON_VOLUME_FEET}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot69b'>{CARTON_VOLUME_FEET}</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot56'>{MOD.LBL_PRODUCT_BRUTTO_WEIGHT}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot56b'>{PRODUCT_BRUTTO_WEIGHT}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot70'>{MOD.LBL_COUNTRY_OF_ORIGIN}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot70b'>{COUNTRY_OF_ORIGIN}</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot58'>{MOD.LBL_PACKING_TYPE_NAME}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot58b'><a href="index.php?module=EcmProductB2BPackingTypes&amp;action=DetailView&amp;record={PACKING_TYPE_ID}">{PACKING_TYPE_NAME}</a></span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot71'>{MOD.LBL_CERTIFICATE_OF_ORIGIN}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot71b'>
<input name='certificate_of_origin2222' class="checkbox" type="checkbox" disabled="disabled" {CERTIFICATE_OF_ORIGIN} />
</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot59'>{MOD.LBL_PACKING_DIMENSIONS_1}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot59b'>{PACKING_DIMENSIONS_1} x {PACKING_DIMENSIONS_2} x {PACKING_DIMENSIONS_3}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot72'>{MOD.LBL_FORM_A}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot72b'>
<input name='form_a2222' class="checkbox" type="checkbox" disabled="disabled" {FORM_A} />
</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="tabDetailViewDL"><span sugar='slot62'>{MOD.LBL_RMA}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDF"><span sugar='slot62b'>{RMA}</span sugar='slot'></td>
<td width="25%" valign="top" class="tabDetailViewDL">&nbsp;</td>
<td width="25%" valign="top" class="tabDetailViewDF">&nbsp;</td>
</tr>
</table>
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tabForm">
<tr>
<td width="25%"><strong>{MOD.LBL_LOCALIZED_INFORMATION}</strong></td>
<td width="25%"><select name="slang" id="slang" onchange="select_lang(this.value);">
<option value="pl">pl</option>
<option value="en">en</option>
<option value="de">de</option>
</select>
</td>
<td width="25%">&nbsp;</td>
<td width="25%">&nbsp;</td>
</tr>
<tr id="row0en" style="display:none;">
<td class="tabDetailViewDL">&nbsp;</td>
<td class="tabDetailViewDF">&nbsp;</td>
<td class="tabDetailViewDL">&nbsp;</td>
<td class="tabDetailViewDF">&nbsp;</td>
</tr>
<tr id="row1en" style="display:none;">
<td valign="top" class="tabDetailViewDL">{MOD.LBL_LOCAL_EAN}</td>
<td valign="top" class="tabDetailViewDF">{EAN_en}</td>
<td valign="top" class="tabDetailViewDL">{MOD.LBL_REMARKS}</td>
<td valign="top" class="tabDetailViewDF">{REMARKS_en}</td>
</tr>
<tr id="row2en" style="display:none;">
<td width="25%" valign="top" class="tabDetailViewDL">{MOD.LBL_SHORT_DESCRIPTION}</td>
<td width="25%" valign="top" class="tabDetailViewDF">{SHORT_DESCRIPTION_en}</td>
<td width="25%" valign="top" class="tabDetailViewDL">{MOD.LBL_LONG_DESCRIPTION}</td>
<td width="25%" valign="top" class="tabDetailViewDF">{LONG_DESCRIPTION_en}</td>
</tr>
<tr id="row0de" style="display:none;">
<td class="tabDetailViewDL">&nbsp;</td>
<td class="tabDetailViewDF">&nbsp;</td>
<td class="tabDetailViewDL">&nbsp;</td>
<td class="tabDetailViewDF">&nbsp;</td>
</tr>
<tr id="row1de" style="display:none;">
<td valign="top" class="tabDetailViewDL">{MOD.LBL_LOCAL_EAN}</td>
<td valign="top" class="tabDetailViewDF">{EAN_de}</td>
<td valign="top" class="tabDetailViewDL">{MOD.LBL_REMARKS}</td>
<td valign="top" class="tabDetailViewDF">{REMARKS_de}</td>
</tr>
<tr id="row2de" style="display:none;">
<td width="25%" valign="top" class="tabDetailViewDL">{MOD.LBL_SHORT_DESCRIPTION}</td>
<td width="25%" valign="top" class="tabDetailViewDF">{SHORT_DESCRIPTION_de}</td>
<td width="25%" valign="top" class="tabDetailViewDL">{MOD.LBL_LONG_DESCRIPTION}</td>
<td width="25%" valign="top" class="tabDetailViewDF">{LONG_DESCRIPTION_de}</td>
</tr>
<tr id="row0pl" style="display:table-row;">
<td class="tabDetailViewDL">&nbsp;</td>
<td class="tabDetailViewDF">&nbsp;</td>
<td class="tabDetailViewDL">&nbsp;</td>
<td class="tabDetailViewDF">&nbsp;</td>
</tr>
<tr id="row1pl" style="display:table-row;">
<td valign="top" class="tabDetailViewDL">{MOD.LBL_LOCAL_EAN}</td>
<td valign="top" class="tabDetailViewDF">{EAN_pl}</td>
<td valign="top" class="tabDetailViewDL">{MOD.LBL_REMARKS}</td>
<td valign="top" class="tabDetailViewDF">{REMARKS_pl}</td>
</tr>
<tr id="row2pl" style="display:table-row;">
<td width="25%" valign="top" class="tabDetailViewDL">{MOD.LBL_SHORT_DESCRIPTION}</td>
<td width="25%" valign="top" class="tabDetailViewDF">{SHORT_DESCRIPTION_pl}</td>
<td width="25%" valign="top" class="tabDetailViewDL">{MOD.LBL_LONG_DESCRIPTION}</td>
<td width="25%" valign="top" class="tabDetailViewDF">{LONG_DESCRIPTION_pl}</td>
</tr>
</table>
<!-- END: main -->
<!-- BEGIN: subpanel -->
<span sugar='slot23'> {SUBPANEL}</span sugar='slot'>
<!-- END: subpanel -->

View File

@@ -0,0 +1,656 @@
<!--
/*****************************************************************************
* 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>
<script>
function select_lang(value)
{
document.getElementById('row0en').style.display="none";
document.getElementById('row0de').style.display="none";
document.getElementById('row0pl').style.display="none";
document.getElementById('row1en').style.display="none";
document.getElementById('row1de').style.display="none";
document.getElementById('row1pl').style.display="none";
document.getElementById('row2en').style.display="none";
document.getElementById('row2de').style.display="none";
document.getElementById('row2pl').style.display="none";
document.getElementById('row0'+value).style.display="table-row";
document.getElementById('row1'+value).style.display="table-row";
document.getElementById('row2'+value).style.display="table-row";
}
function gosave()
{
if(document.getElementById('index_id').value=='' || document.getElementById('index_id').value==document.getElementById('record').value)return true;
else
{
alert("Product Index duplicate - please choose other one");
return false;
}
}
</script>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<form onSubmit="return gosave();" name="EditView" method="POST" enctype="multipart/form-data" action="index.php">
<input type="hidden" name="module" value="EcmProductB2Bs">
<input type="hidden" name="record" id="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="25%"><strong>{MOD.LBL_PRODUCT_INFORMATION}</strong></td>
<td width="25%">&nbsp;</td>
<td width="25%">&nbsp;</td>
<td width="25%">&nbsp;</td>
</tr>
<tr>
<td width="25%" class="dataLabel">&nbsp;</td>
<td width="25%" class="dataField">&nbsp;</td>
<td width="25%" class="dataLabel">&nbsp;</td>
<td width="25%" class="dataField">&nbsp;</td>
</tr>
<tr>
<td width="25%" class="dataLabel"><span sugar='slot1'>{MOD.LBL_NAME} <span class="required">{APP.LBL_REQUIRED_SYMBOL}</span></span sugar='slot'></td>
<td width="25%" class="dataField"><span sugar='slot1b'>
<input name='name' type="text" tabindex='1' 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 id='assigned_user_id' name='assigned_user_id' type="hidden" value="{ASSIGNED_USER_ID}" />
<input class="sqsEnabled" tabindex="2" autocomplete="off" id="assigned_user_name" name='assigned_user_name' type="text" value="{ASSIGNED_USER_NAME}">
<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 width="25%" valign="top" class="dataLabel"><span sugar='slot3'>{MOD.LBL_PRODUCT_INDEX}</span sugar='slot'></td>
<td width="25%" valign="top" class="dataField"><span sugar='slot3b'>
<input type="hidden" id="index_id" name="index_id" /><input ondblclick="if(document.getElementById('index_id').value!=''){window.open('index.php?module=EcmProductB2Bs&action=DetailView&record='+document.getElementById('index_id').value,'Product','resizable=yes,scrollbars=yes,status=no,height=600,width=800').focus();}" class="sqsEnabled" autocomplete="off" name='code' id='code' title="Product index" type="text" tabindex='3' maxlength='40' value="{CODE}" />
</span sugar='slot'> </td>
<td class="dataLabel"><span sugar='slot15'>{MOD.LBL_PRODUCT_ACTIVE}</span sugar='slot'></td>
<td class="dataField"><span sugar='slot15b'>
<input id="product_active" title="Product active" type="checkbox" name="product_active" {PRODUCT_ACTIVE}/>
</span sugar='slot'> </td>
</tr>
<tr>
<td width="25%" valign="top" class="dataLabel"><span sugar='slot5'>{MOD.LBL_PRODUCT_CATEGORY}</span sugar='slot'></td>
<td width="25%" valign="top" class="dataField"><span sugar='slot5b'>
<input id='product_category_id' name='product_category_id' type="hidden" value="{PRODUCT_CATEGORY_ID}" />
<input class="sqsEnabled" autocomplete="off" id='product_category' name='product_category' title="Product category" type="text" tabindex='5' maxlength='40' value="{PRODUCT_CATEGORY}" />
<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("EcmProductB2BCategorys", 600, 400, "index.php?module=EcmProductB2BCategorys&action=Popup&mode=single&create=true&metadata=undefined", true, false, {encoded_ecmproductcategorys_popup_request_data});' />
</span sugar='slot'> </td>
<td class="dataLabel"><span sugar='slot16'>{MOD.LBL_SALES_START_DATE} </span sugar='slot'></td>
<td class="dataField"><span sugar='slot16b'>
<input name='sales_start_date'
onblur="parseDate(this, '{CALENDAR_DATEFORMAT}');"
id='jscal_fieldsales_start_date'
type="text"
title="Sales start date"
tabindex='16'
size='11'
maxlength='10'
value="{SALES_START_DATE}" />
<img src="themes/default/images/jscalendar.gif" alt="{APP.LBL_ENTER_DATE}" id="jscal_triggersales_start_date" align="absmiddle" /> <span class="dateFormat">{USER_DATEFORMAT}</span>
<script>
Calendar.setup ({inputField : 'jscal_fieldsales_start_date', ifFormat : '{CALENDAR_DATEFORMAT}', showsTime : false, button : 'jscal_triggersales_start_date', singleClick : true, step : 1});addToValidate('EditView', 'sales_start_date', 'date', false,'sales_start_date' );
</script>
</span sugar='slot'> </td>
</tr>
<tr>
<td width="25%" valign="top" class="dataLabel"><span sugar='slot7'>{MOD.LBL_PRODUCT_LINE}</span sugar='slot'></td>
<td width="25%" valign="top" class="dataField"><span sugar='slot7b'>
<input id='product_line_id' name='product_line_id' type="hidden" value="{PRODUCT_LINE_ID}" />
<input class="sqsEnabled" autocomplete="off" id='product_line' name='product_line' title="Product line" type="text" tabindex='7' maxlength='40' value="{PRODUCT_LINE}" />
</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("EcmProductB2BLines", 600, 400, "index.php?module=EcmProductB2BLines&action=Popup&mode=single&create=true&metadata=undefined", true, false, {encoded_ecmproductlines_popup_request_data});' /></td>
<td class="dataLabel"><span sugar='slot17'>{MOD.LBL_SALES_END_DATE} </span sugar='slot'></td>
<td class="dataField"><span sugar='slot17b'>
<input name='sales_end_date'
onblur="parseDate(this, '{CALENDAR_DATEFORMAT}');"
id='jscal_fieldsales_end_date'
type="text"
title="Sales end date"
tabindex='17'
size='11'
maxlength='10'
value="{SALES_END_DATE}" />
<img src="themes/default/images/jscalendar.gif" alt="{APP.LBL_ENTER_DATE}" id="jscal_triggersales_end_date" align="absmiddle" /> <span class="dateFormat">{USER_DATEFORMAT}</span>
<script>
Calendar.setup ({inputField : 'jscal_fieldsales_end_date', ifFormat : '{CALENDAR_DATEFORMAT}', showsTime : false, button : 'jscal_triggersales_end_date', singleClick : true, step : 1});addToValidate('EditView', 'sales_end_date', 'date', false,'sales_end_date' );
</script>
</span sugar='slot'> </td>
</tr>
<tr>
<td width="25%" valign="top" class="dataLabel"><span sugar='slot9'>{MOD.LBL_MANUFACTURER}</span sugar='slot'></td>
<td width="25%" valign="top" class="dataField"><span sugar='slot9b'>
<input id='manufacturer_id' name='manufacturer_id' type="hidden" value="{MANUFACTURER_ID}" />
<input class="sqsEnabled" autocomplete="off" id='manufacturer' name='manufacturer' title="Manufacturer" type="text" tabindex='9' maxlength='40' value="{MANUFACTURER}" />
</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("EcmProductB2BManufacturers", 600, 400, "index.php?module=EcmProductB2BManufacturers&action=Popup&mode=single&create=true&metadata=undefined", true, false, {encoded_ecmproductmanufacturers_popup_request_data});' /></td>
<td valign="top" class="dataLabel"><select name="parent_type" id="parent_type">
{PARENT_TYPE}
</select></td>
<td valign="top" class="dataField"><span sugar='slot20b'>
<input name='parent_id' type="hidden" value="{PARENT_ID}" />
<input name='parent_name' title="Parent name" type="text" tabindex='20' maxlength='50' value="{PARENT_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(document.getElementById("parent_type").value, 600, 400, "index.php?module="+document.getElementById("parent_type").value+"&action=Popup&mode=single&create=true&metadata=undefined", true, false, {encoded_parent_popup_request_data});' /></td>
</tr>
<tr>
<td width="25%" valign="top" class="dataLabel"><span sugar='slot11'>{MOD.LBL_CONTACT_NAME}</span sugar='slot'></td>
<td width="25%" valign="top" class="dataField"><span sugar='slot11b'>
<input id='contact_id' name='contact_id' type="hidden" value="{CONTACT_ID}" />
<input class="sqsEnabled" autocomplete="off" id='contact_name' name='contact_name' title="Contact name" type="text" tabindex='11' maxlength='40' value="{CONTACT_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("Contacts", 600, 400, "index.php?module=Contacts&action=Popup&mode=single&create=true&metadata=undefined", true, false, {encoded_contacts_popup_request_data});' /></td>
<td valign="top" class="dataLabel"><span sugar='slot21'>{MOD.LBL_WEBSITE}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot21b'>
<input name='website' title="Website" type="text" tabindex='21' maxlength='255' value="{WEBSITE}" />
</span sugar='slot'> </td>
</tr>
<tr>
<td width="25%" valign="top" class="dataLabel"><span sugar='slot13'>{MOD.LBL_VENDOR_NAME}</span sugar='slot'></td>
<td width="25%" valign="top" class="dataField"><span sugar='slot13b'>
<input id='vendor_id' name='vendor_id' type="hidden" value="{VENDOR_ID}" />
<input class="sqsEnabled" id='vendor_name' name='vendor_name' title="Vendor name" type="text" tabindex='13' maxlength='40' value="{VENDOR_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("EcmVendors", 600, 400, "index.php?module=EcmVendors&action=Popup&mode=single&create=true&metadata=undefined", true, false, {encoded_ecmvendors_popup_request_data});' /></td>
<td valign="top" class="dataLabel"><span sugar='slot22'>{MOD.LBL_PART_NO}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot22b'>
<input name='part_no' title="Part no" type="text" tabindex='22' maxlength='200' value="{PART_NO}" />
</span sugar='slot'> </td>
</tr>
<tr>
<td width="25%" valign="top" class="dataLabel"><span sugar='slot14'>{MOD.LBL_VENDOR_PART_NO}</span sugar='slot'></td>
<td width="25%" valign="top" class="dataField"><span sugar='slot14b'>
<input name='vendor_part_no' title="Vendor part no" type="text" tabindex='14' maxlength='200' value="{VENDOR_PART_NO}" />
</span sugar='slot'> </td>
<td valign="top" class="dataLabel"><span sugar='slot23'>{MOD.LBL_SERIAL_NO}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot23b'>
<input name='serial_no' title="Serial no" type="text" tabindex='23' maxlength='200' value="{SERIAL_NO}" />
</span sugar='slot'> </td>
</tr>
</table>
</td>
</tr>
</table>
<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="25%"><strong>{MOD.LBL_PRICING_INFORMATION}</strong></td>
<td width="25%">&nbsp;</td>
<td width="25%">&nbsp;</td>
<td width="25%">&nbsp;</td>
</tr>
<tr>
<td width="25%" valign="top" class="dataLabel">&nbsp;</td>
<td width="25%" valign="top" class="dataField">&nbsp;</td>
<td width="25%" valign="top" class="dataLabel">&nbsp;</td>
<td width="25%" valign="top" class="dataField">&nbsp;</td>
</tr>
<tr>
<td width="25%" valign="top" class="dataLabel"><span sugar='slot25'>{MOD.LBL_EXCHANGE_RATE_NAME}</span sugar='slot'></td>
<td width="25%" valign="top" class="dataField"><span sugar='slot25b'>
<select name="exchange_rate_id" id="exchange_rate_id">
{EXCHANGE_RATE_ID}
</select>
</span sugar='slot'></td>
<td width="25%" valign="top" class="dataLabel"><span sugar='slot30'>{MOD.LBL_CUSTOM_DUTY_RATE}</span sugar='slot'></td>
<td width="25%" valign="top" class="dataField"><span sugar='slot30b'>
<input name='custom_duty_rate' title="Custom duty rate" tabindex='30' maxlength='25' type="text" value="{CUSTOM_DUTY_RATE}" />
</span sugar='slot'> </td>
</tr>
<tr>
<td width="25%" valign="top" class="dataLabel"><span sugar='slot26'>{MOD.LBL_FOB_PRICE}</span sugar='slot'></td>
<td width="25%" valign="top" class="dataField"><span sugar='slot26b'>
<input name='fob_price' title="FOB price" tabindex='26' maxlength='25' type="text" value="{FOB_PRICE}" />
</span sugar='slot'> </td>
<td width="25%" valign="top" class="dataLabel"><span sugar='slot31'>{MOD.LBL_SRP_PRICE}</span sugar='slot'></td>
<td width="25%" valign="top" class="dataField"><span sugar='slot31b'>
<input name='srp_price' title="SRP price" tabindex='31' maxlength='25' type="text" value="{SRP_PRICE}" />
</span sugar='slot'> </td>
</tr>
<tr>
<td width="25%" valign="top" class="dataLabel"><span sugar='slot27'>{MOD.LBL_UNIT_PRICE}</span sugar='slot'></td>
<td width="25%" valign="top" class="dataField"><span sugar='slot27b'>
<input name='purchase_price' title="Purchase price" tabindex='27' maxlength='25' type="text" value="{PURCHASE_PRICE}" />
</span sugar='slot'> </td>
<td width="25%" valign="top" class="dataLabel"><span sugar='slot32'>{MOD.LBL_SRP_PROMO_PRICE}</span sugar='slot'></td>
<td width="25%" valign="top" class="dataField"><span sugar='slot32b'>
<input name='srp_promo_price' title="SRP promo price" tabindex='32' maxlength='25' type="text" value="{SRP_PROMO_PRICE}" />
</span sugar='slot'> </td>
</tr>
<tr>
<td width="25%" valign="top" class="dataLabel"><span sugar='slot28'>{MOD.LBL_EMS_PRICE}</span sugar='slot'></td>
<td width="25%" valign="top" class="dataField"><span sugar='slot28b'>
<input name='ems_price' title="EMS price" tabindex='28' maxlength='25' type="text" value="{EMS_PRICE}" />
</span sugar='slot'> </td>
<td width="25%" valign="top" class="dataLabel"><span sugar='slot34'>{MOD.LBL_TAX_CLASS_NAME}</span sugar='slot'></td>
<td width="25%" valign="top" class="dataField"><span sugar='slot34b'>
<select id='vat_id' name='vat_id'>
{VAT_ID}
</select>
</span sugar='slot'></td>
</tr>
<tr>
<td width="25%" valign="top" class="dataLabel"><span sugar='slot29'>{MOD.LBL_COMMISSION_RATE}</span sugar='slot'></td>
<td width="25%" valign="top" class="dataField"><span sugar='slot29b'>
<input name='commission_rate' title="Commission rate" tabindex='29' maxlength='25' type="text" value="{COMMISSION_RATE}" />
</span sugar='slot'> </td>
<td width="25%"><span class="dataLabel"><span sugar='slot34'>{MOD.LBL_SELLING_PRICE}</span sugar='slot'></span></td>
<td width="25%"><span class="dataField"><span sugar='slot27b'>
<input name='selling_price' title="Selling price" tabindex='27' maxlength='25' type="text" value="{SELLING_PRICE}" />
</span sugar='slot'></span></td>
</tr>
</table>
</td>
</tr>
</table>
<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="25%"><strong>{MOD.LBL_STOCK_INFORMATION}</strong></td>
<td width="25%">&nbsp;</td>
<td width="25%">&nbsp;</td>
<td width="25%">&nbsp;</td>
</tr>
<tr>
<td width="25%" class="dataLabel">&nbsp;</td>
<td width="25%" class="dataField">&nbsp;</td>
<td width="25%" class="dataLabel">&nbsp;</td>
<td width="25%" class="dataField">&nbsp;</td>
</tr>
<tr>
<td valign="top" class="dataLabel"><span sugar='slot36'>{MOD.LBL_USAGE_UNIT_NAME}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot36b'>
<select id='usage_unit_id' name='usage_unit_id'>
{USAGE_UNIT_ID}
</select>
</span sugar='slot'></td>
<td valign="top" class="dataLabel"><span sugar='slot41'>{MOD.LBL_QTY_PER_UNIT}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot41b'>
<input name='qty_per_unit' title="Qty per unit" tabindex='41' maxlength='25' type="text" value="{QTY_PER_UNIT}" />
</span sugar='slot'> </td>
</tr>
<tr>
<td valign="top" class="dataLabel"><span sugar='slot36'>{MOD.LBL_QTY_IN_STOCK}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot37b'>
<input name='qty_in_stock' readonly title="Qty in stock" type="text" tabindex='37' maxlength='40' value="{QTY_IN_STOCK}" />
</span sugar='slot'> </td>
<td class="dataLabel"><span sugar='slot36'>{MOD.LBL_REORDER_LEVEL}</span sugar='slot'></td>
<td class="dataField"><input name='reorder_level' title="Reorder level" type="text" tabindex='37' maxlength='40' value="{REORDER_LEVEL}" /></td>
</tr>
<tr>
<td valign="top" class="dataLabel"><span sugar='slot37'>{MOD.LBL_EMS_QTY_IN_STOCK}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot37b'>
<input name='ems_qty_in_stock' readonly title="EMS qty in stock" type="text" tabindex='37' maxlength='40' value="{EMS_QTY_IN_STOCK}" />
</span sugar='slot'> </td>
<td valign="top" class="dataLabel"><span sugar='slot36'>{MOD.LBL_QTY_IN_DEMAND}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot37b'>
<input name='qty_in_demand' title="Qty in demand" type="text" tabindex='37' maxlength='40' value="{QTY_IN_DEMAND}" />
</span sugar='slot'> </td>
</tr>
<tr>
<td class="dataLabel"><span sugar='slot37'>{MOD.LBL_EMS_ORDERED}</span sugar='slot'></td>
<td class="dataField"><span sugar='slot37b'>
<input name='ems_ordered' type="text" readonly tabindex='37' maxlength='40' value="{EMS_ORDERED}" />
</span sugar='slot'></td>
<td valign="top" class="dataLabel"><span sugar='slot42'>{MOD.LBL_AVERAGE_SALE_3_MONTHS}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot42b'>
<input name='average_sale_3_months' title="Average sale 3 months" tabindex='42' maxlength='25' type="text" value="{AVERAGE_SALE_3_MONTHS}" />
</span sugar='slot'> </td>
</tr>
<tr>
<td valign="top" class="dataLabel"><span sugar='slot38'>{MOD.LBL_SALES_LAST_MONTH_1}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot38b'>
<input name='sales_last_month_1' title="Sales last month -1" tabindex='38' maxlength='25' type="text" value="{SALES_LAST_MONTH_1}" />
</span sugar='slot'> </td>
<td valign="top" class="dataLabel"><span sugar='slot43'>{MOD.LBL_SALES_PLUS_1}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot43b'>
<input name='sales_plus_1' title="Sales plus 1" tabindex='43' maxlength='25' type="text" value="{SALES_PLUS_1}" />
</span sugar='slot'> </td>
</tr>
<tr>
<td valign="top" class="dataLabel"><span sugar='slot39'>{MOD.LBL_SALES_LAST_MONTH}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot39b'>
<input name='sales_last_month' title="Sales last month" tabindex='39' maxlength='25' type="text" value="{SALES_LAST_MONTH}" />
</span sugar='slot'> </td>
<td valign="top" class="dataLabel"><span sugar='slot44'>{MOD.LBL_SALES_PLUS_2}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot44b'>
<input name='sales_plus_2' title="Sales plus 2" tabindex='44' maxlength='25' type="text" value="{SALES_PLUS_2}" />
</span sugar='slot'> </td>
</tr>
<tr>
<td valign="top" class="dataLabel"><span sugar='slot40'>{MOD.LBL_SALES_THIS_MONTH}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot40b'>
<input name='sales_this_month' title="Sales this month" tabindex='40' maxlength='25' type="text" value="{SALES_THIS_MONTH}" />
</span sugar='slot'> </td>
<td valign="top" class="dataLabel"><span sugar='slot45'>{MOD.LBL_SALES_PLUS_3}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot45b'>
<input name='sales_plus_3' title="Sales plus 3" tabindex='45' maxlength='25' type="text" value="{SALES_PLUS_3}" />
</span sugar='slot'> </td>
</tr>
</table>
</td>
</tr>
</table>
<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="25%"><strong>{MOD.LBL_DRIVERS_IMAGES}</strong></td>
<td width="25%">&nbsp;</td>
<td width="25%">&nbsp;</td>
<td width="25%">&nbsp;</td>
</tr>
<tr>
<td width="25%" class="dataLabel">&nbsp;</td>
<td width="25%" class="dataField">&nbsp;</td>
<td width="25%" class="dataLabel">&nbsp;</td>
<td width="25%" class="dataField">&nbsp;</td>
</tr>
<tr>
<td valign="top" class="dataLabel"><span sugar='slot46'>{MOD.LBL_PRODUCT_PICTURE}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot46b'>
<input name='product_picture' title="Product picture" type="file" tabindex='46' maxlength='255' value="{PRODUCT_PICTURE}" />
{PRODUCT_PICTURE_UPLOAD} </span sugar='slot'> </td>
<td valign="top" class="dataLabel"><span sugar='slot47'>{MOD.LBL_PACKING_FRONT_PICTURE}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot47b'>
<input name='packing_front_picture' title="Packing front picture" type="file" tabindex='47' maxlength='255' value="{PACKING_FRONT_PICTURE}" />
</span sugar='slot'> {PACKING_FRONT_PICTURE_UPLOAD}</td>
</tr>
<tr>
<td valign="top" class="dataLabel"><span sugar='slot48'>{MOD.LBL_DRIVER_1}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot48b'>
<input name='driver_1' title="Driver 1" type="file" tabindex='48' maxlength='255' value="{DRIVER_1}" />
{DRIVER_1_UPLOAD}
</span sugar='slot'> </td>
<td valign="top" class="dataLabel"><span sugar='slot49'>{MOD.LBL_DRIVER_2}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot49b'>
<input name='driver_2' title="Driver 2" type="file" tabindex='49' maxlength='255' value="{DRIVER_2}" />
</span sugar='slot'> {DRIVER_2_UPLOAD}</td>
</tr>
</table>
</td>
</tr>
</table>
<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="25%"><strong>{MOD.LBL_LOGISTIC_INFORMATION}</strong></td>
<td width="25%">&nbsp;</td>
<td width="25%">&nbsp;</td>
<td width="25%">&nbsp;</td>
</tr>
<tr>
<td width="25%" class="dataLabel">&nbsp;</td>
<td width="25%" class="dataField">&nbsp;</td>
<td width="25%" class="dataLabel">&nbsp;</td>
<td width="25%" class="dataField">&nbsp;</td>
</tr>
<tr>
<td valign="top" class="dataLabel"><span sugar='slot50'>{MOD.LBL_MOQ}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot50b'>
<input name='moq' title="MOQ" tabindex='50' maxlength='25' type="text" value="{MOQ}" />
</span sugar='slot'> </td>
<td valign="top" class="dataLabel"><span sugar='slot63'>{MOD.LBL_CARTON_DIMENSIONS_1}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot63b'>
<input name='carton_dimensions_1' title="Carton dimensions (m)" tabindex='63' size='3' maxlength='25' type="text" value="{CARTON_DIMENSIONS_1}" />
</span sugar='slot'> x
<input name='carton_dimensions_2' title="Carton dimensions (m)" tabindex='64' size='3' maxlength='25' type="text" value="{CARTON_DIMENSIONS_2}" />
x
<input name='carton_dimensions_3' title="Carton dimensions (m)" tabindex='65' size='3' maxlength='25' type="text" value="{CARTON_DIMENSIONS_3}" /></td>
</tr>
<tr>
<td valign="top" class="dataLabel"><span sugar='slot52'>{MOD.LBL_FOB_BASIS_NAME}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot52b'>
<select id='fob_basis_id' name='fob_basis_id'>
{FOB_BASIS_ID}
</select></span sugar='slot'></td>
<td valign="top" class="dataLabel"><span sugar='slot66'>{MOD.LBL_CARTON_NETTO_WEIGHT}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot66b'>
<input name='carton_netto_weight' title="Carton netto weight" tabindex='66' maxlength='25' type="text" value="{CARTON_NETTO_WEIGHT}" />
</span sugar='slot'> </td>
</tr>
<tr>
<td valign="top" class="dataLabel"><span sugar='slot53'>{MOD.LBL_DELIVERY_TIME_FOB}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot53b'>
<input name='delivery_time_fob' title="Delivery time FOB" tabindex='53' maxlength='25' type="text" value="{DELIVERY_TIME_FOB}" />
</span sugar='slot'> </td>
<td valign="top" class="dataLabel"><span sugar='slot67'>{MOD.LBL_CARTON_BRUTTO_WEIGHT}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot67b'>
<input name='carton_brutto_weight' title="Carton brutto weight" tabindex='67' maxlength='25' type="text" value="{CARTON_BRUTTO_WEIGHT}" />
</span sugar='slot'> </td>
</tr>
<tr>
<td valign="top" class="dataLabel"><span sugar='slot54'>{MOD.LBL_PIECES_PER_CARTON}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot54b'>
<input name='pieces_per_carton' title="Pieces per carton" tabindex='54' maxlength='25' type="text" value="{PIECES_PER_CARTON}" />
</span sugar='slot'> </td>
<td valign="top" class="dataLabel"><span sugar='slot68'>{MOD.LBL_CARTON_VOLUME_METER}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot68b'>
<input name='carton_volume_meter' title="Carton volume (cubic meter)" tabindex='68' maxlength='25' type="text" value="{CARTON_VOLUME_METER}" />
</span sugar='slot'> </td>
</tr>
<tr>
<td valign="top" class="dataLabel"><span sugar='slot55'>{MOD.LBL_PRODUCT_NETTO_WEIGHT}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot55b'>
<input name='product_netto_weight' title="Product netto weight (kg)" tabindex='55' maxlength='25' type="text" value="{PRODUCT_NETTO_WEIGHT}" />
</span sugar='slot'> </td>
<td class="dataLabel">&nbsp;</td>
<td class="dataField">&nbsp;</td>
</tr>
<tr>
<td valign="top" class="dataLabel"><span sugar='slot56'>{MOD.LBL_PRODUCT_BRUTTO_WEIGHT}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot56b'>
<input name='product_brutto_weight' title="Product brutto weight (kg)" tabindex='56' maxlength='25' type="text" value="{PRODUCT_BRUTTO_WEIGHT}" />
</span sugar='slot'> </td>
<td valign="top" class="dataLabel"><span sugar='slot70'>{MOD.LBL_COUNTRY_OF_ORIGIN}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot70b'>
<input name='country_of_origin' title="Country of origin" type="text" tabindex='70' maxlength='255' value="{COUNTRY_OF_ORIGIN}" />
</span sugar='slot'> </td>
</tr>
<tr>
<td valign="top" class="dataLabel"><span sugar='slot58'>{MOD.LBL_PACKING_TYPE_NAME}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot58b'>
<select id='packing_type_id' name='packing_type_id'>
{PACKING_TYPE_ID}
</select>
</span sugar='slot'></td>
<td class="dataLabel"><span sugar='slot71'>{MOD.LBL_CERTIFICATE_OF_ORIGIN}</span sugar='slot'></td>
<td class="dataField"><span sugar='slot71b'>
<input id="certificate_of_origin" title="Certificate of origin" type="checkbox" title="{CERTIFICATE_OF_ORIGIN_HELP}" name="certificate_of_origin" {CERTIFICATE_OF_ORIGIN}/>
</span sugar='slot'> </td>
</tr>
<tr>
<td valign="top" class="dataLabel"><span sugar='slot59'>{MOD.LBL_PACKING_DIMENSIONS_1}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot59b'>
<input name='packing_dimensions_1' title="Packing dimensions (cm)" tabindex='59' size='3' maxlength='25' type="text" value="{PACKING_DIMENSIONS_1}" />
</span sugar='slot'> x
<input name='packing_dimensions_2' title="Packing dimensions (cm)" tabindex='60' size='3' maxlength='25' type="text" value="{PACKING_DIMENSIONS_2}" />
x
<input name='carton_dimensions_32' title="Carton dimensions (m)" tabindex='65' size='3' maxlength='25' type="text" value="{CARTON_DIMENSIONS_3}" /></td>
<td class="dataLabel"><span sugar='slot72'>{MOD.LBL_FORM_A}</span sugar='slot'></td>
<td class="dataField"><span sugar='slot72b'>
<input id="form_a" title="Form A" type="checkbox" title="{FORM_A_HELP}" name="form_a" {FORM_A}/>
</span sugar='slot'> </td>
</tr>
<tr>
<td valign="top" class="dataLabel"><span sugar='slot62'>{MOD.LBL_RMA}</span sugar='slot'></td>
<td valign="top" class="dataField"><span sugar='slot62b'>
<input name='rma' title="RMA (%)" tabindex='62' maxlength='25' type="text" value="{RMA}" />
</span sugar='slot'> </td>
<td class="dataLabel">&nbsp;</td>
<td class="dataField">&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
<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="25%"><strong>{MOD.LBL_LOCALIZED_INFORMATION}</strong></td>
<td width="25%">
<select name="slang" id="slang" onchange="select_lang(this.value);">
<option value="pl">pl</option>
<option value="en">en</option>
<option value="de">de</option>
</select>
</td>
<td width="25%">&nbsp;</td>
<td width="25%">&nbsp;</td>
</tr>
<tr id="row0en" style="display:none;">
<td class="dataLabel">&nbsp;</td>
<td class="dataField">&nbsp;</td>
<td class="dataLabel">&nbsp;</td>
<td class="dataField">&nbsp;</td>
</tr>
<tr id="row1en" style="display:none;">
<td valign="top" class="dataLabel"><span class="tabDetailViewDL">{MOD.LBL_LOCAL_EAN}</span></td>
<td valign="top" class="dataField"><input name="ean_en" type="text" id="ean_en" value="{EAN_en}" /></td>
<td valign="top" class="dataLabel"><span class="tabDetailViewDL">{MOD.LBL_REMARKS}</span></td>
<td valign="top" class="dataField"><input name="remarks_en" type="text" id="remarks_en" value="{REMARKS_en}" /></td>
</tr>
<tr id="row2en" style="display:none;">
<td width="25%" valign="top" class="dataLabel"><span class="tabDetailViewDL">{MOD.LBL_SHORT_DESCRIPTION}</span></td>
<td width="25%" valign="top" class="dataField"><textarea name="short_description_en" rows="5" id="short_description_en">{SHORT_DESCRIPTION_en}</textarea></td>
<td width="25%" valign="top" class="dataLabel"><span class="tabDetailViewDL">{MOD.LBL_LONG_DESCRIPTION}</span></td>
<td width="25%" valign="top" class="dataField"><textarea name="long_description_en" rows="5" id="long_description_en">{LONG_DESCRIPTION_en}</textarea></td>
</tr>
<tr id="row0de" style="display:none;">
<td class="dataLabel">&nbsp;</td>
<td class="dataField">&nbsp;</td>
<td class="dataLabel">&nbsp;</td>
<td class="dataField">&nbsp;</td>
</tr>
<tr id="row1de" style="display:none;">
<td valign="top" class="dataLabel"><span class="tabDetailViewDL">{MOD.LBL_LOCAL_EAN}</span></td>
<td valign="top" class="dataField"><input name="ean_de" type="text" id="ean_de" value="{EAN_de}" /></td>
<td valign="top" class="dataLabel"><span class="tabDetailViewDL">{MOD.LBL_REMARKS}</span></td>
<td valign="top" class="dataField"><input name="remarks_de" type="text" id="remarks_de" value="{REMARKS_de}" /></td>
</tr>
<tr id="row2de" style="display:none;">
<td width="25%" valign="top" class="dataLabel"><span class="tabDetailViewDL">{MOD.LBL_SHORT_DESCRIPTION}</span></td>
<td width="25%" valign="top" class="dataField"><textarea name="short_description_de" rows="5" id="short_description_de">{SHORT_DESCRIPTION_de}</textarea></td>
<td width="25%" valign="top" class="dataLabel"><span class="tabDetailViewDL">{MOD.LBL_LONG_DESCRIPTION}</span></td>
<td width="25%" valign="top" class="dataField"><textarea name="long_description_de" rows="5" id="long_description_de">{LONG_DESCRIPTION_de}</textarea></td>
</tr>
<tr id="row0pl" style="display:table-row;">
<td class="dataLabel">&nbsp;</td>
<td class="dataField">&nbsp;</td>
<td class="dataLabel">&nbsp;</td>
<td class="dataField">&nbsp;</td>
</tr>
<tr id="row1pl" style="display:table-row;">
<td valign="top" class="dataLabel"><span class="tabDetailViewDL">{MOD.LBL_LOCAL_EAN}</span></td>
<td valign="top" class="dataField"><input name="ean_pl" type="text" id="ean_pl" value="{EAN_pl}" /></td>
<td valign="top" class="dataLabel"><span class="tabDetailViewDL">{MOD.LBL_REMARKS}</span></td>
<td valign="top" class="dataField"><input name="remarks_pl" type="text" id="remarks_pl" value="{REMARKS_pl}" /></td>
</tr>
<tr id="row2pl" style="display:table-row;">
<td width="25%" valign="top" class="dataLabel"><span class="tabDetailViewDL">{MOD.LBL_SHORT_DESCRIPTION}</span></td>
<td width="25%" valign="top" class="dataField"><textarea name="short_description_pl" rows="5" id="short_description_pl">{SHORT_DESCRIPTION_pl}</textarea></td>
<td width="25%" valign="top" class="dataLabel"><span class="tabDetailViewDL">{MOD.LBL_LONG_DESCRIPTION}</span></td>
<td width="25%" valign="top" class="dataField"><textarea name="long_description_pl" rows="5" id="long_description_pl">{LONG_DESCRIPTION_pl}</textarea></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 -->

View File

@@ -0,0 +1,140 @@
<!--
/*****************************************************************************
* 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/EcmProductB2Bs/helper.js"></script>
<script language="javascript">
function check_all_prod(){
var pl=document.getElementById("list_prod");
var ch=pl.getElementsByTagName("input");
for(var i=0;i<ch.length;i++){
if(ch[i].type=="checkbox"){
ch[i].checked=true;
}
}
}
</script>
<form name="AddToPriceBook" method="post" action="index.php">
<input type="hidden" name="to_pdf" value="1">
<input type="hidden" name="module" value="EcmPriceBooks">
<input type="hidden" name="action" value="AddToPriceBook">
<input class="button" type="submit" value="Update"><br><br>
<div id="list_prod">
<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" width="1%" class="listViewThS1" NOWRAP><input type="checkbox" name="check_all" onclick="check_all_prod();"/></td>
<td scope="col" width="32%" class="listViewThS1" NOWRAP><slot><a href="{ORDER_BY}name" class="listViewThLinkS1">{MOD.LBL_LIST_NAME}{arrow_start}{name_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="9%" class="listViewThS1" nowrap="nowrap"><slot><a href="{ORDER_BY}code" class="listViewThLinkS1">{MOD.LBL_LIST_CODE}{arrow_start}{code_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="9%" class="listViewThS1" nowrap="nowrap"><slot><a href="{ORDER_BY}commission_rate" class="listViewThLinkS1">{MOD.LBL_LIST_COMMISSION_RATE}{arrow_start}{commission_rate_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="9%" class="listViewThS1" nowrap="nowrap"><slot><a href="{ORDER_BY}qty_per_unit" class="listViewThLinkS1">{MOD.LBL_LIST_QTY_PER_UNIT}{arrow_start}{qty_per_unit_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="9%" class="listViewThS1" nowrap="nowrap"><slot><a href="{ORDER_BY}purchase_price" class="listViewThLinkS1">{MOD.LBL_LIST_UNIT_PRICE}{arrow_start}{purchase_price_arrow}{arrow_end}</a></slot></td>
<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>
<td scope="col" width="1%" class="listViewThS1" NOWRAP><slot>&nbsp;</slot></td>
<td scope="col" width="1%" class="listViewThS1" NOWRAP><slot>&nbsp;</slot></td>
<td scope="col" width="1%" class="listViewThS1" NOWRAP><slot>&nbsp;</slot></td>
<td scope="col" width="1%" class="listViewThS1" NOWRAP><slot>&nbsp;</slot></td>
<td scope="col" width="1%" class="listViewThS1" NOWRAP><slot>&nbsp;</slot></td>
</tr>
<!-- BEGIN: row -->
<tr height="20"
onmouseover="setPointer(this, '{ECMPRODUCT.NAME}', 'over', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmouseout="setPointer(this, '{ECMPRODUCT.NAME}', 'out', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmousedown="setPointer(this, '{ECMPRODUCT.NAME}', 'click', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');">
<td scope='row' valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}"><input type="hidden" name="product_id[]" value="{ECMPRODUCT.ID}"><input onclick="getPrice('{ECMPRODUCT.ID}','up');ShowHideBlock('price_block2_{ECMPRODUCT.ID}');ShowHideBlock('price_block3_{ECMPRODUCT.ID}');" type="checkbox" name="check[]" value="{ECMPRODUCT.ID}"></td>
<td scope='row' valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">
<slot>
<{TAG.MAIN} href="{URL_PREFIX}index.php?action=DetailView&module=EcmProductB2Bs&record={ECMPRODUCT.ID}&offset={ECMPRODUCT.OFFSET}&stamp={ECMPRODUCT.STAMP}" class="listViewTdLinkS1">{ECMPRODUCT.NAME}</{TAG.MAIN}> </slot> </td>
<td valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap="nowrap"><slot>{ECMPRODUCT.CODE}</slot></td>
<td valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap="nowrap"><slot>{ECMPRODUCT.COMMISSION_RATE}</slot></td>
<td valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap="nowrap"><slot>{ECMPRODUCT.QTY_PER_UNIT}</slot></td>
<td valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap="nowrap"><slot>PLN: {ECMPRODUCT.PURCHASE_PRICE}</slot></td>
<!-- BEGIN: pro -->
<!-- END: pro -->
<!-- BEGIN: open_source -->
<!-- END: open_source -->
<td valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap><slot>{ECMPRODUCT.ASSIGNED_USER_NAME}</slot></td>
<td valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap>
<div id="price_block1_{ECMPRODUCT.ID}" style="display:none;">
<input onchange="getPrice('{ECMPRODUCT.ID}','down');" onclick="getPrice('{ECMPRODUCT.ID}','up');" name="purchase_price_{ECMPRODUCT.ID}" type="hidden" id="purchase_price_{ECMPRODUCT.ID}" value="{ECMPRODUCT.PURCHASE_PRICE}" size="5" />
</div>
<td>
<div id="price_block2_{ECMPRODUCT.ID}" style="display:none;">
<input onchange="getPrice('{ECMPRODUCT.ID}','down');" onclick="getPrice('{ECMPRODUCT.ID}','up');" name="margin_rate_{ECMPRODUCT.ID}" type="text" id="margin_rate_{ECMPRODUCT.ID}" value="20" size="2" />
</td>
<td>
<div id="price_block3_{ECMPRODUCT.ID}" style="display:none;">
<input onchange="getPrice('{ECMPRODUCT.ID}','down');" onclick="getPrice('{ECMPRODUCT.ID}','up');" name="list_price_{ECMPRODUCT.ID}" type="text" id="list_price_{ECMPRODUCT.ID}" value="" size="6" />
<script>getPrice('{ECMPRODUCT.ID}','up');</script>
</div>
</td>
<td valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap><a href="index.php?module=EcmProductB2Bs&action=EditView&record={ECMPRODUCT.ID}"><img src="themes/Sugar/images/edit_inline.gif" border="0" title="Edit"/></a></td>
<!--<td valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap><a href="#" onclick="if(confirm('Are You sure?')){location.href='index.php?module=EcmProductB2Bs&action=Delete&record={ECMPRODUCT.ID};'}"><img src="themes/Sugar/images/delete_inline.gif" border="0" title="Delete"/></a></td>-->
</tr>
<tr><td colspan="23" class="listViewHRS1"></td></tr>
<!-- END: row -->
{PAGINATION}
</table>
</div>
<script>
document.forms.search_form.action.value="ListViewAddToPriceBook";
</script>
<!-- END: main -->

View File

@@ -0,0 +1,104 @@
<!--
/*****************************************************************************
* 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/EcmProductB2Bs/helper.js"></script>
<input type="submit" name="addtopricebook" class="button" value="Add to pricebook" onclick="this.form.action.value='AddToPriceBook';this.form.module.value='EcmPriceBooks';"/>
<br />
<br />
<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" width="1%" class="listViewThS1" NOWRAP>{CHECKALL}</td>
<td scope="col" width="32%" class="listViewThS1" NOWRAP><slot><a href="{ORDER_BY}name" class="listViewThLinkS1">Product name{arrow_start}{name_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="9%" class="listViewThS1" nowrap="nowrap"><slot><a href="{ORDER_BY}product_index" class="listViewThLinkS1">Product code{arrow_start}{product_index_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="9%" class="listViewThS1" nowrap="nowrap"><slot><a href="{ORDER_BY}commission_rate_index" class="listViewThLinkS1">Commission rate {arrow_start}{commission_rate_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="9%" class="listViewThS1" nowrap="nowrap"><slot><a href="{ORDER_BY}qty_per_unit_index" class="listViewThLinkS1">Qty per unit{arrow_start}{qty_per_unit_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="9%" class="listViewThS1" nowrap="nowrap"><slot><a href="{ORDER_BY}unit_price" class="listViewThLinkS1">Unit price {arrow_start}{unit_price_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="9%" class="listViewThS1" NOWRAP><slot><a href="{ORDER_BY}users.user_name" class="listViewThLinkS1"></a></slot></td>
</tr>
<!-- BEGIN: row -->
<tr height="20"
onmouseover="setPointer(this, '{ECMPRODUCT.NAME}', 'over', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmouseout="setPointer(this, '{ECMPRODUCT.NAME}', 'out', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmousedown="setPointer(this, '{ECMPRODUCT.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=EcmProductB2Bs&record={ECMPRODUCT.ID}&offset={ECMPRODUCT.OFFSET}&stamp={ECMPRODUCT.STAMP}" class="listViewTdLinkS1">{ECMPRODUCT.NAME}</{TAG.MAIN}> </slot> </td>
<td valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap="nowrap"><slot>{ECMPRODUCT.PRODUCT_INDEX}</slot></td>
<td valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap="nowrap"><slot>{ECMPRODUCT.COMMISSION_RATE}</slot></td>
<td valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap="nowrap"><slot>{ECMPRODUCT.QTY_PER_UNIT}</slot></td>
<td valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap="nowrap"><slot>PLN: {ECMPRODUCT.UNIT_PRICE}</slot></td>
<!-- BEGIN: pro -->
<!-- END: pro -->
<!-- BEGIN: open_source -->
<!-- END: open_source -->
<td valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap><slot>
<div id="price_block_{ECMPRODUCT.ID}" style="display:block;">
<input name="unit_price_{ECMPRODUCT.ID}" type="text" id="unit_price_{ECMPRODUCT.ID}" value="{ECMPRODUCT.UNIT_PRICE}" size="2" onblur="getPrice('{ECMPRODUCT.ID}','down')" onchange="getPrice('{ECMPRODUCT.ID}','down')" onclick="getPrice('{ECMPRODUCT.ID}','down')" onkeydown="getPrice('{ECMPRODUCT.ID}','down')" />
<input name="margin_rate_{ECMPRODUCT.ID}" type="text" id="margin_rate_{ECMPRODUCT.ID}" value="20" size="2" onblur="getPrice('{ECMPRODUCT.ID}','down')" onchange="getPrice('{ECMPRODUCT.ID}','down')" onclick="getPrice('{ECMPRODUCT.ID}','down')" onkeydown="getPrice('{ECMPRODUCT.ID}','down')" />
<input name="list_price_{ECMPRODUCT.ID}" type="text" id="list_price_{ECMPRODUCT.ID}" value="" size="2" onblur="getPrice('{ECMPRODUCT.ID}','down')" onchange="getPrice('{ECMPRODUCT.ID}','down')" onclick="getPrice('{ECMPRODUCT.ID}','down')" onkeydown="getPrice('{ECMPRODUCT.ID}','down')" />
</slot><script>getPrice('{ECMPRODUCT.ID}','down');</script></div></td>
</tr>
<tr><td colspan="22" class="listViewHRS1"></td></tr>
<!-- END: row -->
{PAGINATION}
</table>
<!-- END: main -->

View File

@@ -0,0 +1,8 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>MenuMaker produced NavBar</title>
</head>
<body bgcolor="#ffffff" text="BLACK">
<script src="xaramenu.js"></script><script menumaker src="ecmproducts.js"></script>
</body></html>

View 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}&nbsp;&nbsp;<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>mmmmmmmm</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, '{ecmproducts.ID}', 'over', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmouseout ="setPointer(this, '{ecmproducts.ID}', 'out', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmousedown="setPointer(this, '{ecmproducts.ID}', 'click', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');">
<td scope='row' class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}"><a href="#" onclick="set_return('{.ID}', '{ecmproducts.NAME}'); window.close();" class="listViewTdLinkS1">{ecmproducts.NAME}</a></td>
<td class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">{ecmproducts.ASSIGNED_USER_NAME}</td>
</tr>
<tr>
<td colspan="20" class="listViewHRS1"></td>
</tr>
<!-- END: row -->
</table>
<!-- END: main -->

View File

@@ -0,0 +1,149 @@
<!--
/*****************************************************************************
* 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 class="dataLabel" nowrap="nowrap">{MOD.LBL_NAME}&nbsp;&nbsp;</td>
<td class="dataLabel" nowrap="nowrap"><input type="text" name="name" size="20" class="dataField" value="{NAME}" /></td>
<td class="dataLabel" nowrap="nowrap">{MOD.LBL_CODE}&nbsp;&nbsp; </td>
<td class="dataLabel" nowrap="nowrap"><input name="code" type="text" class="dataField" id="code" value="{CODE}" size="20" /></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="mode" value="{MULTI_SELECT}" />
</td>
</tr>
<tr>
<td nowrap="nowrap" class="dataLabel">{MOD.LBL_PRODUCT_CATEGORY}&nbsp;&nbsp; </td>
<td nowrap="nowrap" class="dataLabel"><select name="product_category" id="select">
{PRODUCT_CATEGORY}
</select></td>
<td nowrap="nowrap" class="dataLabel">&nbsp;</td>
<td nowrap="nowrap" class="dataLabel">&nbsp;</td>
<td align="right"><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>
</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());
}
-->
</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="5%" class="listViewThS1" NOWRAP>{CHECKALL}</td>
<td scope="col" width="15%" class="listViewThS1" NOWRAP>&nbsp;</td>
<td scope="col" width="15%" class="listViewThS1" NOWRAP>
<a href="{ORDER_BY}code" class="listViewThLinkS1">{MOD.LBL_CODE}{arrow_start}{code_arrow}{arrow_end}</a>
</td>
<td scope="col" width="35%" class="listViewThS1" NOWRAP>
<a href="{ORDER_BY}name" class="listViewThLinkS1">{MOD.LBL_NAME}{arrow_start}{name_arrow}{arrow_end}</a>
</td>
<td scope="col" width="35%" class="listViewThS1" NOWRAP>
<a href="{ORDER_BY}product_category" class="listViewThLinkS1">{MOD.LBL_PRODUCT_CATEGORY}{arrow_start}{product_category_arrow}{arrow_end}</a>
</td>
</tr>
<!-- BEGIN: row -->
<tr height="20"
onmouseover="setPointer(this, '{ECMPRODUCT.ID}', 'over', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmouseout="setPointer(this, '{ECMPRODUCT.ID}', 'out', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmousedown="setPointer(this, '{ECMPRODUCT.ID}', '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}">{ECMPRODUCT.IMAGE}</td>
<td scope="row" valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">{ECMPRODUCT.CODE}</td>
<td scope="row" valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">
<a href="#"
onclick="send_back('EcmProductB2B','{ECMPRODUCT.ID}');"
class="listViewTdLinkS1">{ECMPRODUCT.NAME}</a>
</td>
<td scope="row" valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">{ECMPRODUCT.PRODUCT_CATEGORY}</td>
</tr>
<tr>
<td colspan="20" class="listViewHRS1"></td>
</tr>
<!-- END: row -->
</table>
{ASSOCIATED_JAVASCRIPT_DATA}
<!-- END: main -->

View File

@@ -0,0 +1,154 @@
<!--
/*****************************************************************************
* 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="10%" valign="top" noWrap class="dataLabel">
<span sugar='slot1'>{MOD.LBL_NAME}</span sugar='slot'> </td>
<td width="20%" valign="top" class="dataField">
<span sugar='slot1b'>
<input type=text name="name_basic" class=dataField value="{NAME}" />
</span sugar='slot'> </td>
<td width="10%" valign="top" class="dataLabel"><span sugar='slot2'>{MOD.LBL_CODE}</span sugar='slot'></td>
<td width="20%" valign="top" class="dataField"><input name='code_basic' type="text" tabindex='2' title="Product index" value="{PRODUCT_INDEX}" maxlength='40' /></td>
<td width="15%" valign="top" class="dataLabel">{APP.LBL_CURRENT_USER_FILTER}&nbsp;&nbsp;</td>
<td width="15%" valign="top" class="dataField"><input name='current_user_only_basic' onchange='this.form.submit();' class="checkbox" type="checkbox" {current_user_only} /></td>
</tr>
<tr><td width="10%" valign="top" class="dataLabel">{MOD.LBL_MANUFACTURER}</td>
<td width="20%" valign="top" class="dataField"><select style="width:121px;" name="manufacturer_basic">{MANUFACTURER}</select></td>
<td width="20%" valign="top" class="dataLabel">{MOD.LBL_PRODUCT_CATEGORY}</td>
<td width="20%" valign="top" class="dataField"><select style="width:121px;" name="product_category_basic">{PRODUCT_CATEGORY}</select></td>
<td width="10%" valign="top" class="dataLabel">{MOD.LBL_UNIT_PRICE}</td>
<td width="20%" valign="top" class="dataField"><input name='unit_price_basic' type="text" tabindex='2' value="{UNIT_PRICE}" maxlength='40' /></td>
</tr>
<tr>
</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="10%" valign="top" class="dataLabel"><span sugar='slot1'>{MOD.LBL_NAME}</span sugar='slot'></td>
<td width="20%" valign="top" class="dataField"><span sugar='slot1b'><input name='name' type="text" tabindex='1' maxlength='50' value="{NAME}">
</span sugar='slot'></td>
<td width="10%" valign="top" class="dataLabel"><span sugar='slot`3`'>{MOD.LBL_CODE}</span sugar='slot'></td>
<td width="20%" valign="top" class="dataField"><span sugar='slot`3`b'>
<input name='code' type="text" tabindex='`3`' title="Product index" value="{PRODUCT_INDEX}" maxlength='40' />
</span sugar='slot'> </td>
<td width="15%" valign="top" class="dataField"><span class="dataLabel"><span sugar='slot2'>{APP.LBL_ASSIGNED_TO}</span sugar='slot'></span></td>
<td width="15%" 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 valign="top" class="dataLabel">{MOD.LBL_MANUFACTURER}</td>
<td valign="top" class="dataField"><select style="width:121px;" name="manufacturer">
{MANUFACTURER}
</select></td>
<td valign="top" class="dataLabel">{MOD.LBL_PRODUCT_CATEGORY}</td>
<td valign="top" class="dataField"><select style="width:121px;" name="product_category">
{PRODUCT_CATEGORY}
</select></td>
<td valign="top" class="dataLabel">&nbsp;</td>
<td valign="top" class="dataField">&nbsp;</td>
</tr>
<tr>
<td valign="top" class="dataLabel">{MOD.LBL_COMMISSION_RATE}</td>
<td valign="top" class="dataField"><input name='commission_rate' type="text" id="commission_rate" tabindex='1' value="{COMMISSION_RATE}" maxlength='50' /></td>
<td valign="top" class="dataLabel">{MOD.LBL_QTYUNIT}</td>
<td valign="top" class="dataField"><input name='qty_per_unit' type="text" id="qty_per_unit" tabindex='1' value="{QTY_PER_UNIT}" maxlength='50' /></td>
<td valign="top" class="dataLabel">{MOD.LBL_UNIT_PRICE} </td>
<td valign="top" class="dataField"><input name='unit_price' type="text" tabindex='2' value="{UNIT_PRICE}" maxlength='40' /></td>
</tr>
<tr>
<td valign="top" class="dataLabel">{MOD.LBL_START_DATE}</td>
<td valign="top" class="dataField"><input name='sales_start_date'
onblur="parseDate(this, '{CALENDAR_DATEFORMAT}');"
id='jscal_fieldsales_start_date'
type="text"
tabindex='10'
size='11'
maxlength='10'
value="{SALES_START_DATE}" />
<img src="themes/default/images/jscalendar.gif" alt="{APP.LBL_ENTER_DATE}" id="jscal_triggersales_start_date" align="absmiddle" />
<script>Calendar.setup ({inputField : 'jscal_fieldsales_start_date', ifFormat : '{CALENDAR_DATEFORMAT}', showsTime : false, button : 'jscal_triggersales_start_date', singleClick : true, step : 1});
</script></td>
<td valign="top" class="dataLabel">{MOD.LBL_END_DATE}</td>
<td valign="top" class="dataField"><input name='sales_end_date'
onblur="parseDate(this, '{CALENDAR_DATEFORMAT}');"
id='jscal_fieldsales_end_date'
type="text"
tabindex='10'
size='11'
maxlength='10'
value="{SALES_END_DATE}" />
<img src="themes/default/images/jscalendar.gif" alt="{APP.LBL_ENTER_DATE}" id="jscal_triggersales_end_date" align="absmiddle" />
<script>Calendar.setup ({inputField : 'jscal_fieldsales_end_date', ifFormat : '{CALENDAR_DATEFORMAT}', showsTime : false, button : 'jscal_triggersales_end_date', singleClick : true, step : 1});
</script></td>
<td valign="top" class="dataLabel">{MOD.LBL_PRODUCT_ACTIVE}</td>
<td valign="top" class="dataField"><input name='product_active' onchange='this.form.submit();' class="checkbox" type="checkbox" value="1" {PRODUCT_ACTIVE} /></td>
</tr>
<tr> </tr>
</table>
</td>
</tr>
</table>
<!-- END: advanced -->

View 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>&nbsp;</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, '{ECMPRODUCTS.ID}', 'over', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmouseout="setPointer(this, '{ECMPRODUCTS.ID}', 'out', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmousedown="setPointer(this, '{ECMPRODUCTS.ID}', 'click', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');">
<td scope='row' valign=TOP bgcolor="{BG_COLOR}" class="{ROW_COLOR}S1" ><slot>{ECMPRODUCTS.NUMBER}</slot></td>
<td valign=TOP bgcolor="{BG_COLOR}" class="{ROW_COLOR}S1" ><slot>
<a href="{URL_PREFIX}index.php?action=DetailView&module=EcmProductB2Bs&record={ECMPRODUCTS.ID}" class="listViewTdLinkS1">{ECMPRODUCTS.NAME}</a></slot>
</td>
<td valign=TOP bgcolor="{BG_COLOR}" class="{ROW_COLOR}S1" ><slot>{ECMPRODUCTS.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=EcmProductB2Bs&record={ECMPRODUCTS.ID}{RETURN_URL}">{EDIT_INLINE_PNG}</a>&nbsp;
<a class="listViewTdToolsS1" href="{URL_PREFIX}index.php?action=EditView&module=EcmProductB2Bs&record={ECMPRODUCTS.ID}{RETURN_URL}">{APP.LNK_EDIT}</a>
</slot>
</td>
<td scope='row' valign=TOP bgcolor="{BG_COLOR}" class="{ROW_COLOR}S1" ><slot>{ECMPRODUCTS.NAME}</slot></td>
<td valign=TOP bgcolor="{BG_COLOR}" class="{ROW_COLOR}S1" >
<slot>
<a href="{URL_PREFIX}index.php?action=DetailView&module=EcmProductB2Bs&record={ECMPRODUCTS.ID}" class="listViewTdLinkS1">{ECMPRODUCTS.NAME}</a>
</slot>
</td>
</tr>
<tr>
<td colspan="20" class="listViewHRS1"></td>
</tr>
<!-- END: row -->
</table>
<!-- END: main -->

View File

@@ -0,0 +1 @@
Nazwa towaru: Głośniki Bluetooth BT013<br>Kod towaru: RE02139<br><img src="https://95.50.148.50/e5new/qrfile/005_file_0b36935b9383c2d91a8bdb3133af1b9c.png" />