Patch level :10.0

Files correlati     :
Ricompilazione Demo : [ ]
Commento            : Stampa Planning per Itinerario


git-svn-id: svn://10.65.10.50/trunk@17278 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
sperego 2008-09-19 13:43:20 +00:00
parent e03d875bea
commit 1e0c3c8b80
5 changed files with 20 additions and 11 deletions

View File

@ -66,7 +66,10 @@ void TStampa_tabelle_lv::main_loop()
TReport_book b;
ok = b.add(r); // Richiede parametri di stampa in base alla maschera omonima
if (ok)
b.print_or_preview(); // Stampa effettivamente
if(b.pages() >0)
b.print_or_preview(); // Stampa effettivamente
else
warning_box (TR("Nessun record estratto per i parametri inseriti"));
}
}

View File

@ -76,7 +76,12 @@ void TStampe_planning_app::main_loop()
TReport_book b;
ok = b.add(r); // Richiede parametri di stampa in base alla maschera omonima
if (ok)
b.print_or_preview(); // Stampa effettivamente
{
if (b.pages() > 0)
{
b.print_or_preview(); // Stampa effettivamente
}
}
}
}

View File

@ -35,7 +35,7 @@
</section>
<section type="Head" level="3" height="2">
<groupby>CODAUT</groupby>
<field x="5" type="Stringa" width="7" pattern="1">
<field x="3" type="Stringa" width="10" pattern="1">
<font face="Courier New" bold="1" size="12" />
<source>167.CODAUT</source>
</field>
@ -86,16 +86,16 @@
<field border="2" x="100.75" y="3" type="Linea" height="1.95" pattern="1" />
<field x="101" y="3" type="Testo" align="center" width="9" pattern="1" text="GG." />
<field border="2" x="110" y="3" type="Linea" height="1.95" pattern="1" />
<field x="111" y="3" type="Testo" width="12" height="1.5" pattern="1" text="BOLLE CONS." />
<field border="2" x="123.12" y="3" type="Linea" height="2" pattern="1" />
<field x="123.5" y="3" type="Testo" width="10" pattern="1" text="PROSSIMA" />
<field x="111" y="3" type="Testo" width="10" height="1.5" pattern="1" text="BOLLE CONS." />
<field border="2" x="123" y="3" type="Linea" height="1.95" pattern="1" />
<field x="124.5" y="3" type="Testo" width="10" pattern="1" text="PROSSIMA" />
<field x="1.12" y="3.25" type="Testo" align="right" width="5" pattern="1" text="FERM." />
<field x="8.12" y="3.25" type="Testo" align="right" width="6.5" pattern="1" text="CODICE" />
<field x="15.62" y="3.25" type="Testo" width="25" pattern="1" text="RAGIONE SOCIALE CLIENTE " />
<field x="51" y="3.5" type="Testo" width="25" pattern="1" text="LOCALITA'" />
<field x="87.12" y="3.75" type="Testo" align="center" width="13" pattern="1" text="PASSAGGIO" />
<field x="101" y="4" type="Testo" align="center" width="9" pattern="1" text="CHIUS." />
<field x="123.5" y="4" type="Testo" width="10.5" pattern="1" text="CONSEGNA" />
<field x="124.5" y="4" type="Testo" width="10.5" pattern="1" text="CONSEGNA" />
</section>
<section type="Body">
<field y="197" type="Numero" align="right" width="3" pattern="1">
@ -139,7 +139,7 @@
<field x="124" y="1" type="Stringa" width="10" pattern="1">
<source>#NEXTCONS</source>
</field>
<field x="111" y="1.5" type="Numero" align="right" width="10" pattern="1">
<field x="111" y="1.5" type="Numero" align="right" width="10" pattern="1" hide_zero="1">
<source>167.NDOC</source>
</field>
<field x="51" y="2" type="Stringa" width="35" pattern="1">

View File

@ -64,6 +64,7 @@ DATE F_DATA_AL
BEGIN
PROMPT 25 4 "Al "
FIELD #TO_DATA
FLAGS "A"
GROUP 2
CHECKTYPE REQUIRED
VALITATE DATE_CMP_FUNC >= F_DATA_DAL

View File

@ -76,9 +76,9 @@ Caption = "Stampe Planning"
Picture = <ba00>
Module = 41
Flags = ""
Item_01 = "Stampa Planning per Itinerario", "lv0 -1 lv2300a", "F"
Item_02 = "Stampa Planning per Autista", "lv0 -1 lv2300b", "F"
Item_03 = "Stampa Planning per Cliente", "lv0 -1 lv2300c", "F"
Item_01 = "Per Itinerario", "lv0 -1 lv2300a", "F"
Item_02 = "Per Autista", "lv0 -1 lv2300b", "F"
Item_03 = "Per Cliente", "lv0 -1 lv2300c", "F"
[LVMENU_090]
Caption = "Configurazione"