CAt Af Ultima Iamagen carga al estar visible, Correciones diario de pagos, Productos servicios franquicia sincronizacion campos de inventario

This commit is contained in:
rakcsle
2025-05-15 16:59:36 -07:00
parent abf059b133
commit bb79c34056
8 changed files with 332 additions and 264 deletions

View File

@@ -385,6 +385,7 @@
<td style="text-align: left">Personal:&nbsp;<asp:HyperLink ID="HplP" runat="server" CssClass="Texto" Text='<%# Eval("RazonSocial")%>' NavigateUrl='<%# Eval("CvePersonal", "/RH/Personal.aspx?CvePersonal={0}")%>'></asp:HyperLink>
&nbsp;&nbsp;&nbsp;Cuenta: &nbsp;<asp:HyperLink ID="HplC" runat="server" CssClass="Texto" Text='<%# Eval("Cuenta")%>' NavigateUrl='<%# Eval("CveCuenta", "/Bancos/CuentasBancariasDetalle.aspx?CveCuenta={0}")%>'></asp:HyperLink>
&nbsp;&nbsp;&nbsp;<asp:Literal ID="LitTT" runat="server" Text='<%# Eval("TipoTransaccion")%>'></asp:Literal>: &nbsp;<asp:HyperLink ID="HplTT" runat="server" CssClass="Texto" Text='<%# Eval("Folio")%>' NavigateUrl='<%# Eval("CveIE", "/Bancos/IE.aspx?CveIE={0}")%>'></asp:HyperLink>
<asp:HyperLink Visible="false" ID="HplFolio" runat="server" CssClass="Texto" Text='<%# Eval("Folio")%>' NavigateUrl='<%# Eval("CveIE", "/Bancos/IE.aspx?CveIE={0}")%>'></asp:HyperLink>
</td>
</tr>
</table>

View File

@@ -1217,7 +1217,7 @@ Partial Class Contabilidad_DiarioPagos
Else
Conta.RollBack()
Bancos.RollBack()
MsgErrorGeneral.AppendFormat("{0}{1}", gvr.FCLiteral("LitTT").Text, gvr.FCHyperLink("HplFolio").Text)
MsgErrorGeneral.AppendFormat("{0} {1}", gvr.FCLiteral("LitTT").Text, gvr.FCHyperLink("HplFolio").Text)
End If
@@ -1227,7 +1227,7 @@ Partial Class Contabilidad_DiarioPagos
Else
Conta.RollBack()
Bancos.RollBack()
MsgErrorGeneral.AppendFormat("{0}{1}", gvr.FCLiteral("LitTT").Text, gvr.FCHyperLink("HplFolio").Text)
MsgErrorGeneral.AppendFormat("{0} {1}", gvr.FCLiteral("LitTT").Text, gvr.FCHyperLink("HplFolio").Text)
End If
End If
@@ -1282,7 +1282,13 @@ Partial Class Contabilidad_DiarioPagos
Catch ex As Exception
Conta.RollBack()
Bancos.RollBack()
Alert(ex.Message)
If UsuarioActual.CveRol = 1 Then
Alert($"{ex.Message} --> {ex.StackTrace}")
Else
Alert(ex.Message)
End If
' Alert("Ocurrio u`n error al contabilizar")
End Try