--buscador de productos
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<%@ Page Title="Ventas - Facturación" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="Ventas.aspx.vb" Inherits="Ventas" EnableEventValidation="false" %>
|
<%@ Page Title="Ventas - Facturación" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="Ventas.aspx.vb" Inherits="Ventas" EnableEventValidation="false" %>
|
||||||
|
|
||||||
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
|
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
|
||||||
<%@ Register Src="~/UserControl/AddMedico.ascx" TagPrefix="UserControl" TagName="AddMedico" %>
|
<%@ Register Src="~/UserControl/AddMedico.ascx" TagPrefix="UserControl" TagName="AddMedico" %>
|
||||||
@@ -391,7 +391,7 @@
|
|||||||
<li>
|
<li>
|
||||||
<asp:LinkButton ID="LnkSolicitarCredito" Visible="false" runat="server"><i class="fa fa-plus"></i>Solicitar autorización de crédito</asp:LinkButton>
|
<asp:LinkButton ID="LnkSolicitarCredito" Visible="false" runat="server"><i class="fa fa-plus"></i>Solicitar autorización de crédito</asp:LinkButton>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<asp:LinkButton ID="LnkCancelarSoloCFDI" Visible="false" runat="server" data-toggle="confirmation" data-popout="true" data-original-title="¿Seguro que desea cancelar el CFDI?" data-btn-ok-label="si" OnClick="LnkCancelarSoloCFDI_Click"><i class="fa fa-plus"></i>Cancelar solo CFDI</asp:LinkButton>
|
<asp:LinkButton ID="LnkCancelarSoloCFDI" Visible="false" runat="server" data-toggle="confirmation" data-popout="true" data-original-title="¿Seguro que desea cancelar el CFDI?" data-btn-ok-label="si" OnClick="LnkCancelarSoloCFDI_Click"><i class="fa fa-plus"></i>Cancelar solo CFDI</asp:LinkButton>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
@@ -614,29 +614,29 @@
|
|||||||
<b>Paciente:</b>
|
<b>Paciente:</b>
|
||||||
</td>
|
</td>
|
||||||
<td runat="server">
|
<td runat="server">
|
||||||
<asp:TextBox ID="TxtPaciente" runat="server" Style="width: 130px" MaxLength="50"></asp:TextBox>
|
<asp:TextBox ID="TxtPaciente" runat="server" Style="width: 130px" MaxLength="50"></asp:TextBox>
|
||||||
</td>
|
</td>
|
||||||
<td runat="server" id="Td9" visible="true">
|
<td runat="server" id="Td9" visible="true">
|
||||||
<b>Episodio:</b>
|
<b>Episodio:</b>
|
||||||
</td>
|
</td>
|
||||||
<td runat="server">
|
<td runat="server">
|
||||||
<asp:TextBox ID="TxtEpisodio" runat="server" Style="width: 130px" MaxLength="20"></asp:TextBox>
|
<asp:TextBox ID="TxtEpisodio" runat="server" Style="width: 130px" MaxLength="20"></asp:TextBox>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr runat="server" id="TrVentasMedicas4" visible="false">
|
||||||
|
<td runat="server" id="Td8">
|
||||||
|
<b>Folio Remisión:</b>
|
||||||
|
</td>
|
||||||
|
<td runat="server">
|
||||||
|
<asp:TextBox ID="TxtFolioRemision" runat="server" Style="width: 130px" MaxLength="20" Enabled="false"></asp:TextBox>
|
||||||
|
</td>
|
||||||
|
<td runat="server" id="Td10">
|
||||||
|
<b>Tipo de Venta:</b>
|
||||||
|
</td>
|
||||||
|
<td runat="server">
|
||||||
|
<asp:Label runat="server" ID="LblTipoVenta"></asp:Label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr runat="server" id="TrVentasMedicas4" visible="false">
|
|
||||||
<td runat="server" id="Td8" >
|
|
||||||
<b>Folio Remisión:</b>
|
|
||||||
</td>
|
|
||||||
<td runat="server">
|
|
||||||
<asp:TextBox ID="TxtFolioRemision" runat="server" Style="width: 130px" MaxLength="20" Enabled="false"></asp:TextBox>
|
|
||||||
</td>
|
|
||||||
<td runat="server" id="Td10" >
|
|
||||||
<b>Tipo de Venta:</b>
|
|
||||||
</td>
|
|
||||||
<td runat="server">
|
|
||||||
<asp:Label runat="server" ID="LblTipoVenta"></asp:Label>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -892,88 +892,88 @@
|
|||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
|
|
||||||
<asp:UpdatePanel ID="UpEstatus" runat="server" visible="false" UpdateMode="Conditional" class="portlet light xspadding bordered whitoutcol" style="margin-left: auto">
|
<asp:UpdatePanel ID="UpEstatus" runat="server" Visible="false" UpdateMode="Conditional" class="portlet light xspadding bordered whitoutcol" style="margin-left: auto">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
|
|
||||||
<div class="portlet-title">
|
|
||||||
<div class="caption font-green">
|
|
||||||
<i class="icon-pin font-green"></i>
|
|
||||||
<span class="caption-subject bold uppercase">Estatus</span>
|
|
||||||
|
|
||||||
</div>
|
<div class="portlet-title">
|
||||||
<div class="actions">
|
<div class="caption font-green">
|
||||||
<div class="btn-group">
|
<i class="icon-pin font-green"></i>
|
||||||
</div>
|
<span class="caption-subject bold uppercase">Estatus</span>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="tools">
|
</div>
|
||||||
<a href="javascript:;" class="collapse"></a>
|
<div class="actions">
|
||||||
|
<div class="btn-group">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="portlet-body form-horizontal form-row-sepe formnombottom" style="padding-top: 0px; margin-top: -5px;">
|
|
||||||
|
|
||||||
<table border="0" width="240px">
|
<div class="tools">
|
||||||
<tr align="left" id="TrEstatusCaja" visible="false" runat="server">
|
<a href="javascript:;" class="collapse"></a>
|
||||||
<td><b>Corte:</b> </td>
|
</div>
|
||||||
<td>
|
</div>
|
||||||
<asp:Label ID="LblEstatusCaja" runat="server"></asp:Label>
|
<div class="portlet-body form-horizontal form-row-sepe formnombottom" style="padding-top: 0px; margin-top: -5px;">
|
||||||
</td>
|
|
||||||
</tr>
|
<table border="0" width="240px">
|
||||||
<tr align="left" id="Trsaldo" visible="false" runat="server">
|
<tr align="left" id="TrEstatusCaja" visible="false" runat="server">
|
||||||
<td><b>Saldo:</b> </td>
|
<td><b>Corte:</b> </td>
|
||||||
<td>
|
<td>
|
||||||
<%-- <asp:Label ID="LblSaldoVenta" runat="server"></asp:Label> --%>
|
<asp:Label ID="LblEstatusCaja" runat="server"></asp:Label>
|
||||||
<asp:HyperLink ID="HplSaldoAuxiliar" CssClass="Texto thickbox" runat="server"></asp:HyperLink><asp:HyperLink runat="server" CssClass="Texto thickbox" Visible="false" ID="HplPagado" Text="<b>PAGADO<b>"></asp:HyperLink>
|
</td>
|
||||||
<asp:HiddenField ID="HdnPagado" runat="server" />
|
</tr>
|
||||||
</td>
|
<tr align="left" id="Trsaldo" visible="false" runat="server">
|
||||||
</tr>
|
<td><b>Saldo:</b> </td>
|
||||||
<tr align="left">
|
<td>
|
||||||
<td><b>Estatus:</b> </td>
|
<%-- <asp:Label ID="LblSaldoVenta" runat="server"></asp:Label> --%>
|
||||||
<td>
|
<asp:HyperLink ID="HplSaldoAuxiliar" CssClass="Texto thickbox" runat="server"></asp:HyperLink><asp:HyperLink runat="server" CssClass="Texto thickbox" Visible="false" ID="HplPagado" Text="<b>PAGADO<b>"></asp:HyperLink>
|
||||||
<asp:Label ID="LbEstatus" Text="" runat="server" />
|
<asp:HiddenField ID="HdnPagado" runat="server" />
|
||||||
<%--<asp:DropDownList ID="DdlEstatus" AppendDataBoundItems="true" runat="server" CssClass="form-control input-sm select2me" DataTextField="EstatusFactura" DataValueField="CveEstatusFactura" Width="128px">
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr align="left">
|
||||||
|
<td><b>Estatus:</b> </td>
|
||||||
|
<td>
|
||||||
|
<asp:Label ID="LbEstatus" Text="" runat="server" />
|
||||||
|
<%--<asp:DropDownList ID="DdlEstatus" AppendDataBoundItems="true" runat="server" CssClass="form-control input-sm select2me" DataTextField="EstatusFactura" DataValueField="CveEstatusFactura" Width="128px">
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
<a class="btn default" style="display: none;" data-toggle="modal" href="#Aceptar">Aceptada</a>
|
<a class="btn default" style="display: none;" data-toggle="modal" href="#Aceptar">Aceptada</a>
|
||||||
<asp:ImageButton ID="ImgGuardaEstatus" runat="server" ClientIDMode="Static" ImageUrl="/Imagenes/accept.png" Style="display: none;" />--%>
|
<asp:ImageButton ID="ImgGuardaEstatus" runat="server" ClientIDMode="Static" ImageUrl="/Imagenes/accept.png" Style="display: none;" />--%>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr align="left" id="trContabilizada" runat="server" visible="False">
|
<tr align="left" id="trContabilizada" runat="server" visible="False">
|
||||||
<td><b>Contabilizada:</b></td>
|
<td><b>Contabilizada:</b></td>
|
||||||
<td>
|
<td>
|
||||||
<asp:HyperLink ID="HLContabilizada" Target="_blank" runat="server" Text="No"></asp:HyperLink>
|
<asp:HyperLink ID="HLContabilizada" Target="_blank" runat="server" Text="No"></asp:HyperLink>
|
||||||
<asp:HyperLink ID="HPLContaCancelacion" Target="_blank" runat="server" Text=""></asp:HyperLink>
|
<asp:HyperLink ID="HPLContaCancelacion" Target="_blank" runat="server" Text=""></asp:HyperLink>
|
||||||
<%-- <asp:Button ID="BtnContabilizar" runat="server" Text="Contabilizar" Visible="false" CssClass="btn btn-success" />--%>
|
<%-- <asp:Button ID="BtnContabilizar" runat="server" Text="Contabilizar" Visible="false" CssClass="btn btn-success" />--%>
|
||||||
<%--<asp:Button ID="BtnDescontabilizar" data-toggle="confirmation" data-popout="true" data-original-title="¿Seguro que desea eliminar la poliza?" data-btn-ok-label="si" Text="Descontabilizar" runat="server" OnClick="BtnDescontabilizar_Click" CssClass="btn btn-default" Style="margin-left: 20px;" Visible="false" />--%>
|
<%--<asp:Button ID="BtnDescontabilizar" data-toggle="confirmation" data-popout="true" data-original-title="¿Seguro que desea eliminar la poliza?" data-btn-ok-label="si" Text="Descontabilizar" runat="server" OnClick="BtnDescontabilizar_Click" CssClass="btn btn-default" Style="margin-left: 20px;" Visible="false" />--%>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr align="left">
|
<tr align="left">
|
||||||
<td><b>Se timbró:</b> </td>
|
<td><b>Se timbró:</b> </td>
|
||||||
<td>
|
<td>
|
||||||
<asp:Label ID="LblSeTimbro" runat="server" Text="No"></asp:Label></td>
|
<asp:Label ID="LblSeTimbro" runat="server" Text="No"></asp:Label></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr align="left">
|
<tr align="left">
|
||||||
<td><b>Envió Mail:</b> </td>
|
<td><b>Envió Mail:</b> </td>
|
||||||
<td>
|
<td>
|
||||||
<asp:Label ID="LblMail" runat="server" Text="No"></asp:Label></td>
|
<asp:Label ID="LblMail" runat="server" Text="No"></asp:Label></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr align="left">
|
<tr align="left">
|
||||||
<td><b class="truncate">Usuario creó:</b> </td>
|
<td><b class="truncate">Usuario creó:</b> </td>
|
||||||
<td>
|
<td>
|
||||||
<asp:Label ID="LblUsuario" runat="server"></asp:Label></td>
|
<asp:Label ID="LblUsuario" runat="server"></asp:Label></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr align="left">
|
<tr align="left">
|
||||||
<td><b class="truncate">Fecha registró:</b> </td>
|
<td><b class="truncate">Fecha registró:</b> </td>
|
||||||
<td>
|
<td>
|
||||||
<asp:Label ID="LblFechaRegistro" runat="server"></asp:Label></td>
|
<asp:Label ID="LblFechaRegistro" runat="server"></asp:Label></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr runat="server" id="trPresupuesto" visible="false">
|
<tr runat="server" id="trPresupuesto" visible="false">
|
||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
<asp:HyperLink runat="server" ID="HplPresupuesto" Target="_blank" Text="Ir a Presupuesto"></asp:HyperLink>
|
<asp:HyperLink runat="server" ID="HplPresupuesto" Target="_blank" Text="Ir a Presupuesto"></asp:HyperLink>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
@@ -3491,7 +3491,7 @@
|
|||||||
|
|
||||||
<div class="row" style="margin-bottom: 10px;">
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
<div class="text-right col-md-offset-8 col-md-4">
|
<div class="text-right col-md-offset-8 col-md-4">
|
||||||
<input type="text" id="TxtBusqueda" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda','{0}')", GvContratoDetalles.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
|
<input type="text" id="TxtBusquedaCon" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusquedaCon','{0}')", GvContratoDetalles.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
|
||||||
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusqueda','{0}')", GvContratoDetalles.ClientID) %>" style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
|
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusqueda','{0}')", GvContratoDetalles.ClientID) %>" style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -4485,7 +4485,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12" style="display:flex; justify-content:center;">
|
<div class="col-md-12" style="display: flex; justify-content: center;">
|
||||||
<asp:RadioButtonList ID="RblTipoAutorizacionDesc" runat="server" CssClass="rbl" RepeatDirection="Horizontal" RepeatLayout="Table" OnSelectedIndexChanged="RblTipoAutorizacionDesc_SelectedIndexChanged" AutoPostBack="true">
|
<asp:RadioButtonList ID="RblTipoAutorizacionDesc" runat="server" CssClass="rbl" RepeatDirection="Horizontal" RepeatLayout="Table" OnSelectedIndexChanged="RblTipoAutorizacionDesc_SelectedIndexChanged" AutoPostBack="true">
|
||||||
<asp:ListItem Text="Usuario y contraseña" Value="1"></asp:ListItem>
|
<asp:ListItem Text="Usuario y contraseña" Value="1"></asp:ListItem>
|
||||||
<asp:ListItem Text="Código de acceso" Value="2"></asp:ListItem>
|
<asp:ListItem Text="Código de acceso" Value="2"></asp:ListItem>
|
||||||
@@ -4536,11 +4536,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</asp:Panel>
|
</asp:Panel>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="DivAnticipos" class="modal ADS fade" role="dialog">
|
<div id="DivAnticipos" class="modal ADS fade" role="dialog">
|
||||||
<asp:UpdatePanel runat="server" ID="UpAnticipos" UpdateMode="Conditional" RenderMode="Inline">
|
<asp:UpdatePanel runat="server" ID="UpAnticipos" UpdateMode="Conditional" RenderMode="Inline">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<div class="modal-dialog" >
|
<div class="modal-dialog">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header ">
|
<div class="modal-header ">
|
||||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||||
@@ -4632,7 +4632,7 @@
|
|||||||
<asp:TemplateField>
|
<asp:TemplateField>
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:CheckBox ID="Chk" runat="server" />
|
<asp:CheckBox ID="Chk" runat="server" />
|
||||||
<asp:LinkButton ID="LnkSolicitarActivarAnticipo" Visible="false" NavigateUrl="#" CssClass="btn btn-circle btn-sm blue" Text="<i class='fa fa-check'></i>" tooltip="Solicitar activar anticipo" runat="server" OnClick="LnkSolicitarActivarAnticipo_Click" />
|
<asp:LinkButton ID="LnkSolicitarActivarAnticipo" Visible="false" NavigateUrl="#" CssClass="btn btn-circle btn-sm blue" Text="<i class='fa fa-check'></i>" ToolTip="Solicitar activar anticipo" runat="server" OnClick="LnkSolicitarActivarAnticipo_Click" />
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField>
|
<asp:TemplateField>
|
||||||
@@ -4698,7 +4698,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -10593,26 +10593,44 @@
|
|||||||
if (indexd == 0) {
|
if (indexd == 0) {
|
||||||
var tr = $('<tr></tr>'); tbody.append(tr);
|
var tr = $('<tr></tr>'); tbody.append(tr);
|
||||||
var td;
|
var td;
|
||||||
|
let idxHeader = 0;
|
||||||
for (var key in item) {
|
for (var key in item) {
|
||||||
if (!(key == "text" || key == "id")) { td = $('<td style="font-weight:bold;">' + key + '</td>'); tr.append(td); }
|
if (idxHeader == 0 && '<%= UsuarioActual.Empresa.Funcionalidad(382) %>' == '1') {
|
||||||
|
tr.append('<td style="font-weight:bold;"> </td>');
|
||||||
|
}
|
||||||
|
if (!(key == "text" || key == "id")) {
|
||||||
|
td = $('<td style="font-weight:bold;">' + key + '</td>');
|
||||||
|
tr.append(td);
|
||||||
|
}
|
||||||
|
idxHeader += 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var tr = $('<tr></tr>'); tbody.append(tr);
|
var tr = $('<tr></tr>'); tbody.append(tr);
|
||||||
|
|
||||||
var td;
|
var td;
|
||||||
|
let idxColumn = 0;
|
||||||
for (var key in item) {
|
for (var key in item) {
|
||||||
|
|
||||||
|
if (idxColumn == 0 && '<%= UsuarioActual.Empresa.Funcionalidad(382) %>' == '1') {
|
||||||
|
let tdExistencia = '<a href="javascript:void(0);" onclick="javascript:AbrirVentana(' + "'/Inventarios/PopUpExistenciasAlmacen.aspx?CvePS=" + item.id + "'" + ", 800, 547," + "'N'" + ",'PopUpBuscar');$('#C_Tab_TabGenerales_DdlPS > select').select2('close');" + '"> <i class="fa fa-eye" aria-hidden="true"></i> </a>';
|
||||||
|
tr.append('<td>' + tdExistencia + '</td>');
|
||||||
|
}
|
||||||
|
|
||||||
if (!(key == "text" || key == "id")) {
|
if (!(key == "text" || key == "id")) {
|
||||||
if ((item[key] > 0)) {
|
if ((item[key] > 0)) {
|
||||||
td = $('<td style = "font-weight:bold;" >' + item[key] + '</td>'); tr.append(td);
|
td = $('<td style = "font-weight:bold;" >' + item[key] + '</td>'); tr.append(td);
|
||||||
} else {
|
} else {
|
||||||
if ('<%= UsuarioActual.Empresa.Funcionalidad(566) %>' == '1') {
|
if ('<%= UsuarioActual.Empresa.Funcionalidad(566) %>' == '1') {
|
||||||
var buscarAlmacenes = "CargaExistenciasSucursales(" + item.id + ",'" + item.text + "');"
|
var buscarAlmacenes = "CargaExistenciasSucursales(" + item.id + ",'" + item.text + "');"
|
||||||
td = $('<td>' + item[key] + ' <button type="button" class="btn btn-xs btn-primary" onclick="' + buscarAlmacenes + '">Ver mas existencias</button></td>'); tr.append(td);
|
td = $('<td>' + item[key] + ' <button type="button" class="btn btn-xs btn-primary" onclick="' + buscarAlmacenes + '">Ver mas existencias</button></td>');
|
||||||
|
tr.append(td);
|
||||||
} else {
|
} else {
|
||||||
td = $('<td>' + item[key] + '</td>'); tr.append(td);
|
td = $('<td>' + item[key] + '</td>'); tr.append(td);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
idxColumn += 1;
|
||||||
}
|
}
|
||||||
indexd += 1;
|
indexd += 1;
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -25642,7 +25642,7 @@ Partial Class Ventas
|
|||||||
|
|
||||||
Dim AplicaCancelacionConPagos As Boolean = False
|
Dim AplicaCancelacionConPagos As Boolean = False
|
||||||
|
|
||||||
If UsuarioActual.CveRol = 1 AndAlso UsuarioActual.Empresa.Funcionalidad(109) = "1" AndAlso ObjFactura.TipoDocto.Contiene("Ing", "Rem") AndAlso Not EsRefacturacion AndAlso ObjFactura.Pagado > 0 Then
|
If UsuarioActual.Empresa.Funcionalidad(109) = "1" AndAlso ObjFactura.TipoDocto.Contiene("Ing", "Rem") AndAlso Not EsRefacturacion AndAlso ObjFactura.Pagado > 0 Then
|
||||||
AplicaCancelacionConPagos = True
|
AplicaCancelacionConPagos = True
|
||||||
End If
|
End If
|
||||||
|
|
||||||
@@ -38461,5 +38461,9 @@ Partial Class Ventas
|
|||||||
End Sub
|
End Sub
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
|
Public Function GeneraLigaExistencias() As String
|
||||||
|
|
||||||
|
Return "<a href='javascript:void(0);' class='Texto' onclick=''javascript:AbrirVentana('/Ventas/PopUpBuscarClientes.aspx?Opt=Fact', 800, 547, 'N', 'PopUpBuscar')''> ver </a>"
|
||||||
|
End Function
|
||||||
End Class
|
End Class
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user