Merge branch 'master' of http://agonzalez@192.168.10.111:8383/SIG.git
This commit is contained in:
@@ -29,7 +29,7 @@ Partial Class Acumuladores_RepEntradasUsadosClientes
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Public Sub CargaCombos()
|
Public Sub CargaCombos()
|
||||||
DdlAlmacen.DataSource = GlobalDTAlmacenUsuarios(UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa)
|
DdlAlmacen.DataSource = GlobalDTAlmacenUsuarios(UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, 22)
|
||||||
DdlAlmacen.DataBind()
|
DdlAlmacen.DataBind()
|
||||||
DdlAlmacen.Items.Insert(0, New ListItem("Todos", "-1"))
|
DdlAlmacen.Items.Insert(0, New ListItem("Todos", "-1"))
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,11 @@ Partial Class Inventarios_KardexAlmacen
|
|||||||
TxtFechaF.Text = Now.ToShortDateString
|
TxtFechaF.Text = Now.ToShortDateString
|
||||||
CargaCombos()
|
CargaCombos()
|
||||||
ddlAlmacen.Items.Insert(0, New ListItem("Todos", "-1"))
|
ddlAlmacen.Items.Insert(0, New ListItem("Todos", "-1"))
|
||||||
pnlOrden.Visible = UsuarioActual.CveEmpresa = 141
|
pnlOrden.Visible = False
|
||||||
|
If UsuarioActual.CveEmpresa = 141 Then
|
||||||
|
pnlOrden.Visible = True
|
||||||
|
DdlOrden.SelectedValue = 2
|
||||||
|
End If
|
||||||
If IfNull(Request("CvePS"), "-1").ToString.ToEntero > 0 Then CargarKardex(Request("CvePS").ToString.ToEntero)
|
If IfNull(Request("CvePS"), "-1").ToString.ToEntero > 0 Then CargarKardex(Request("CvePS").ToString.ToEntero)
|
||||||
ddlProducto2.SelectedValue = If(Request("CvePS") IsNot Nothing, Request("CvePS").ToString, "-1")
|
ddlProducto2.SelectedValue = If(Request("CvePS") IsNot Nothing, Request("CvePS").ToString, "-1")
|
||||||
End If
|
End If
|
||||||
|
|||||||
@@ -238,7 +238,7 @@
|
|||||||
<asp:CheckBox Text=" Seguir Registrando Pagos" ID="ChkSeguirRegistrando" CssClass="md-checksd" runat="server" />
|
<asp:CheckBox Text=" Seguir Registrando Pagos" ID="ChkSeguirRegistrando" CssClass="md-checksd" runat="server" />
|
||||||
</td>
|
</td>
|
||||||
<td style="text-align: left; width: 9%">
|
<td style="text-align: left; width: 9%">
|
||||||
<asp:CheckBox Text=" Emitir complemento de pago" ID="ChkComplementoPago" Visible="false" CssClass="md-checksd" runat="server" />
|
<asp:CheckBox Text=" Emitir complemento de pago" ID="ChkComplementoPago" Visible="true" CssClass="md-checksd" runat="server" />
|
||||||
<br />
|
<br />
|
||||||
<asp:Label ID="LblValidaCeuntaTipoTransaccion" runat="server" Visible="false" ForeColor="Red"></asp:Label>
|
<asp:Label ID="LblValidaCeuntaTipoTransaccion" runat="server" Visible="false" ForeColor="Red"></asp:Label>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -333,12 +333,7 @@ Partial Class Ventas_ClientesAbonar
|
|||||||
ElseIf CveMoneda = -1 Then
|
ElseIf CveMoneda = -1 Then
|
||||||
TxtFechaDocumento.Attributes.Add("onchange", "CambiaTC(this);")
|
TxtFechaDocumento.Attributes.Add("onchange", "CambiaTC(this);")
|
||||||
TxtTCDolares.Text = GlobalTipoCambio(Fecha).FormatoNumero(4)
|
TxtTCDolares.Text = GlobalTipoCambio(Fecha).FormatoNumero(4)
|
||||||
TxtTC.Text = GlobalTipoCambio(Fecha).FormatoNumero(4)
|
TxtTC.Text = GlobalTipoCambio(Fecha).FormatoNumero(4)
|
||||||
End If
|
|
||||||
|
|
||||||
If UsuarioActual.Empresa.Funcionalidad(520) = "1" Then
|
|
||||||
ChkComplementoPago.Visible = True
|
|
||||||
'ChkComplementoPago.Checked = True
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If UsuarioActual.TienePermisoProceso(209) Or UsuarioActual.TienePermisoProceso(204) Then
|
If UsuarioActual.TienePermisoProceso(209) Or UsuarioActual.TienePermisoProceso(204) Then
|
||||||
|
|||||||
Reference in New Issue
Block a user