<!-- Verlauf s/w -->

<!--
Der Report unterstÃ¼tzt folgende Datenfelder
               "user","datum",
               "auswahl_zugang","auswahl_abgang","auswahl_benutzer","auswahl_losnummer",
               "auswahl_von","auswahl_bis",
               "buchungsdatum","typ","code",
               "benutzer","bezeichnung","staerke","litergewicht","losnummer",
               "liter","kg","la","rest_liter","rest_kg","rest_la",
               "bemerkungen",
               "saldo_liter","saldo_kg","saldo_la"
 -->

<report name="Verlauf sw" orientation="$options.report.verlauf.orientation$"
  pageformat="$options.report.general.pageformat$" topmargin="$options.report.landscape.margin.top$" leftmargin="$options.report.landscape.margin.left$" 
  bottommargin="$options.report.landscape.margin.bottom$" rightmargin="$options.report.landscape.margin.right$">
  
 <reportheader height="50" >
    <rectangle  x="0" y="0" width="100%" height="32" color="$options.report.general.reportheader.background$" weight="0" draw="false" fill="true"/>
    <rectangle  x="0" y="0" width="100%" height="32" color="#000000" weight="1" draw="true" fill="false"/>
    <date-field fontstyle="plain" fontsize="7" fieldname="datum" x="5" y="11" width="20%" height="10" alignment="left" format="d.MMM yyyy H.mm"></date-field>
    <label fontstyle="plain" fontsize="7" x="75%" y="11" width="14%" height="10" alignment="right" >$locale.report.user$</label>   
     <string-field fontstyle="plain" fontsize="7" x="90%" y="11" height="10" width="10%" alignment="left" fieldname="user"></string-field>
     <label fontstyle="bold" fontsize="16" x="0%" y="11" width="100%" height="20" alignment="center" >$locale.report.verlauf.titel$</label>    

     <label fontstyle="bold" fontsize="8" x="0" y="30" width="29%" height="8" alignment="right" >$locale.report.verlauf.losnummern$</label>    
     <string-field fontstyle="bold" fontsize="8" x="30%" y="30" width="70%" height="8" alignment="left" fieldname="los"/>  
    
  	<line x1="0" x2="0" y1="46" y2="46" weight="1"/>
  
     <label fontstyle="bold" fontsize="8" x="0%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_typ$/$locale.verlauf.tableheader_benutzer$</label>  
     <label fontstyle="bold" fontsize="8" x="8%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_datum$</label>  
     <label fontstyle="bold" fontsize="8" x="16%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_bezeichnung$</label>  
     <label fontstyle="bold" fontsize="8" x="24%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_hlosnummer$</label>  
     <label fontstyle="bold" fontsize="8" x="32%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_losnummer$</label>  
     <label fontstyle="bold" fontsize="8" x="40%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_staerke$</label>  
     <label fontstyle="bold" fontsize="8" x="48%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_liter$</label>  
     <label fontstyle="bold" fontsize="8" x="56%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_kg$</label>  
     <label fontstyle="bold" fontsize="8" x="64%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_la$</label>  
     <label fontstyle="bold" fontsize="8" x="72%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_rest_liter$</label>  
     <label fontstyle="bold" fontsize="8" x="80%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_rest_kg$</label>  
     <label fontstyle="bold" fontsize="8" x="88%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_rest_la$</label>  
  </reportheader>

  <pageheader height="50" onfirstpage="false">
<rectangle  x="0" y="0" width="100%" height="32" color="$options.report.general.reportheader.background$" weight="0" draw="false" fill="true"/>
    <rectangle  x="0" y="0" width="100%" height="32" color="#000000" weight="1" draw="true" fill="false"/>
    <date-field fontstyle="plain" fontsize="7" fieldname="datum" x="5" y="11" width="20%" height="10" alignment="left" format="d.MMM yyyy H.mm"></date-field>
    <label fontstyle="plain" fontsize="7" x="75%" y="11" width="14%" height="10" alignment="right" >$locale.report.user$</label>   
     <string-field fontstyle="plain" fontsize="7" x="90%" y="11" height="10" width="10%" alignment="left" fieldname="user"></string-field>
     <label fontstyle="bold" fontsize="16" x="0%" y="11" width="100%" height="20" alignment="center" >$locale.report.verlauf.titel$</label>    

     <label fontstyle="bold" fontsize="8" x="0" y="30" width="29%" height="8" alignment="right" >$locale.report.verlauf.losnummern$</label>    
     <string-field fontstyle="bold" fontsize="8" x="30%" y="30" width="70%" height="8" alignment="left" fieldname="los"/>  
    
  	<line x1="0" x2="0" y1="46" y2="46" weight="0.1"/>
  
     <label fontstyle="bold" fontsize="8" x="0%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_typ$/$locale.verlauf.tableheader_benutzer$</label>  
     <label fontstyle="bold" fontsize="8" x="8%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_datum$</label>  
     <label fontstyle="bold" fontsize="8" x="16%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_bezeichnung$</label>  
     <label fontstyle="bold" fontsize="8" x="24%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_hlosnummer$</label>  
     <label fontstyle="bold" fontsize="8" x="32%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_losnummer$</label>  
     <label fontstyle="bold" fontsize="8" x="40%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_staerke$</label>  
     <label fontstyle="bold" fontsize="8" x="48%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_liter$</label>  
     <label fontstyle="bold" fontsize="8" x="56%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_kg$</label>  
     <label fontstyle="bold" fontsize="8" x="64%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_la$</label>  
     <label fontstyle="bold" fontsize="8" x="72%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_rest_liter$</label>  
     <label fontstyle="bold" fontsize="8" x="80%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_rest_kg$</label>  
     <label fontstyle="bold" fontsize="8" x="88%" y="40" width="8%" height="10" alignment="center" >$locale.verlauf.tableheader_rest_la$</label>  
    
  </pageheader>
  
  <pagefooter height="30">
    <rectangle  x="0" y="1" width="100%" height="100%" color="$options.report.general.pagefooter.background$" weight="0" draw="false" fill="true"/>
    <rectangle  x="0" y="1" width="100%" height="100%" color="#000000" weight="1" draw="true" fill="false"/>
    <number-field fieldname="PageNumber" x="40%" y="21"  width="90" height="20" alignment="left" format="$locale.seite$ #0"></number-field>    
    <number-field fieldname="PageTotal" x="50%" y="21"  width="90" height="20" alignment="left" format="$locale.von$ #0"></number-field>

  </pagefooter>

  <items height="30">
  
  	<band name="abgang" x="0" y="0" width="100%" height="30" >
	      <rectangle  x="0" y="0" width="100%" height="100%" color="$options.report.general.pagefooter.background$" weight="1" draw="false" fill="true"/>
     <string-field fontstyle="plain" fontsize="7" x="0" y="11" width="15%" height="10" alignment="left" fieldname="code" />  	   
		  <string-field fontstyle="plain" fontsize="7" x="0%" y="18" width="1%" height="9" alignment="right" fieldname="typ"/>  
		  <string-field fontstyle="plain" fontsize="7" x="1%" y="18" width="7%" height="9" alignment="right" fieldname="benutzer"/>  
	     <date-field fontstyle="plain" fontsize="7" x="8%" y="18" width="8%" height="10" alignment="right" fieldname="buchungsdatum" format="dd.MM.yyyy" />  
	     <string-field fontstyle="plain" fontsize="7" x="16%" y="11" width="84%" height="10" alignment="left" fieldname="bezeichnung" />  
	     <string-field fontstyle="plain" fontsize="7" x="24%" y="18" width="8%" height="10" alignment="right" fieldname="herstellung_losnummer" />  
	     <string-field fontstyle="plain" fontsize="7" x="32%" y="18" width="8%" height="10" alignment="right" fieldname="losnummer" />  
	  	 <number-field format="$options.report.zahlen_staerke$" fontstyle="plain" fontsize="7" x="40%" y="18" width="8%" height="10" alignment="right" fieldname="staerke" />  
	  	 <number-field format="$options.report.zahlen_normal$"  fontstyle="plain" fontsize="7" x="48%" y="18" width="8%" height="10" alignment="right" fieldname="liter" />  
	  	 <number-field format="$options.report.zahlen_normal$"  fontstyle="plain" fontsize="7" x="56%" y="18" width="8%" height="10" alignment="right" fieldname="kg"  />  
	  	 <number-field format="$options.report.zahlen_normal$"  fontstyle="plain" fontsize="7" x="64%" y="18" width="8%" height="10" alignment="right" fieldname="la" />  
	  	 <number-field format="$options.report.zahlen_normal$"  fontstyle="plain" fontsize="7" x="72%" y="18" width="8%" height="10" alignment="right" fieldname="rest_liter" />  
	  	 <number-field format="$options.report.zahlen_normal$"  fontstyle="plain" fontsize="7" x="80%" y="18" width="8%" height="10" alignment="right" fieldname="rest_kg" />  
	  	 <number-field format="$options.report.zahlen_normal$"  fontstyle="plain" fontsize="7" x="88%" y="18" width="8%" height="10" alignment="right" fieldname="rest_la" />  
	   	 	<line x1="0" x2="0" y1="30" y2="30" weight="0.1"/>
  	</band>
   	<band name="zugang" x="0" y="0" width="100%" height="30" >
   	     <string-field fontstyle="plain" fontsize="7" x="0" y="11" width="15%" height="10" alignment="left" fieldname="code" />  
	  <string-field fontstyle="plain" fontsize="7" x="0%" y="18" width="1%" height="9" alignment="right" fieldname="typ"/>  
	  <string-field fontstyle="plain" fontsize="7" x="1%" y="18" width="7%" height="9" alignment="right" fieldname="benutzer"/>  
     <date-field fontstyle="plain" fontsize="7" x="8%" y="18" width="8%" height="10" alignment="right" fieldname="buchungsdatum" format="dd.MM.yyyy" />  
     <string-field fontstyle="plain" fontsize="7" x="16%" y="11" width="84%" height="10" alignment="left" fieldname="bezeichnung" />  
     <string-field fontstyle="plain" fontsize="7" x="24%" y="18" width="8%" height="10" alignment="right" fieldname="herstellung_losnummer" />  
     <string-field fontstyle="plain" fontsize="7" x="32%" y="18" width="8%" height="10" alignment="right" fieldname="losnummer" />  
  	 <number-field format="$options.report.zahlen_staerke$" fontstyle="plain" fontsize="7" x="40%" y="18" width="8%" height="10" alignment="right" fieldname="staerke" />  
  	 <number-field format="$options.report.zahlen_normal$"  fontstyle="plain" fontsize="7" x="48%" y="18" width="8%" height="10" alignment="right" fieldname="liter" />  
  	 <number-field format="$options.report.zahlen_normal$"  fontstyle="plain" fontsize="7" x="56%" y="18" width="8%" height="10" alignment="right" fieldname="kg"  />  
  	 <number-field format="$options.report.zahlen_normal$"  fontstyle="plain" fontsize="7" x="64%" y="18" width="8%" height="10" alignment="right" fieldname="la" />  
  	 <number-field format="$options.report.zahlen_normal$"  fontstyle="plain" fontsize="7" x="72%" y="18" width="8%" height="10" alignment="right" fieldname="rest_liter" />  
  	 <number-field format="$options.report.zahlen_normal$"  fontstyle="plain" fontsize="7" x="80%" y="18" width="8%" height="10" alignment="right" fieldname="rest_kg" />  
  	 <number-field format="$options.report.zahlen_normal$"  fontstyle="plain" fontsize="7" x="88%" y="18" width="8%" height="10" alignment="right" fieldname="rest_la" />  
   	 	<line x1="0" x2="0" y1="20" y2="20" weight="0.1"/>
  	</band>
  
  </items>


  <functions>
    <function name="PageNumber" class="org.jfree.report.function.PageFunction"/>  
    <function name="PageTotal" class="org.jfree.report.function.PageTotalFunction" deplevel="1"/> 
    <function name="SetVisible" class="de.lunqual.rzpro.ausgabe.VisibleStatistikBandFunction"/>
  </functions>
  
  
</report>

