jb-data.de/template/tpl/ajax/ue_iloscan.tpl
2025-08-11 22:23:30 +02:00

43 lines
No EOL
2.4 KiB
Smarty

<p align="center" style="color:yellow;margin-top: -6px;margin-bottom: : 4px;font-size: 26px;background-color:teal">{$data.label}</p>
<p align="left" style="color:yellow;font-size: 16px;background-color:teal;margin-left: 4px"> Offline JB-Daten</p>
<table class="no-style full" style="color: #000;line-height: 2;margin: 10px">
<tbody>
<tr style="line-height:18px"> <td width="200px">Empfänger: </td> <td width="350px">{$data.name} </td> </tr>
<tr style="line-height:18px"> <td width="200px"> </td> <td width="350px">{$data.plz} {$data.ort} </br></td> </tr>
<tr style="line-height:18px"> <td width="200px">Status : </td>
{if $data.status==800} <td width="300px" style="background-color: #555;color:#6495ed">{$data.statustext1} </td>
{elseif $data.status==0} <td width="300px" style="background-color: #555;color:#00FF00">{$data.statustext1} </td>
{elseif $data.status==9} <td width="300px" style="background-color: #555;color:#ff8800">{$data.statustext1} </td>
{elseif $data.status==50} <td width="300px" style="background-color: #555;color:#358d2f">{$data.statustext1} </td>
{elseif $data.status==505} <td width="300px" style="background-color: #555;color:#E38EF7">{$data.statustext1} </td>
{elseif $data.status==507} <td width="300px" style="background-color: #555;color:#C7B40A">{$data.statustext1} </td>
{else $data.status==800} <td width="300px" style="background-color: #555;color:#ff0000">{$data.statustext1} </td>
{/if}
</tr>
<tr style="line-height:18px"> <td width="200px">Packst.: </td> <td width="260px">{$data.collie} </td> </tr>
{if $data.status==0}
<tr style="line-height:18px"> <td width="200px">Unterschrift:</td> <td width="260px">{$data.empfaenger} </td> </tr>
{/if}
<tr style="line-height:18px"> <td width="200px">leter Scan: </td> <td width="260px">{$data.datum} </td> </tr>
</body>
</table>
<p align="left" style="color:yellow;font-size: 16px;background-color:teal;margin-left: 4px"> Online Ilonexs-Daten</p>
<div id='iloonline'><i class="fas fa-spinner fa-10x fa-pulse"></i></div>
<script> var lab = '{$data.label}';</script>
<script>
$.ajax({
type : "POST",
url : 'ajax.php?s=ue_iloscan2&tpl',
cache : false,
data: '&lab=' + lab,
dataType : "html",
success : function(data){
$("#iloonline").html(data);
},
});
</script>