Merge -- Empresas
This commit is contained in:
@@ -335,8 +335,8 @@ public partial class OI_MinutaDetalle : ClsPaginas
|
||||
foreach (Archivo item in TxtArchivo.getfiles().Archivos)
|
||||
{
|
||||
archivoname = item.filenameO;
|
||||
ArchivoExtencion = string.Format("{0}{1}", (item.Extencion.Length > 0 ? "." : ""), item.Extencion);
|
||||
rutaarchivoOri = string.Format("{0}{1}{2}", AppDomain.CurrentDomain.BaseDirectory, item.patch, item.filename);
|
||||
ArchivoExtencion = string.Format("{0}{1}", (item.Extension.Length > 0 ? "." : ""), item.Extension);
|
||||
rutaarchivoOri = string.Format("{0}{1}{2}", AppDomain.CurrentDomain.BaseDirectory, item.path, item.filename);
|
||||
}
|
||||
bool Continuar = true;
|
||||
|
||||
@@ -490,8 +490,8 @@ public partial class OI_MinutaDetalle : ClsPaginas
|
||||
foreach (Archivo item in TxtTareaArchivo.getfiles().Archivos)
|
||||
{
|
||||
archivoname = item.filenameO;
|
||||
ArchivoExtencion = string.Format("{0}{1}", (item.Extencion.Length > 0 ? "." : ""), item.Extencion);
|
||||
rutaarchivoOri = string.Format("{0}{1}{2}", AppDomain.CurrentDomain.BaseDirectory, item.patch, item.filename);
|
||||
ArchivoExtencion = string.Format("{0}{1}", (item.Extension.Length > 0 ? "." : ""), item.Extension);
|
||||
rutaarchivoOri = string.Format("{0}{1}{2}", AppDomain.CurrentDomain.BaseDirectory, item.path, item.filename);
|
||||
}
|
||||
|
||||
|
||||
@@ -614,8 +614,8 @@ public partial class OI_MinutaDetalle : ClsPaginas
|
||||
foreach (Archivo item in TxtAgendaArchivo.getfiles().Archivos)
|
||||
{
|
||||
archivoname = item.filenameO;
|
||||
ArchivoExtencion = string.Format("{0}{1}", (item.Extencion.Length > 0 ? "." : ""), item.Extencion);
|
||||
rutaarchivoOri = string.Format("{0}{1}{2}", AppDomain.CurrentDomain.BaseDirectory, item.patch, item.filename);
|
||||
ArchivoExtencion = string.Format("{0}{1}", (item.Extension.Length > 0 ? "." : ""), item.Extension);
|
||||
rutaarchivoOri = string.Format("{0}{1}{2}", AppDomain.CurrentDomain.BaseDirectory, item.path, item.filename);
|
||||
}
|
||||
|
||||
|
||||
@@ -709,8 +709,8 @@ public partial class OI_MinutaDetalle : ClsPaginas
|
||||
foreach (Archivo item in Txtfilecomentario.getfiles().Archivos)
|
||||
{
|
||||
archivoname = item.filenameO;
|
||||
ArchivoExtencion = string.Format("{0}{1}", (item.Extencion.Length > 0 ? "." : ""), item.Extencion);
|
||||
rutaarchivoOri = string.Format("{0}{1}{2}", AppDomain.CurrentDomain.BaseDirectory, item.patch, item.filename);
|
||||
ArchivoExtencion = string.Format("{0}{1}", (item.Extension.Length > 0 ? "." : ""), item.Extension);
|
||||
rutaarchivoOri = string.Format("{0}{1}{2}", AppDomain.CurrentDomain.BaseDirectory, item.path, item.filename);
|
||||
}
|
||||
using (ClsOIEventos objoi = new ClsOIEventos())
|
||||
{
|
||||
|
||||
@@ -134,8 +134,8 @@ public partial class OI_Proyecto : ClsPaginas
|
||||
//foreach (Archivo item in TxtArchivo.getfiles().Archivos)
|
||||
//{
|
||||
// archivoname = item.filenameO;
|
||||
// ArchivoExtencion = string.Format("{0}{1}", (item.Extencion.Length > 0 ? "." : ""), item.Extencion);
|
||||
// rutaarchivoOri = string.Format("{0}{1}{2}", ModExtensiones.DirectorioBaseEmpresas, item.patch, item.filename);
|
||||
// ArchivoExtencion = string.Format("{0}{1}", (item.Extension.Length > 0 ? "." : ""), item.Extension);
|
||||
// rutaarchivoOri = string.Format("{0}{1}{2}", ModExtensiones.DirectorioBaseEmpresas, item.path, item.filename);
|
||||
//}
|
||||
|
||||
|
||||
|
||||
@@ -100,8 +100,8 @@ public partial class OI_RepProyectos : ClsPaginas
|
||||
//foreach (Archivo item in TxtArchivo.getfiles().Archivos)
|
||||
//{
|
||||
// archivoname = item.filenameO;
|
||||
// ArchivoExtencion = string.Format("{0}{1}", (item.Extencion.Length > 0 ? "." : ""), item.Extencion);
|
||||
// rutaarchivoOri = string.Format("{0}{1}{2}", ModExtensiones.DirectorioBaseEmpresas, item.patch, item.filename);
|
||||
// ArchivoExtencion = string.Format("{0}{1}", (item.Extension.Length > 0 ? "." : ""), item.Extension);
|
||||
// rutaarchivoOri = string.Format("{0}{1}{2}", ModExtensiones.DirectorioBaseEmpresas, item.path, item.filename);
|
||||
//}
|
||||
|
||||
|
||||
|
||||
@@ -715,8 +715,8 @@ public partial class OI_TareaDetalle : ClsPaginas
|
||||
foreach (Archivo item in TxtArchivo.getfiles().Archivos)
|
||||
{
|
||||
archivoname = item.filenameO;
|
||||
ArchivoExtencion = string.Format("{0}{1}", (item.Extencion.Length > 0 ? "." : ""), item.Extencion);
|
||||
rutaarchivoOri = string.Format("{0}{1}{2}", AppDomain.CurrentDomain.BaseDirectory, item.patch, item.filename);
|
||||
ArchivoExtencion = string.Format("{0}{1}", (item.Extension.Length > 0 ? "." : ""), item.Extension);
|
||||
rutaarchivoOri = string.Format("{0}{1}{2}", AppDomain.CurrentDomain.BaseDirectory, item.path, item.filename);
|
||||
}
|
||||
|
||||
|
||||
@@ -1118,8 +1118,8 @@ public partial class OI_TareaDetalle : ClsPaginas
|
||||
foreach (Archivo item in Txtfilecomentario.getfiles().Archivos)
|
||||
{
|
||||
archivoname = item.filenameO;
|
||||
ArchivoExtencion = string.Format("{0}{1}", (item.Extencion.Length > 0 ? "." : ""), item.Extencion);
|
||||
rutaarchivoOri = string.Format("{0}{1}{2}", AppDomain.CurrentDomain.BaseDirectory, item.patch, item.filename);
|
||||
ArchivoExtencion = string.Format("{0}{1}", (item.Extension.Length > 0 ? "." : ""), item.Extension);
|
||||
rutaarchivoOri = string.Format("{0}{1}{2}", AppDomain.CurrentDomain.BaseDirectory, item.path, item.filename);
|
||||
}
|
||||
using (ClsOIEventos objoi = new ClsOIEventos())
|
||||
{
|
||||
@@ -1209,8 +1209,8 @@ public partial class OI_TareaDetalle : ClsPaginas
|
||||
foreach (Archivo item in txtActualizarArchivo.getfiles().Archivos)
|
||||
{
|
||||
archivoname = item.filenameO;
|
||||
ArchivoExtencion = string.Format("{0}{1}", (item.Extencion.Length > 0 ? "." : ""), item.Extencion);
|
||||
rutaarchivoOri = string.Format("{0}{1}{2}", AppDomain.CurrentDomain.BaseDirectory, item.patch, item.filename);
|
||||
ArchivoExtencion = string.Format("{0}{1}", (item.Extension.Length > 0 ? "." : ""), item.Extension);
|
||||
rutaarchivoOri = string.Format("{0}{1}{2}", AppDomain.CurrentDomain.BaseDirectory, item.path, item.filename);
|
||||
}
|
||||
string ruta = string.Format("{0}OIFiles\\", UsuarioActual.Empresa.Ruta);
|
||||
if (!System.IO.Directory.Exists(ruta))
|
||||
|
||||
Reference in New Issue
Block a user