reinclusi placeholder files

refresh generale
This commit is contained in:
samuele
2012-10-22 15:38:46 +02:00
parent 6368b977c5
commit ecb36b99fb
6 changed files with 5 additions and 14 deletions
+2
View File
@@ -10,7 +10,9 @@
/ETS_Data/obj/Release
/ETS_Data/obj/WinLab
/ETS-WS/ETS-WS/ArchivioDocs/*
!/ETS-WS/ETS-WS/ArchivioDocs/PlaceHolder.file
/ETS-WS/ETS-WS/ArchivioDocsRed/*
!/ETS-WS/ETS-WS/ArchivioDocsRed/PlaceHolder.file
/ETS-WS/ETS-WS/logs/*.log
*.suo
@@ -0,0 +1 @@

@@ -0,0 +1 @@

-13
View File
@@ -38,20 +38,7 @@ namespace ETS_WS
{
// calcolo valori data e red
string aammgg = metaDati.dataDoc.ToString("yyMMdd");
#if false
string comPath = "";
if (!metaDati.isRed)
{
comPath = "comunicazioni";
}
else
{
comPath = "comunicazioni_red";
}
// calcolo
answ = string.Format("/{0}/{1}/{2}/{3}/{4}/{5}/", metaDati.commessa, comPath, metaDati.fase, metaDati.InOut, metaDati.fonte, aammgg);
#endif
// calcolo
answ = string.Format("/{0}/{1}/{2}/{3}/{4}/", metaDati.commessa, metaDati.fase, metaDati.InOut, metaDati.fonte, aammgg);
}
catch
@@ -96,7 +96,7 @@ namespace ETS_WS.WebUserControls
// aggiunto al path cartella archivio corretta...
pathDest = string.Format("{0}{1}", comPath, docsData.path);
// fix redattore
string redattore = utils.obj.currUserCognomeNome; // usa utente corrente
string redattore = utils.obj.currUserNomeCognome; // usa utente corrente
idxFile = WebShipUtils.archiviaFile(docsData, WebShipUtils.mng.UserTempPath, pathDest, nomeTemplate, redattore);
// recupero dati documento
docsData = WebShipUtils.mng.docMetaFromIdxFile(idxFile);
Binary file not shown.