Add TPL files
This commit is contained in:
3
modules/EcmInventorys/tpl/DetailView_create_ks_button.tpl
Executable file
3
modules/EcmInventorys/tpl/DetailView_create_ks_button.tpl
Executable file
@@ -0,0 +1,3 @@
|
||||
{if $fields.status.value == 'in_create'}
|
||||
<input id='create_ks' type='button' value='Utwórz dokumenty KS'>
|
||||
{/if}
|
||||
3
modules/EcmInventorys/tpl/DetailView_edit_button.tpl
Executable file
3
modules/EcmInventorys/tpl/DetailView_edit_button.tpl
Executable file
@@ -0,0 +1,3 @@
|
||||
{if $fields.status.value == 'in_create'}
|
||||
<input id='edit_button' type='button' value='Edycja' onclick="document.location.href='index.php?module=EcmInventorys&action=EditView&isDuplicate=false&record={$fields.id.value}'">
|
||||
{/if}
|
||||
4
modules/EcmInventorys/tpl/DetailView_product_list.tpl
Executable file
4
modules/EcmInventorys/tpl/DetailView_product_list.tpl
Executable file
@@ -0,0 +1,4 @@
|
||||
<link rel="stylesheet" type="text/css" href="modules/Accounts/MyTable.css" />
|
||||
<div id="itemsTable" style="width:100%;border: 1px solid rgb(48,192,255);background-color:white;overflow:auto;">
|
||||
<table id='position_list' class='positions'></table>
|
||||
</div>
|
||||
48
modules/EcmInventorys/tpl/EditView_product_list.tpl
Executable file
48
modules/EcmInventorys/tpl/EditView_product_list.tpl
Executable file
@@ -0,0 +1,48 @@
|
||||
<link rel="stylesheet" type="text/css" href="modules/Accounts/MyTable.css" />
|
||||
|
||||
<input class="button primary" type="button" value="Dodaj z magazynu" id="add_from_stock" style="padding:2;">
|
||||
<table style="width:50%">
|
||||
<tr>
|
||||
<td style="width:50%">
|
||||
<select id="add_options">
|
||||
<option value="all_positions">Wszystkie pozycje</option>
|
||||
<option value="not_eq_zero">Niezerowe</option>
|
||||
<option value="eq_zero">Zerowe</option>
|
||||
</select>
|
||||
</td>
|
||||
<td style="width:50%">
|
||||
<input type="checkbox" id="rewrite_state" value="rewrite_state"> Przepisz stan<br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<div id="searchProducts" class="edit view search basic">
|
||||
<br>
|
||||
<input type="hidden" id="searchStart" name="searchStart" value="0">
|
||||
<input type="hidden" id="searchCount" name="searchCount" value="">
|
||||
<input type="hidden" id="searchSort" name="searchSort" value="1">
|
||||
{$MOD.LBL_SEARCH}:
|
||||
<input type="text" value="" id="searchProductsInput"/>
|
||||
<img onclick="$('#searchProductsInput').val('%');searchProducts();" src="modules/EcmSales/images/search.gif" style="cursor: pointer;">
|
||||
{$MOD.LBL_CATEGORY}:
|
||||
<select id="productSearchCategory"></select>
|
||||
{$MOD.LBL_SEARCH_STOCK}:
|
||||
<select id="productSearchStock" onchange="searchProducts();">
|
||||
<option value="1">{$MOD.LBL_SEARCH_STOCK_OPT_NO}</option>
|
||||
<option value="2" selected="selected">{$MOD.LBL_SEARCH_STOCK_OPT_YES}</option>
|
||||
<option value="3">{$MOD.LBL_SEARCH_STOCK_OPT_NOT_NULL}</option>
|
||||
</select>
|
||||
|
||||
<button onclick="createProduct();" class="button" type="button"><img src="themes/default/images/id-ff-add.png"></button>
|
||||
<input type="hidden" id="newProductId" value=""/>
|
||||
</div>
|
||||
|
||||
<div id="searchResultDiv"/></div>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<div id="itemsTable" style="width:100%;border: 1px solid rgb(48,192,255);background-color:white;overflow:auto;">
|
||||
<table id='position_list' class='positions'></table>
|
||||
</div>
|
||||
Reference in New Issue
Block a user