Patch level : 10.0

Files correlati     : mr2
Ricompilazione Demo : [ ]
Commento            :
Trasformato TCurrency c(TRUE) in TPrice c;


git-svn-id: svn://10.65.10.50/trunk@17398 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2008-10-09 09:17:58 +00:00
parent 3d9a67c74d
commit 06f7310aae

View File

@ -2778,8 +2778,7 @@ void TMatResPlanning::set_body_order_line(TPrintrow &row, TToken_string *sheetro
row.put(format("@%dG%s", pos+= 18+1, sheetrow ? (const char *)sheetrow->get(F_UM-FIRST_FIELD): "UM"));
if (sheetrow)
sheetrow->get(F_PREZZO-FIRST_FIELD, r);
TCurrency c(TRUE);
c.set_num(r);
const TPrice c(r);
row.put(format("@%dG%18s", pos+=2+1, sheetrow ? (const char *)c.string(): "Prezzo"));
row.put(format("@%dG%3s", pos+=18+1, sheetrow ? (const char *)sheetrow->get(F_MAGAZZINO-FIRST_FIELD): "Mag."));
row.put(format("@%dG%2s", pos+= 3+1, sheetrow ? (const char *)sheetrow->get(F_DEPOSITO-FIRST_FIELD): ""));