
<input type="hidden" name="position_list" id="position_list" value='{$POSITION_LIST}'/>
<input type="hidden" name="temp_id" id="temp_id" value='{$TEMP_ID}'/>
<input type="hidden" name="parent_doc_type" id="parent_doc_type" value='EcmOfferes'/>

<table id="searchTable' cellspacing="0" cellpadding="0" border="0"><tr><td width="19"><img src="modules/EcmPurchaseOrders/images/EcmOfferes.gif" style="margin-top: 3px; margin-right: 3px;" width="16" border="0" height="16"></td>
<td width="402"><h2>Wystaw fakture</h2></td></tr></table>
<input type="button" class="button" onClick="createEcmInvoiceCosOut();" value="Dalej"/>
<br />
{literal}
<script type="text/javascript" src="modules/EcmOfferes/MyTable.js"></script>
<script type="text/javascript" src="modules/EcmOfferes/CreateInvoice.js"></script>
<script type="text/javascript" src="include/JSON.js"></script>
{/literal}
						<link rel="stylesheet" type="text/css" href="modules/EcmPurchaseOrders/MyTable.css" />
          				<link rel="stylesheet" type="text/css" href="modules/EcmOfferes/AjaxSearch/AjaxSearch.css" />
          				<div style="width:100%;border: 1px solid rgb(48,192,255);background-color:white;height:{$OPT.position_table_height}px;max-height:{$OPT.position_table_height}px;overflow:auto;" id="itemsTableDIV">
							<table class="positions" style="width:100%;" id="itemsTable">
								<thead id="head">
									<tr id="tr">
									    <td width="2%"><input type="checkbox" onClick="select_all(this);"name="select_all" value="0"></td>
										<td width="2%">Poz.</td>
										<td width="8%">{$MOD.LBL_EDITTABLE_CODE}</td>
										<td width="15%">{$MOD.LBL_EDITTABLE_NAME}</td>
										<td width="5%">Ilość</td>
										<td width="5%">Numer zamówienia</td>
									</tr>
								</thead>
								<tbody id="tbody">
								</tbody>
							</table>
						</div>
