--Campo sucursal cobranza solo para la func 382
This commit is contained in:
@@ -405,10 +405,10 @@
|
||||
<asp:ListItem Text="No Aseguradora" Value="0"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
</div>
|
||||
<div class="col-md-1 truncate" title="Sucursal de cobranza:" data-toggle="tooltip" data-placement="top">
|
||||
<div class="col-md-1 truncate" title="Sucursal de cobranza:" data-toggle="tooltip" data-placement="top" id="LblSPCobranza" runat="server" visible="false">
|
||||
Sucursal de cobranza:
|
||||
</div>
|
||||
<div class="col-md-2 ">
|
||||
<div class="col-md-2 " id="DivSPCobranza" runat="server" visible="false">
|
||||
<asp:DropDownList ID="DdlSubProyectoCobranza" runat="server" DataTextField="SubProyecto" DataValueField="CveSubProyecto" CssClass="form-control input-small input-sm select2me" Width="100%">
|
||||
</asp:DropDownList>
|
||||
</div>
|
||||
|
||||
@@ -160,6 +160,11 @@ Partial Class RepCxC
|
||||
CargarCentrosDeCosto(Nothing, DdlSubProyecto, Nothing, LblSubProyecto)
|
||||
CargarCentrosDeCosto(Nothing, DdlSubProyectoCobranza, Nothing, Nothing)
|
||||
|
||||
If UsuarioActual.Empresa.Funcionalidad(382) = "1" Then
|
||||
DivSPCobranza.Visible = True
|
||||
LblSPCobranza.Visible = True
|
||||
End If
|
||||
|
||||
'Carga Vendedor
|
||||
DdlVendedor.DataSource = GlobalDTVendedores(UsuarioActual.CveEmpresa)
|
||||
DdlVendedor.DataBind()
|
||||
|
||||
@@ -360,13 +360,15 @@
|
||||
<asp:ListItem Text="No Aseguradora" Value="0"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
</div>
|
||||
<div class="col-md-1 truncate" title="Sucursal de cobranza:" data-toggle="tooltip" data-placement="top">
|
||||
<div class="col-md-1 truncate" title="Sucursal de cobranza:" data-toggle="tooltip" data-placement="top" id="LblSPCobranza" runat="server" visible="false">
|
||||
Sucursal de cobranza:
|
||||
</div>
|
||||
<div class="col-md-2 ">
|
||||
<div class="col-md-2 " id="DivSPCobranza" runat="server" visible="false">
|
||||
<asp:DropDownList ID="DdlSubProyectoCobranza" runat="server" DataTextField="SubProyecto" DataValueField="CveSubProyecto" CssClass="form-control input-small input-sm select2me" Width="100%">
|
||||
</asp:DropDownList>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -727,7 +729,7 @@
|
||||
<td style="text-align: left;">
|
||||
<asp:CheckBox ID="ChkDireccionCliente" runat="server" Text=" Dirección Cli." Checked="false" /></td>
|
||||
<td style="text-align: left;">
|
||||
<asp:CheckBox ID="ChkSucursalCobranzaCliente" runat="server" Text=" Sucursal Cobranza <br/> (Clientes)." Checked="false" /></td>
|
||||
<asp:CheckBox ID="ChkSucursalCobranzaCliente" runat="server" Text=" Sucursal Cobranza <br/> (Clientes)." Checked="false" /></td>
|
||||
</td>
|
||||
<td style="text-align: left;"></td>
|
||||
<td style="text-align: left;"></td>
|
||||
|
||||
@@ -257,6 +257,11 @@ Partial Class RepCxCDetalle
|
||||
CargaClientes()
|
||||
End If
|
||||
|
||||
If UsuarioActual.Empresa.Funcionalidad(382) = "1" Then
|
||||
DivSPCobranza.Visible = True
|
||||
LblSPCobranza.Visible = True
|
||||
End If
|
||||
|
||||
'CargaSubProyectos
|
||||
DdlSubProyecto.DataSource = GlobalDTSubProyectosUsuarios(UsuarioActual.CveUsuario, -1, UsuarioActual.CveEmpresa, -1, 1)
|
||||
DdlSubProyecto.DataBind()
|
||||
|
||||
Reference in New Issue
Block a user