From cf979a5e25f387fcb8e7ba2ea1c93eee1069ca8c Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 9 Mar 2009 15:51:28 +0000 Subject: [PATCH] Patch level : 10.0 254 Files correlati : ve0.exe profili documento delle vendite e delle lavanderie Ricompilazione Demo : [ ] Commento : Corretta la generazione della maschere dei documenti, i campi del piede non erano numerici git-svn-id: svn://10.65.10.50/trunk@18465 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- ve/ve0300.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ve/ve0300.cpp b/ve/ve0300.cpp index 0bc74c9e1..352cfd4a6 100755 --- a/ve/ve0300.cpp +++ b/ve/ve0300.cpp @@ -1139,6 +1139,8 @@ void TMask_generator::load_table() s = f.line(); if (s.find("Version") > -1) s = f.line(); + if (s.find("File") > -1) + s = f.line(); int totitem = 0; while (s.find("Fields") > -1) { @@ -1146,13 +1148,13 @@ void TMask_generator::load_table() for (int i = 0; i < items; i++) { int pos = totitem + i; - if (strstr(s.get(i),"S0") != NULL) + if (strstr(s.get(i),"S0,") != NULL) s0pos = pos; - if (strstr(s.get(i),"I0") != NULL) + if (strstr(s.get(i),"I0,") != NULL) i0pos = pos; - if (strstr(s.get(i),"B0") != NULL) + if (strstr(s.get(i),"B0,") != NULL) b0pos = pos; - if (strstr(s.get(i),"B1") != NULL) + if (strstr(s.get(i),"B1,") != NULL) b1pos = pos; } totitem += items;