Patch level :2.2 170

Files correlati     :stampa rendiconto + maschera tipi doc
Ricompilazione Demo : [ ]
Commento            :
Aggiunta la possibilità di mettere la causale di contabilizzazione per documenti di tipo ordine e/o bolla. Indispensabile per la stampa del rendiconto.


git-svn-id: svn://10.65.10.50/trunk@13326 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2005-09-02 15:22:08 +00:00
parent c2a8d0a332
commit 217c08abbc
2 changed files with 4 additions and 10 deletions

View File

@ -1047,19 +1047,16 @@ error_type TContabilizzazione::compile_head_mov(TDocumento& doc)
{ {
msg << "stampato su bollato"; msg << "stampato su bollato";
_viswin->add_line(msg); _viswin->add_line(msg);
return no_error;
} }
if (mov.get_bool(MOV_STAMPATO)) if (mov.get_bool(MOV_STAMPATO))
{ {
msg << "stampato sul giornale"; msg << "stampato sul giornale";
_viswin->add_line(msg); _viswin->add_line(msg);
return no_error;
} }
if (mov.get_bool(MOV_INVIATO)) if (mov.get_bool(MOV_INVIATO))
{ {
msg << "inviato ad altra contabilità"; msg << "inviato ad altra contabilità";
_viswin->add_line(msg); _viswin->add_line(msg);
return no_error;
} }
msg.format("--- Il documento verrà ricontabilizzato nel movimento %ld", numreg); msg.format("--- Il documento verrà ricontabilizzato nel movimento %ld", numreg);
_viswin->add_line(msg); _viswin->add_line(msg);

View File

@ -76,7 +76,6 @@ STRING F_PSTAMPA 8
BEGIN BEGIN
PROMPT 2 7 "Profilo stampa principale " PROMPT 2 7 "Profilo stampa principale "
FIELD S5[1,8] FIELD S5[1,8]
// CHECKTYPE REQUIRED
MESSAGE EMPTY CLEAR,4@ MESSAGE EMPTY CLEAR,4@
MESSAGE ENABLE,4@ MESSAGE ENABLE,4@
END END
@ -117,7 +116,6 @@ BEGIN
OUTPUT F_DESCAUS DESCR OUTPUT F_DESCAUS DESCR
CHECKTYPE NORMAL CHECKTYPE NORMAL
FLAG "U" FLAG "U"
GROUP 2
ADD RUN CG0 -4 ADD RUN CG0 -4
END END
@ -131,7 +129,6 @@ BEGIN
OUTPUT F_DESCAUS DESCR OUTPUT F_DESCAUS DESCR
OUTPUT F_CODCAUS CODCAUS OUTPUT F_CODCAUS CODCAUS
CHECKTYPE NORMAL CHECKTYPE NORMAL
GROUP 2
END END
STRING F_CODCAUSANT 3 STRING F_CODCAUSANT 3