-- activación de botón imprimir
This commit is contained in:
@@ -397,9 +397,10 @@ public partial class Bancos_PagoAcreedor : ClsPaginas
|
||||
|
||||
if (MsgError.Equals(""))
|
||||
{
|
||||
ObjIE.Commit();
|
||||
if (Msg.ToString().Equals(""))
|
||||
{
|
||||
Msg.AppendFormat("El Documento se guardo correctamente. Folio <b><a href='/Bancos/IE.aspx?CveIE={0}' target='_blank' class='Texto'>{1}</a></b> <br/>", CveIE, ObjIE.Folio);
|
||||
Msg.AppendFormat("El Documento se guardo correctamente. <br/> Folio <b><a href='/Bancos/IE.aspx?CveIE={0}' target='_blank' class='Texto'>{1}</a></b> <br/>", CveIE, ObjIE.Folio);
|
||||
|
||||
}
|
||||
//GUARDA COMPROBANTE
|
||||
@@ -435,11 +436,14 @@ public partial class Bancos_PagoAcreedor : ClsPaginas
|
||||
// }
|
||||
//}
|
||||
|
||||
if (IDPoliza > 0)
|
||||
{
|
||||
Msg.AppendFormat(@"<br/><br/><a class=""Texto"" target='_blank' href=""/Contabilidad/RegPoliza.aspx?IdPoliza={0}"">Ver Póliza</a>", IDPoliza);
|
||||
}
|
||||
ObjIE.Commit();
|
||||
//if (IDPoliza > 0)
|
||||
//{
|
||||
// Msg.AppendFormat(@"<br/><br/><a class=""Texto"" target='_blank' href=""/Contabilidad/RegPoliza.aspx?IdPoliza={0}"">Ver Póliza</a>", IDPoliza);
|
||||
//}
|
||||
|
||||
Msg.AppendFormat(@"<a class=""Texto"" target='_blank' href=""/Contabilidad/RegPrePoliza.aspx?CvePrePoliza={0}"">Ver Póliza</a><br/>", CvePrePoliza);
|
||||
Msg.AppendFormat($"<a class='Texto' target='_blank' href='/Compras/PopUpVerFactura.aspx?P={Encripta($"OP=PREPO&CvePrePoliza={CvePrePoliza}")}'>Imprimir</a>");
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -619,9 +623,10 @@ public partial class Bancos_PagoAcreedor : ClsPaginas
|
||||
|
||||
if (MsgError.Equals(""))
|
||||
{
|
||||
ObjIE.Commit();
|
||||
if (Msg.ToString().Equals(""))
|
||||
{
|
||||
Msg.Append("El Documento se guardo correctamente");
|
||||
Msg.Append("El Documento se guardo correctamente.<br/>");
|
||||
}
|
||||
System.IO.FileInfo archivo = null;
|
||||
|
||||
@@ -651,11 +656,13 @@ public partial class Bancos_PagoAcreedor : ClsPaginas
|
||||
// }
|
||||
//}
|
||||
|
||||
if (IDPoliza > 0)
|
||||
{
|
||||
Msg.AppendFormat(@"<br/><br/><a class=""Texto"" target='_blank' href=""/Contabilidad/RegPoliza.aspx?IdPoliza={0}"">Ver Póliza</a>", IDPoliza);
|
||||
}
|
||||
ObjIE.Commit();
|
||||
//if (IDPoliza > 0)
|
||||
//{
|
||||
// Msg.AppendFormat(@"<br/><br/><a class=""Texto"" target='_blank' href=""/Contabilidad/RegPoliza.aspx?IdPoliza={0}"">Ver Póliza</a>", IDPoliza);
|
||||
//}
|
||||
Msg.AppendFormat(@"<a class=""Texto"" target='_blank' href=""/Contabilidad/RegPrePoliza.aspx?CvePrePoliza={0}"">Ver Póliza</a><br/>", CvePrePoliza);
|
||||
Msg.AppendFormat($"<a class='Texto' target='_blank' href='/Compras/PopUpVerFactura.aspx?P={Encripta($"OP=PREPO&CvePrePoliza={CvePrePoliza}")}'>Imprimir</a>");
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -311,12 +311,13 @@ public partial class Bancos_PagoDeudor : ClsPaginas
|
||||
|
||||
if (MsgError.Equals(""))
|
||||
{
|
||||
ObjIE.Commit();
|
||||
if (Msg.ToString().Equals(""))
|
||||
{
|
||||
Msg.Append("El Documento se guardo correctamente");
|
||||
Msg.Append("El Documento se guardo correctamente.<br/>");
|
||||
}
|
||||
System.IO.FileInfo archivo = null;
|
||||
Msg.AppendFormat("<br/><br/> Folio: <a class='Texto' target='_blank' href='/Bancos/IE.aspx?CveIE={0}'>{1}</a><br/>", CveIE, TxtFolioPrestamo.Text.Trim());
|
||||
Msg.AppendFormat("Folio: <a class='Texto' target='_blank' href='/Bancos/IE.aspx?CveIE={0}'>{1}</a><br/>", CveIE, TxtFolioPrestamo.Text.Trim());
|
||||
|
||||
if (DdlTipoTransaccionPrestamo.SelectedValue.ToEntero().Contiene(2, 8, 9))
|
||||
{
|
||||
@@ -335,7 +336,7 @@ public partial class Bancos_PagoDeudor : ClsPaginas
|
||||
{
|
||||
archivo = new System.IO.FileInfo(String.Format("{0}Formatos/ComprobanteEgreso.rdlc", UsuarioActual.Empresa.Ruta, DdlCuentaPrestamo.SelectedValue.ToEntero()));
|
||||
}
|
||||
|
||||
|
||||
//if (archivo.Length > 0)
|
||||
//{
|
||||
// if (archivo.Exists)
|
||||
@@ -344,11 +345,13 @@ public partial class Bancos_PagoDeudor : ClsPaginas
|
||||
// }
|
||||
//}
|
||||
|
||||
if (IDPoliza > 0)
|
||||
{
|
||||
Msg.AppendFormat(@"<br/><br/><a class=""Texto"" target='_blank' href=""/Contabilidad/RegPoliza.aspx?IdPoliza={0}"">Ver Póliza</a>", IDPoliza);
|
||||
}
|
||||
ObjIE.Commit();
|
||||
//if (IDPoliza > 0)
|
||||
//{
|
||||
// Msg.AppendFormat(@"<br/><br/><a class=""Texto"" target='_blank' href=""/Contabilidad/RegPoliza.aspx?IdPoliza={0}"">Ver Póliza</a>", IDPoliza);
|
||||
//}
|
||||
Msg.AppendFormat(@"<a class=""Texto"" target='_blank' href=""/Contabilidad/RegPrePoliza.aspx?CvePrePoliza={0}"">Ver Póliza</a><br/>", CvePrePoliza);
|
||||
Msg.AppendFormat($"<a class='Texto' target='_blank' href='/Compras/PopUpVerFactura.aspx?P={Encripta($"OP=PREPO&CvePrePoliza={CvePrePoliza}")}'>Imprimir</a>");
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -682,12 +685,13 @@ public partial class Bancos_PagoDeudor : ClsPaginas
|
||||
|
||||
if (MsgError.Equals(""))
|
||||
{
|
||||
ObjIE.Commit();
|
||||
if (Msg.ToString().Equals(""))
|
||||
{
|
||||
Msg.Append("El Documento se guardo correctamente");
|
||||
Msg.Append("El Documento se guardo correctamente.<br/>");
|
||||
}
|
||||
System.IO.FileInfo archivo = null;
|
||||
Msg.AppendFormat("<br/><br/> Folio: <a class='Texto' target='_blank' href='/Bancos/IE.aspx?CveIE={0}'>{1}</a><br/>", CveIE, TxtFolio.Text.Trim());
|
||||
Msg.AppendFormat("Folio: <a class='Texto' target='_blank' href='/Bancos/IE.aspx?CveIE={0}'>{1}</a><br/>", CveIE, TxtFolio.Text.Trim());
|
||||
|
||||
if (DdlTipoTransaccion.SelectedValue.ToEntero().Contiene(2, 8, 9))
|
||||
{
|
||||
@@ -715,11 +719,13 @@ public partial class Bancos_PagoDeudor : ClsPaginas
|
||||
// }
|
||||
//}
|
||||
|
||||
if (IDPoliza > 0)
|
||||
{
|
||||
Msg.AppendFormat(@"<br/><br/><a class=""Texto"" target='_blank' href=""/Contabilidad/RegPoliza.aspx?IdPoliza={0}"">Ver Póliza</a>", IDPoliza);
|
||||
}
|
||||
ObjIE.Commit();
|
||||
//if (IDPoliza > 0)
|
||||
//{
|
||||
// Msg.AppendFormat(@"<br/><br/><a class=""Texto"" target='_blank' href=""/Contabilidad/RegPoliza.aspx?IdPoliza={0}"">Ver Póliza</a>", IDPoliza);
|
||||
//}
|
||||
Msg.AppendFormat(@"<a class=""Texto"" target='_blank' href=""/Contabilidad/RegPrePoliza.aspx?CvePrePoliza={0}"">Ver Póliza</a><br/>", CvePrePoliza);
|
||||
Msg.AppendFormat($"<a class='Texto' target='_blank' href='/Compras/PopUpVerFactura.aspx?P={Encripta($"OP=PREPO&CvePrePoliza={CvePrePoliza}")}'>Imprimir</a>");
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user