<report name="vdlib02r" lpi="6">
 <description>Riepilogo turno</description>
 <font face="Courier New" size="10" />
 <section type="Head">
  <field x="5" y="0.5" type="Testo" width="37" height="2" pattern="1" text="Riepilogo turno cassa ">
   <font face="Arial" bold="1" size="20" />
  </field>
  <field x="42" y="0.5" type="Stringa" align="right" width="7" height="2" pattern="1">
   <font face="Arial" bold="1" size="20" />
   <source>CODCASSA</source>
  </field>
  <field x="50.5" y="0.5" type="Testo" width="6" height="2" pattern="1" text="del">
   <font face="Arial" bold="1" size="20" />
  </field>
  <field x="57" y="0.5" type="Data" width="24" height="2" pattern="1" text="del">
   <font face="Arial" bold="1" size="20" />
   <source>DATA</source>
  </field>
 </section>
 <section type="Head" level="1" />
 <section type="Body" />
 <section type="Body" level="1">
  <field x="2" y="1" type="Testo" width="10" pattern="1" text="Addetto" />
  <field x="19" y="1" type="Stringa" width="8" pattern="1">
   <font face="Arial" size="10" />
   <source>USERNAME</source>
  </field>
  <field x="2" y="3" type="Testo" width="10" pattern="1" text="Dalle" />
  <field x="19" y="3" type="Numero" align="right" width="2" pattern="1" text="@@">
   <font face="Arial" size="10" />
   <source>ROUND((INIZIO &#2F; 10000), 0)</source>
  </field>
  <field x="21" y="3" type="Testo" width="1" pattern="1" text=":" />
  <field x="22" y="3" type="Numero" align="right" width="2" pattern="1" text="@@">
   <font face="Arial" size="10" />
   <source>INIZIO</source>
   <prescript description="B1.0 PRESCRIPT">#THIS @
100 &#2F;
100 MOD
#THIS !
</prescript>
  </field>
  <field x="24.37" y="3" type="Testo" width="1" pattern="1" text=":" />
  <field x="25.5" y="3" type="Numero" align="right" width="2" pattern="1" text="@@">
   <font face="Arial" size="10" />
   <source>INIZIO</source>
   <prescript description="B1.0 PRESCRIPT">#THIS @
100 MOD
#THIS !</prescript>
  </field>
  <field x="29" y="3" type="Testo" width="6" pattern="1" text="Alle" />
  <field x="35" y="3" type="Numero" align="right" width="2" pattern="1" text="@@">
   <font face="Arial" size="10" />
   <source>ROUND((FINE &#2F; 10000), 0)</source>
  </field>
  <field x="37" y="3" type="Testo" width="1" pattern="1" text=":" />
  <field x="38" y="3" type="Numero" align="right" width="2" pattern="1" text="@@">
   <font face="Arial" size="10" />
   <source>FINE</source>
   <prescript description="B1.0 PRESCRIPT">#THIS @
100 &#2F;
100 MOD
#THIS !
</prescript>
  </field>
  <field x="40" y="3" type="Testo" width="1" pattern="1" text=":" />
  <field x="41" y="3" type="Numero" align="right" width="2" pattern="1" text="@@">
   <font face="Arial" size="10" />
   <source>FINE</source>
   <prescript description="B1.0 PRESCRIPT">#THIS @
100 MOD
#THIS !</prescript>
  </field>
  <field x="2" y="5" type="Testo" width="13" pattern="1" text="Da Scontrimo" />
  <field x="19" y="5" type="Numero" align="right" width="7" pattern="1">
   <font face="Arial" size="10" />
   <source>FNDOC</source>
  </field>
  <field x="27" y="5" type="Testo" width="12" pattern="1" text="A scontrino" />
  <field x="40" y="5" type="Numero" align="right" width="7" pattern="1">
   <font face="Arial" size="10" />
   <source>LNDOC</source>
  </field>
  <field x="2" y="7" type="Testo" width="15" pattern="1" text="Cassa iniziale" />
  <field x="29" y="7" type="Valuta" align="right" width="18" pattern="1" text="#########,@@">
   <source>CASSAINI</source>
  </field>
  <field x="2" y="25" type="Testo" width="25" pattern="1" text="Resti" />
  <field x="29" y="25" type="Valuta" align="right" width="18" pattern="1" hide_zero="1" text="###.###.###,@@">
   <source>RESTI</source>
  </field>
  <field x="2" y="27" type="Testo" width="15" pattern="1" text="Cassa finale" />
  <field x="29" y="27" type="Valuta" align="right" width="18" pattern="1" hide_zero="1" text="###.###.###,@@">
   <source>CASSAFIN</source>
  </field>
  <field x="2" y="29" type="Testo" width="15" pattern="1" text="Differenza">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="29" y="29" type="Valuta" align="right" width="18" pattern="1" hide_zero="1" text="###.###.###,@@">
   <font face="Courier New" bold="1" size="10" />
   <source>DIFF</source>
  </field>
  <field x="2" y="31" type="Testo" width="15" pattern="1" text="Sospesi">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="29" y="31" type="Valuta" align="right" width="18" pattern="1" hide_zero="1" text="###.###.###,@@">
   <font face="Courier New" bold="1" size="10" />
   <source>SOSPESI</source>
  </field>
  <field x="2" y="9" type="Stringa" width="25" id="101" pattern="1" />
  <field x="2" y="11" type="Stringa" width="25" id="102" pattern="1" />
  <field x="2" y="13" type="Stringa" width="25" id="103" pattern="1" />
  <field x="2" y="15" type="Stringa" width="25" id="104" pattern="1" />
  <field x="2" y="17" type="Stringa" width="25" id="105" pattern="1" />
  <field x="2" y="19" type="Stringa" width="25" id="106" pattern="1" />
  <field x="2" y="21" type="Stringa" width="25" id="107" pattern="1" />
  <field x="2" y="23" type="Stringa" width="25" id="108" pattern="1" />
  <field x="29" y="9" type="Valuta" align="right" width="18" id="201" pattern="1" hide_zero="1" text="###.###.###,@@">
   <source>INC01</source>
  </field>
  <field x="29" y="11" type="Valuta" align="right" width="18" id="201" pattern="1" hide_zero="1" text="###.###.###,@@">
   <source>INC02</source>
  </field>
  <field x="29" y="13" type="Valuta" align="right" width="18" id="203" pattern="1" hide_zero="1" text="###.###.###,@@">
   <source>INC03</source>
  </field>
  <field x="29" y="15" type="Valuta" align="right" width="18" id="203" pattern="1" hide_zero="1" text="###.###.###,@@">
   <source>INC04</source>
  </field>
  <field x="29" y="17" type="Valuta" align="right" width="18" id="205" pattern="1" hide_zero="1" text="###.###.###,@@">
   <source>INC05</source>
  </field>
  <field x="29" y="19" type="Valuta" align="right" width="18" id="206" pattern="1" hide_zero="1" text="###.###.###,@@">
   <source>INC06</source>
  </field>
  <field x="29" y="21" type="Valuta" align="right" width="18" id="207" pattern="1" hide_zero="1" text="###.###.###,@@">
   <source>INC07</source>
  </field>
  <field x="29" y="23" type="Valuta" align="right" width="18" id="208" pattern="1" hide_zero="1" text="###.###.###,@@">
   <source>INC08</source>
  </field>
 </section>
 <section type="Foot" />
 <section type="Foot" level="1" />
 <sql>USE TURNI
FROM CODCASSA=#CODCASSA ANNO=#ANNO PROGR=#PROGR
TO CODCASSA=#CODCASSA ANNO=#ANNO PROGR=#PROGR
</sql>
</report>