-- activación de botón imprimir
This commit is contained in:
@@ -397,9 +397,10 @@ public partial class Bancos_PagoAcreedor : ClsPaginas
|
|||||||
|
|
||||||
if (MsgError.Equals(""))
|
if (MsgError.Equals(""))
|
||||||
{
|
{
|
||||||
|
ObjIE.Commit();
|
||||||
if (Msg.ToString().Equals(""))
|
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
|
//GUARDA COMPROBANTE
|
||||||
@@ -435,11 +436,14 @@ public partial class Bancos_PagoAcreedor : ClsPaginas
|
|||||||
// }
|
// }
|
||||||
//}
|
//}
|
||||||
|
|
||||||
if (IDPoliza > 0)
|
//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(@"<br/><br/><a class=""Texto"" target='_blank' href=""/Contabilidad/RegPoliza.aspx?IdPoliza={0}"">Ver Póliza</a>", IDPoliza);
|
||||||
}
|
//}
|
||||||
ObjIE.Commit();
|
|
||||||
|
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
|
else
|
||||||
{
|
{
|
||||||
@@ -619,9 +623,10 @@ public partial class Bancos_PagoAcreedor : ClsPaginas
|
|||||||
|
|
||||||
if (MsgError.Equals(""))
|
if (MsgError.Equals(""))
|
||||||
{
|
{
|
||||||
|
ObjIE.Commit();
|
||||||
if (Msg.ToString().Equals(""))
|
if (Msg.ToString().Equals(""))
|
||||||
{
|
{
|
||||||
Msg.Append("El Documento se guardo correctamente");
|
Msg.Append("El Documento se guardo correctamente.<br/>");
|
||||||
}
|
}
|
||||||
System.IO.FileInfo archivo = null;
|
System.IO.FileInfo archivo = null;
|
||||||
|
|
||||||
@@ -651,11 +656,13 @@ public partial class Bancos_PagoAcreedor : ClsPaginas
|
|||||||
// }
|
// }
|
||||||
//}
|
//}
|
||||||
|
|
||||||
if (IDPoliza > 0)
|
//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(@"<br/><br/><a class=""Texto"" target='_blank' href=""/Contabilidad/RegPoliza.aspx?IdPoliza={0}"">Ver Póliza</a>", IDPoliza);
|
||||||
}
|
//}
|
||||||
ObjIE.Commit();
|
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
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -311,12 +311,13 @@ public partial class Bancos_PagoDeudor : ClsPaginas
|
|||||||
|
|
||||||
if (MsgError.Equals(""))
|
if (MsgError.Equals(""))
|
||||||
{
|
{
|
||||||
|
ObjIE.Commit();
|
||||||
if (Msg.ToString().Equals(""))
|
if (Msg.ToString().Equals(""))
|
||||||
{
|
{
|
||||||
Msg.Append("El Documento se guardo correctamente");
|
Msg.Append("El Documento se guardo correctamente.<br/>");
|
||||||
}
|
}
|
||||||
System.IO.FileInfo archivo = null;
|
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))
|
if (DdlTipoTransaccionPrestamo.SelectedValue.ToEntero().Contiene(2, 8, 9))
|
||||||
{
|
{
|
||||||
@@ -344,11 +345,13 @@ public partial class Bancos_PagoDeudor : ClsPaginas
|
|||||||
// }
|
// }
|
||||||
//}
|
//}
|
||||||
|
|
||||||
if (IDPoliza > 0)
|
//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(@"<br/><br/><a class=""Texto"" target='_blank' href=""/Contabilidad/RegPoliza.aspx?IdPoliza={0}"">Ver Póliza</a>", IDPoliza);
|
||||||
}
|
//}
|
||||||
ObjIE.Commit();
|
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
|
else
|
||||||
{
|
{
|
||||||
@@ -682,12 +685,13 @@ public partial class Bancos_PagoDeudor : ClsPaginas
|
|||||||
|
|
||||||
if (MsgError.Equals(""))
|
if (MsgError.Equals(""))
|
||||||
{
|
{
|
||||||
|
ObjIE.Commit();
|
||||||
if (Msg.ToString().Equals(""))
|
if (Msg.ToString().Equals(""))
|
||||||
{
|
{
|
||||||
Msg.Append("El Documento se guardo correctamente");
|
Msg.Append("El Documento se guardo correctamente.<br/>");
|
||||||
}
|
}
|
||||||
System.IO.FileInfo archivo = null;
|
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))
|
if (DdlTipoTransaccion.SelectedValue.ToEntero().Contiene(2, 8, 9))
|
||||||
{
|
{
|
||||||
@@ -715,11 +719,13 @@ public partial class Bancos_PagoDeudor : ClsPaginas
|
|||||||
// }
|
// }
|
||||||
//}
|
//}
|
||||||
|
|
||||||
if (IDPoliza > 0)
|
//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(@"<br/><br/><a class=""Texto"" target='_blank' href=""/Contabilidad/RegPoliza.aspx?IdPoliza={0}"">Ver Póliza</a>", IDPoliza);
|
||||||
}
|
//}
|
||||||
ObjIE.Commit();
|
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
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user