506 lines
31 KiB
Smarty
506 lines
31 KiB
Smarty
<div class="col-md-3" style="background-color:#333333; color:#000">
|
|
<div class="panel-group" id="accordion">
|
|
{foreach from=$tag_tour item=tag_tour}
|
|
{if $tag_tour.menge>0}
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h4 class="panel-title">
|
|
<a data-toggle="collapse" data-parent="#accordion" href="{$tag_tour.raute}">{$tag_tour.name1} ({$tag_tour.name2})</a></h4>
|
|
</div>
|
|
{if $tag_tour.typ==$tag_tour.col} <!-- fenster aufgeklappt bei auswahl des types -->
|
|
<div id={$tag_tour.typ} class="panel-collapse collapse in">
|
|
{else}
|
|
<div id={$tag_tour.typ} class="panel-collapse collapse">
|
|
{/if}
|
|
<div class="panel-body">
|
|
{foreach from=$tag_tour.tdata item=tlist}
|
|
<table class="no-style full">
|
|
<thead>
|
|
<tr>
|
|
<td nowrap style="font-size:11pt"><a href="?s=v_touren&id={$tlist.id}&jahr={$jahr}&monat={$monat}" title="Kicke zum auswälen" >{$tlist.tour}</a></td>
|
|
<td nowrap style="font-size:8pt"> {$tlist.infotitel}</td>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
{/foreach}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
{/foreach}
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!-- ***** Tourenlisten linke Seite ***** -->
|
|
|
|
<section class="grid_8 first top">
|
|
<!-- <div class="columns">-->
|
|
<div class="column grid_3 first">
|
|
{foreach from=$tourentyp item=tourentyp}
|
|
{if $tourentyp.tid==1 || $tourmenge1>0}
|
|
<div class="widget collapsible">
|
|
<header class="current"><h2><h2>{$tourentyp.tname} / {$tourentyp.tinfotitel}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<thead>
|
|
{foreach from=$tourenlist1 item=tourenlist}
|
|
<tr>
|
|
{if $tourenlist.aktiv==1}
|
|
<td style="width:110px"><a href="?s=v_touren&id={$tourenlist.id}" title="Kicke zum auswälen" >{$tourenlist.tour}</a></td> <td>{$tourenlist.infotitel}</td>
|
|
{else}
|
|
<td style="width:110px"><a href="?s=v_touren&id={$tourenlist.id}" title="Kicke zum auswälen" >{$tourenlist.tour}</a></td> <td style="color: red">{$tourenlist.infotitel}</td>
|
|
{/if}
|
|
</tr>
|
|
{/foreach}
|
|
</thead>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
{if $tourentyp.tid==2 || $tourmenge2>0}
|
|
<div class="widget collapsible">
|
|
<header class="current"><h2><h2>{$tourentyp.tname} / {$tourentyp.tinfotitel}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<thead>
|
|
{foreach from=$tourenlist2 item=tourenlist}
|
|
<tr>
|
|
<td style="width:110px"><a href="?s=v_touren&id={$tourenlist.id}" title="Kicke zum auswälen" >{$tourenlist.tour}</a></td>
|
|
<td>{$tourenlist.infotitel}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</thead>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
{if $tourentyp.tid==3 || $tourmenge3>0}
|
|
<div class="widget collapsible">
|
|
<header class="current"><h2><h2>{$tourentyp.tname} / {$tourentyp.tinfotitel}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<thead>
|
|
{foreach from=$tourenlist3 item=tourenlist}
|
|
<tr>
|
|
<td style="width:110px"><a href="?s=v_touren&id={$tourenlist.id}" title="Kicke zum auswälen" >{$tourenlist.tour}</a></td>
|
|
<td>{$tourenlist.infotitel}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</thead>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
{if $tourentyp.tid==4 || $tourmenge4>0}
|
|
<div class="widget collapsible">
|
|
<header class="current"><h2><h2>{$tourentyp.tname} / {$tourentyp.tinfotitel}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<thead>
|
|
{foreach from=$tourenlist4 item=tourenlist}
|
|
<tr>
|
|
<td style="width:110px"><a href="?s=v_touren&id={$tourenlist.id}" title="Kicke zum auswälen" >{$tourenlist.tour}</a></td>
|
|
<td>{$tourenlist.infotitel}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</thead>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
{if $tourentyp.tid==5 || $tourmenge5>0}
|
|
<div class="widget collapsible">
|
|
<header class="current"><h2><h2>{$tourentyp.tname} / {$tourentyp.tinfotitel}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<thead>
|
|
{foreach from=$tourenlist5 item=tourenlist}
|
|
<tr>
|
|
<td style="width:110px"><a href="?s=v_touren&id={$tourenlist.id}" title="Kicke zum auswälen" >{$tourenlist.tour}</a></td>
|
|
<td>{$tourenlist.infotitel}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</thead>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
{if $tourentyp.tid==6 || $tourmenge6>0}
|
|
<div class="widget collapsible">
|
|
<header class="current"><h2><h2>{$tourentyp.tname} / {$tourentyp.tinfotitel}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<thead>
|
|
{foreach from=$tourenlist6 item=tourenlist}
|
|
<tr>
|
|
<td style="width:110px"><a href="?s=v_touren&id={$tourenlist.id}" title="Kicke zum auswälen" >{$tourenlist.tour}</a></td>
|
|
<td>{$tourenlist.infotitel}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</thead>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
{if $tourentyp.tid==7 || $tourmenge7>0}
|
|
<div class="widget collapsible">
|
|
<header class="current"><h2><h2>{$tourentyp.tname} / {$tourentyp.tinfotitel}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<thead>
|
|
{foreach from=$tourenlist7 item=tourenlist}
|
|
<tr>
|
|
<td style="width:110px"><a href="?s=v_touren&id={$tourenlist.id}" title="Kicke zum auswälen" >{$tourenlist.tour}</a></td>
|
|
<td>{$tourenlist.infotitel}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</thead>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
{if $tourentyp.tid==8 || $tourmenge8>0}
|
|
<div class="widget collapsible">
|
|
<header class="current"><h2><h2>{$tourentyp.tname} / {$tourentyp.tinfotitel}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<thead>
|
|
{foreach from=$tourenlist8 item=tourenlist}
|
|
<tr>
|
|
<td style="width:110px"><a href="?s=v_touren&id={$tourenlist.id}" title="Kicke zum auswälen" >{$tourenlist.tour}</a></td>
|
|
<td>{$tourenlist.infotitel}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</thead>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
{if $tourentyp.tid==9 || $tourmenge9>0}
|
|
<div class="widget collapsible">
|
|
<header class="current"><h2><h2>{$tourentyp.tname} / {$tourentyp.tinfotitel}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<thead>
|
|
{foreach from=$tourenlist9 item=tourenlist}
|
|
<tr>
|
|
<td style="width:110px"><a href="?s=v_touren&id={$tourenlist.id}" title="Kicke zum auswälen" >{$tourenlist.tour}</a></td>
|
|
<td>{$tourenlist.infotitel}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</thead>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
{if $tourentyp.tid==10 || $tourmenge10>0}
|
|
<div class="widget collapsible">
|
|
<header class="current"><h2><h2>{$tourentyp.tname} / {$tourentyp.tinfotitel}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<thead>
|
|
{foreach from=$tourenlist10 item=tourenlist}
|
|
<tr>
|
|
<td style="width:110px"><a href="?s=v_touren&id={$tourenlist.id}" title="Kicke zum auswälen" >{$tourenlist.tour}</a></td>
|
|
<td>{$tourenlist.infotitel}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</thead>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
{if $tourentyp.tid==11 || $tourmenge11>0}
|
|
<div class="widget collapsible">
|
|
<header class="current"><h2><h2>{$tourentyp.tname} / {$tourentyp.tinfotitel}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<thead>
|
|
{foreach from=$tourenlist11 item=tourenlist}
|
|
<tr>
|
|
<td style="width:110px"><a href="?s=v_touren&id={$tourenlist.id}" title="Kicke zum auswälen" >{$tourenlist.tour}</a></td>
|
|
<td>{$tourenlist.infotitel}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</thead>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
{if $tourentyp.tid==12 || $tourmenge12>0}
|
|
<div class="widget collapsible">
|
|
<header class="current"><h2><h2>{$tourentyp.tname} / {$tourentyp.tinfotitel}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<thead>
|
|
{foreach from=$tourenlist12 item=tourenlist}
|
|
<tr>
|
|
<td style="width:110px"><a href="?s=v_touren&id={$tourenlist.id}" title="Kicke zum auswälen" >{$tourenlist.tour}</a></td>
|
|
<td>{$tourenlist.infotitel}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</thead>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
{if $tourentyp.tid==13 || $tourmenge13>0}
|
|
<div class="widget collapsible">
|
|
<header class="current"><h2><h2>{$tourentyp.tname} / {$tourentyp.tinfotitel}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<thead>
|
|
{foreach from=$tourenlist13 item=tourenlist}
|
|
<tr>
|
|
<td style="width:110px"><a href="?s=v_touren&id={$tourenlist.id}" title="Kicke zum auswälen" >{$tourenlist.tour}</a></td>
|
|
<td>{$tourenlist.infotitel}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</thead>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
{if $tourentyp.tid==14 || $tourmenge14>0}
|
|
<div class="widget collapsible">
|
|
<header class="current"><h2><h2>{$tourentyp.tname} / {$tourentyp.tinfotitel}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<thead>
|
|
{foreach from=$tourenlist14 item=tourenlist}
|
|
<tr>
|
|
<td style="width:110px"><a href="?s=v_touren&id={$tourenlist.id}" title="Kicke zum auswälen" >{$tourenlist.tour}</a></td>
|
|
<td>{$tourenlist.infotitel}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</thead>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
{if $tourentyp.tid==15 || $tourmenge15>0}
|
|
<div class="widget collapsible">
|
|
<header class="current"><h2><h2>{$tourentyp.tname} / {$tourentyp.tinfotitel}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<thead>
|
|
{foreach from=$tourenlist15 item=tourenlist}
|
|
<tr>
|
|
<td style="width:110px"><a href="?s=v_touren&id={$tourenlist.id}" title="Kicke zum auswälen" >{$tourenlist.tour}</a></td>
|
|
<td>{$tourenlist.infotitel}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</thead>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
{if $tourentyp.tid==16 || $tourmenge16>0}
|
|
<div class="widget collapsible">
|
|
<header class="current"><h2><h2>{$tourentyp.tname} / {$tourentyp.tinfotitel}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<thead>
|
|
{foreach from=$tourenlist16 item=tourenlist}
|
|
<tr>
|
|
<td style="width:110px"><a href="?s=v_touren&id={$tourenlist.id}" title="Kicke zum auswälen" >{$tourenlist.tour}</a></td>
|
|
<td>{$tourenlist.infotitel}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</thead>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
{if $tourentyp.tid==17 || $tourmenge17>0}
|
|
<div class="widget collapsible">
|
|
<header class="current"><h2><h2>{$tourentyp.tname} / {$tourentyp.tinfotitel}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<thead>
|
|
{foreach from=$tourenlist17 item=tourenlist}
|
|
<tr>
|
|
<td style="width:110px"><a href="?s=v_touren&id={$tourenlist.id}" title="Kicke zum auswälen" >{$tourenlist.tour}</a></td>
|
|
<td>{$tourenlist.infotitel}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</thead>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
{if $tourentyp.tid==18 || $tourmenge18>0}
|
|
<div class="widget collapsible">
|
|
<header class="current"><h2><h2>{$tourentyp.tname} / {$tourentyp.tinfotitel}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<thead>
|
|
{foreach from=$tourenlist18 item=tourenlist}
|
|
<tr>
|
|
<td style="width:110px"><a href="?s=v_touren&id={$tourenlist.id}" title="Kicke zum auswälen" >{$tourenlist.tour}</a></td>
|
|
<td>{$tourenlist.infotitel}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</thead>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
{if $tourentyp.tid==19 || $tourmenge19>0}
|
|
<div class="widget collapsible">
|
|
<header class="current"><h2><h2>{$tourentyp.tname} / {$tourentyp.tinfotitel}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<thead>
|
|
{foreach from=$tourenlist19 item=tourenlist}
|
|
<tr>
|
|
<td style="width:110px"><a href="?s=v_touren&id={$tourenlist.id}" title="Kicke zum auswälen" >{$tourenlist.tour}</a></td>
|
|
<td>{$tourenlist.infotitel}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</thead>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
{if $tourentyp.tid==20 || $tourmenge20>0}
|
|
<div class="widget collapsible">
|
|
<header class="current"><h2><h2>{$tourentyp.tname} / {$tourentyp.tinfotitel}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<thead>
|
|
{foreach from=$tourenlist20 item=tourenlist}
|
|
<tr>
|
|
<td style="width:110px"><a href="?s=v_touren&id={$tourenlist.id}" title="Kicke zum auswälen" >{$tourenlist.tour}</a></td>
|
|
<td>{$tourenlist.infotitel}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</thead>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
<!-- ende tourentyp schleiffe -->
|
|
{/foreach}
|
|
</div>
|
|
<!-- rechte seite -->
|
|
<div class="column grid_5 last">
|
|
{if $anzeige==0}
|
|
<div class="widget collapsible">
|
|
<header class="current"><h2>Info </h2></header>
|
|
<section>
|
|
<span style='font-size:10pt;line-height:115%; color:#4F81BD'>
|
|
Bitte die Tour auwählen die Sie bearbeiten möchten.
|
|
</span>
|
|
</section>
|
|
</div>
|
|
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// rechte seite -->
|
|
{else}
|
|
<!-- ///////////////// menu seite -->
|
|
<div class="widget collapsible" style='font-size:10pt;line-height:115%; color:#4F81BD'>
|
|
<header class="current"><h2>Datenbank-ID: {$tour.id}</h2></header>
|
|
<section>
|
|
<form action="" method="post">
|
|
<table class="no-style sortable full">
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Kurzbezeichnung:</strong></td>
|
|
<td><input type="text" name="tour" value="{$tour.tour}" style="width:220px"/></td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Bezeichnung Dateninput:</strong></td>
|
|
<td><input type="text" name="tour2" value="{$tour.tour2}" style="width:220px"/></td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Bezeichnung Druckerei:</strong></td>
|
|
<td><input type="text" name="tour3" value="{$tour.tour3}" style="width:220px"/></td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Bezeichnung/Ziel:</strong></td>
|
|
<td><input type="text" name="infotitel" value="{$tour.infotitel}" style="width:220px"/></td></tr>
|
|
</tr>
|
|
<tr>
|
|
<!-- --------------------------- Auftraggeber -->
|
|
<td nowrap="nowrap"><strong>Auftraggeber:</strong></td>
|
|
<td>
|
|
<select name="retyp" style="width:160px;" >
|
|
{foreach from=$auftraggeber item=auftraggeber}
|
|
{html_options values=$auftraggeber.id output=$auftraggeber.name selected=$tour.retyp}
|
|
{/foreach}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<!-- --------------------------- typ -->
|
|
<td nowrap="nowrap"><strong>Tourzuordnung:</strong></td>
|
|
<td>
|
|
<select name="ttyp" style="width:160px;" >
|
|
{foreach from=$auswahltyp item=auswahltyp}
|
|
{html_options values=$auswahltyp.tid output=$auswahltyp.tname selected=$tour.typ}
|
|
{/foreach}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Bedarf:</strong></td>
|
|
<td><input type="text" name="bedarf" value="{$tour.kaltyp}" style="width:30px"/> 1-fest / 0-Abnahme/nach Bedarf</td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Netto:</strong></td>
|
|
<td><input type="text" name="preis" value="{$tour.preis}" style="width:60px"/> Netto/ändert alte Bestände !</td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>aktiv:</strong></td>
|
|
<td><input type="text" name="aktiv" value="{$tour.aktiv}" style="width:30px"/> 1-aktiv / 0-inaktiv</td>
|
|
</tr>
|
|
<tr>
|
|
<!-- --------------------------- fahrer -->
|
|
<td nowrap="nowrap"><strong>Stammfahrer:</strong></td>
|
|
<td>
|
|
<select name="efahrer" style="width:160px;" >
|
|
{foreach from=$fahrer_array item=allfahrer}
|
|
{html_options values=$allfahrer.id output=$allfahrer.name selected=$tour.s_fahrer}
|
|
{/foreach}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<!-- --------------------------- Fahrzeug -->
|
|
<td nowrap="nowrap"><strong>Stammfahrzeug:</strong></td>
|
|
<td>
|
|
<select name="eauto" style="width:160px;" >
|
|
{foreach from=$auto_array item=allauto}
|
|
{html_options values=$allauto.id output=$allauto.kz selected=$tour.s_auto}
|
|
{/foreach}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Startzeit:</strong></td>
|
|
<td><input type="text" name="kalzeit" value="{$tour.kalzeit}" placeholder="01:00" required style="width:60px"/> Uhr</td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Exemplare:</strong></td>
|
|
<td><input type="text" name="exemplare" value="{$tour.exemplare}" style="width:60px"/> Stück</td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>ca. Strecke:</strong></td>
|
|
<td><input type="text" name="km" value="{$tour.km}" style="width:60px"/> km</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="submit" name="toursave" value="Speichern" ></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
<!-- rechte seite -->
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</section>
|