<form action="index.php?form=7&act=15&act_adm=1&id={$SUBID}&subid={$MAIN_ID}&searchResMat=1&rmLager={$rmLager}" method="post" enctype="multipart/form-data" >
|
<!--input type="file" class="btn btn-info" style="padding:4px; min-width: 200px;display:inline;width:128px;height:128px; background: url(images/camera-icon.png) no-repeat 100% 100%;background-position: center center;background-size: cover;" name="fileResMat" accept="image/*" capture="camera"-->
|
|
<div class="image-upload">
|
<label for="file-input" style="cursor: pointer;">
|
<img src="images/camera-icon.png" width="50%" style="pointer-events: none;"/>
|
</label>
|
<input type="submit" class="btn btn-info" style="display:none;margin:4px; min-width: 200px;min-height:40px;" name="Upload" id="Upload" value="Upload">
|
<!--span class="btn btn-warning" style="display:inline;margin:4px; min-width: 200px;min-height:40px;">{$time}</span-->
|
|
<input id="file-input" type="file" style="visibility:hidden;width:0;height:0" name="fileResMat" accept="image/*" capture="camera" />
|
<script type="text/javascript">
|
GID("file-input").onchange = function() {
|
xajax.loadingFunction();
|
GID("Upload").click();
|
};
|
</script>
|
</div>
|
|
<div class="panel panel-info">
|
|
<div width="100%" align="center"><h4><b>Materialkategorien</b></h4></div>
|
<div style="float:left;width:300px;">
|
<div id="div_select-all-a" style="display:inline;float:left;" class="checkbox_checked">
|
<input type="checkbox" checked id="select-all-a" title="Check All" onclick="CheckAll(this, 'ids')" />
|
</div>
|
|
<div style="display:inline;float:left;width:25px;"><h5>All</h5></div>
|
|
{$model}
|
</div>
|
<div style="float:left;">
|
{for $i=0 to sizeof($FiltersObozn1) step 1}
|
{if $FiltersObozn1[$i]['text']}
|
<div style="margin:0px; padding:0px; float: left; width:250px;">
|
<div style="display:inline;float:left;" id="div_cb{$FiltersObozn1[$i]['id']}" class="checkbox_checked">
|
<input type="checkbox" checked name="ids[{$FiltersObozn1[$i]['id']}]" id="cb{$FiltersObozn1[$i]['id']}" onclick="CheckThis(this);">
|
</div><div style="display:inline;float:left;">{$FiltersObozn1[$i]['text']}</div>
|
</div>
|
{/if}
|
{/for}
|
</div>
|
</div>
|
|
{if $RMresult}
|
<table id="tResults" class="tableone" style="width:100%;margin-top:4px;" summary="T">
|
<tbody>
|
<!--tr><td> </td><td style="color:#000;text-align:left;padding-left:20px;"><h3><b>Erkennungszeit: {$time} sec.</b></h3></td></tr-->
|
|
{section name=sec loop=$RMresult}
|
<tr><td style="width:260px;margin-top:4px;">
|
<a href="index.php?form=7&act=15&act_adm=1&id={$SUBID}&mat_id={$RMresult[sec][0]}&rmLager={$rmLager}&count={$RMresult[sec][4]}">
|
<img style="max-width:210px;" width="100%" src="{$HOST}{$RMresult[sec][1]}" title="{$RMresult[sec][2]}">
|
</a>
|
</td>
|
<td style="color:#000;text-align:left;padding-left:50px;" rowspan="2">
|
<a href="index.php?form=7&act=15&act_adm=1&id={$SUBID}&mat_id={$RMresult[sec][0]}&rmLager={$rmLager}&count={$RMresult[sec][4]}">
|
<!--img style="max-heght:100px;" src="{$HOST}{$RMresult[sec][1]}" title="{$RMresult[sec][2]}"-->
|
<!--button type="button" class="btn btn-success btn-warning" style="margin:4px;min-width: 200px;min-height:80px;height:100%;" onclick="location.href='{$GRID_LINK}&id={$id}&mark={$RMresult[sec][0]}'" title="GOOD"><span class="glyphicon glyphicon-thumbs-up"></span></button-->
|
<h4>Ergebnis {$smarty.section.sec.rownum}<br /><br />• SAP Nummer: {$RMresult[sec][3]} {$RMresult[sec][4]} {$RMresult[sec][5]} {$RMresult[sec][6]} {$RMresult[sec][7]} {$RMresult[sec][8]}</h4>
|
</a>
|
</td></tr>
|
|
<tr>
|
<td style="color:#000;">
|
<a href="index.php?form=7&act=15&act_adm=1&id={$SUBID}&mat_id={$RMresult[sec][0]}&rmLager={$rmLager}&count={$RMresult[sec][4]}">
|
{$RMresult[sec][3]} {$RMresult[sec][4]} {$RMresult[sec][5]} {$RMresult[sec][6]} {$RMresult[sec][7]} {$RMresult[sec][8]}
|
</a>
|
</td>
|
</tr>
|
{/section}
|
</tbody>
|
</table>
|
<!--button type="button" class="btn btn-danger btn-warning" style="display:block;width:100%;height: 80px;" onclick="location.href='{$GRID_LINK}&id={$id}&mark=-1'" title="BAD"><span class="glyphicon glyphicon-thumbs-down"></span></button-->
|
{/if}
|
</form>
|
|
<script type="text/javascript">
|
var tResults = GID("tResults");
|
if (tResults) tResults.scrollIntoView(true);
|
</script>
|