-- 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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user