Patch level : 10.0 332

Files correlati     : pe0.exe
Ricompilazione Demo : [ ]
Commento

Preventivazione gestione k


git-svn-id: svn://10.65.10.50/trunk@19027 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2009-06-15 14:16:20 +00:00
parent a222f2c19d
commit 08fde2d0d2
2 changed files with 9 additions and 7 deletions

View File

@ -99,17 +99,19 @@ inline TGestione_preventivo_app& peapp() { return (TGestione_preventivo_app &)ma
const TString & TGestione_preventivo_msk::build_tree_string(int level)
{
TString & tree = get_tmp_string(20);
TString & tree = get_tmp_string(30);
if (level < 10)
{
if (level > 0)
tree.fill(' ', level);
tree.fill(' ', level + 3);
tree << '+';
tree.rpad(10, '-');
tree.rpad(13, '-');
}
else
tree = " +";
tree = " +";
TString l; l.format("%02d", level + 1);
tree.overwrite(l, 0, 2);
return tree;
}
@ -259,7 +261,7 @@ TVariable_mask * TGestione_preventivo_msk::riga_mask(int numriga)
if (is_new && m != NULL)
{
const TRiga_documento& riga = doc()[numriga + 1];
TEdit_field & tree = m->add_string(FR_JOLLY1, 0, "Albero ", 2, 20, 10, "D_");
TEdit_field & tree = m->add_string(FR_JOLLY1, 0, "Albero ", 2, 20, 13, "D_");
TEdit_field & k = m->add_string(FR_JOLLY2, 0, "K ", 25, 20, 25);
TEdit_field & v = m->add_currency(FR_JOLLY3, 0, "Costo", 53, 20, 15, "U");

View File

@ -161,7 +161,7 @@ BLANK = S_DISABILITATO //4000
[DEFAULT]
[SHEET]
Col(0) = FR_JOLLY1|Albero|10
Col(0) = FR_JOLLY1|Albero|13
Col(1) = FR_CODMAG
Col(2) = FR_CODDEP
Col(3) = FR_CODART