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

388 lines
15 KiB
Smarty

<b><i><span style='font-size:16pt;line-height:115%;
color:#4F81BD'>Anzeige w&auml;hlen: &#160;&#160;&#160;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
<b><i><span style='font-size:16pt;line-height:115%; color:#4F81BD'><a class="button-blue" href="?s=a_abr&wahl=1&jahr={$jahr}&monat={$monat}">&laquo;</a> &#160;&#160;{$monat}/{$jahr}&#160;&#160;
<a class="button-blue" href="?s=a_abr&wahl=2&jahr={$jahr}&monat={$monat}">&raquo;</a></span></i></b>
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
</span></i></b>
<!-- ***** Tourenlisten linke Seite ***** -->
<div class="row sortable">
<div class="col-md-3">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">Firmenauswahl</span></h2></header>
<section class="panel-body">
<table class="no-style full">
<thead>
{foreach from=$firmen item=firm}
<tr>
<td style="font-size:10pt;line-height:100%;">
<a href="?s=a_abr&id={$firm.id}&jahr={$jahr}&monat={$monat}" title="Kicke zum ausw&auml;len" >{$firm.a1}</a></td>
</tr>
<tr>
<td style="font-size:10pt;line-height:100%;">
<a href="?s=a_abr&id={$firm.id}&jahr={$jahr}&monat={$monat}" title="Kicke zum ausw&auml;len" >{$firm.a2}</a></td>
</tr>
<tr>
<td><hr></td>
</tr>
{/foreach}
</thead>
</table>
</section>
</div>
</div>
<div class="col-md-5">
{if $anzeige==0}
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">Info</span></h2></header>
<section class="panel-body">
<header class="current"><h2>Info </h2></header>
<span style='font-size:10pt;line-height:100%; color:#FC072D'>
Bitte die Firma auw&auml;hlen die Sie bearbeiten m&ouml;chten.
</span>
</div>
{/if}
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// rechte seite -->
<!-- ///////////////// menu wenn keine Firma ausgewählt-->
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>komplettübersicht</h2></header>
<section class="panel-body">
<dl>
<section>
<table class="table">
<tbody> {foreach from=$tour3 item=tour }
<!--
<td nowrap style="width:80px;font-size:11pt"> {$tour.tourname} </td>
<td nowrap style="width:160px;font-size:8pt"> {$tour.infotitel} </td>
<td nowrap style="width:35px;font-size:11pt"> {$tour.tourmenge} x</td>
-->
<tr nowrap style="width:35px;font-size:11pt" id="loadzeile{$tour.id}">
<script> var monat = '{$monat}';</script>
<script> var jahr = '{$jahr}';</script>
<script> var tid = '{$tour.id}';</script>
{literal}
<script>
$.ajax({
type : "POST",
url : "ajax.php?s=a_abr&tpl",
cache : false,
data: 'tid=' + tid + "&monat=" + monat + "&jahr=" + jahr,
dataType : "html",
success : function(data){
$("#loadzeile{/literal}{$tour.id}{literal}").html(data);
},
});
</script>
{/literal}
</tr>
<!--
<td nowrap align="right" style="width:50px;font-size:12pt;color: red">
<a target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_abr_nw&id={$anzeige}&tid={$tour.tid}&jahr={$jahr}&monat={$monat}" >
<i class="far fa-file-pdf" style="color: red"></i>
</td>
-->
</tbody> {/foreach}
</table>
</dl>
</section>
</div>
</div>
<!-- -------------------------------------->
<!-- Sidebar -->
<aside class="col-md-4">
<!-- -------------------------------------->
{if $anzeige==1}
<!-- ------------------------------------ Rundschau
<div id="rightmenu" class="panel panel-default">
<div class="panel-body">
<table class="no-style full">
<tbody>
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>komplett 2020 (1400)</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr8a&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>1400 / 700 / 2101 / +30 Halle</td>
</tr>
</tbody>
</table>
</div>
</div>
-->
<!-- ------------------------------------ Rundschau
<div id="rightmenu" class="panel panel-default">
<div class="panel-body">
<table class="no-style full">
<tbody>
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>Rundschau 2020 (1400)</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr7&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>1400 / 700 / 2101 / +30 Halle</td>
</tr>
</tbody>
</table>
</div>
</div>
-->
<!-- ------------------------------------ Klauland 2020 -->
<div id="rightmenu" class="panel panel-default">
<div class="panel-body">
<table class="no-style full">
<tbody>
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>Kaufland 2020</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr13&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>Ersatz für Rundschau</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ------------------------------------ Marktbelege -->
<div id="rightmenu" class="panel panel-default">
<div class="panel-body">
<table class="no-style full">
<tbody>
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>Marktbelege</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr12&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>Belege aus Halle </td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ------------------------------------ SaSo 1300 -->
<div id="rightmenu" class="panel panel-default">
<div class="panel-body">
<table class="no-style full">
<tbody>
<!--
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:lightgray'>SaSo 2020 (1300)</td>
<td nowrap align="right" style='width:60px'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr19&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:lightgray'>1300 / 650 / 1951 </td>
</tr>
-->
<!-- ------------------------------------ SaSo 1400 -->
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>SaSo 2020 (1400)</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr8&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>1400 / 700 / 2101 </td>
</tr>
<!-- ------------------------------------ SaSo 1400 ohne 50% -->
<!--
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#ff0000'>SaSo 2020 (1400 ohne 50%)</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr19x&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#ff0000'>1400 / 1400 / 2801 </td>
</tr>
-->
</tbody>
</table>
</div>
</div>
<!-- ------------------------------------ SaSo Sondertour 999 -->
<div id="rightmenu" class="panel panel-default">
<div class="panel-body">
<table class="no-style full">
<tbody>
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>SaSo Sondertour</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr19_999&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>Abn. 120/160/180/680/690/750</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ------------------------------------ SaSo 1300 -->
<div id="rightmenu" class="panel panel-default">
<div class="panel-body">
<table class="no-style full">
<tbody>
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>Wirth 2020</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr19m&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>1500 / 750 / 2251 </td>
</tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#ff0000'>Wirth 2020</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr19mx&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#ff0000'>1500 / 1500 / 3000 </td>
</tr>
<!--
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:lightgray'>Steinmacher 2020 (1300)</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr19i13&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:lightgray'>1300 / 650 / 1951 </td>
</tr>
-->
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>Steinmacher 2020 (1400)</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr19i14&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>1400 / 700 / 2101 </td>
</tr>
<tr>
</tr>
<!--
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#ff0000'>Steinmacher (1400o.50%)</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr19ix14&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#ff0000'>1400 / 1400 / 2801 </td>
</tr>
-->
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>Haack 2020</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr19a&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
</tbody>
</table>
</div>
</div>
{/if}
<!-- -------------------------------------->
<div id="rightmenu" class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>PDF-Daten</h2></header>
<section class="panel-body">
<dl>
<section>
<table class="no-style full">
<tbody>
<a href="?s=list_a_abr2&jahr={$jahr}&monat={$monat}&id={$anzeige}" class="btn btn-warning" role="button">Übersicht PDF</a>
</br>
<a href="?s=list_a_abr&jahr={$jahr}&monat={$monat}&id={$anzeige}" class="btn btn-warning" role="button">Rechnungseinleger PDF</a>
</tbody>
</table>
</dl>
</section>
</div>
</aside>
<!-- Sidebar End -->
<!--
rechte seite -->
</div>