Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -402,7 +402,7 @@
|
|||||||
<Paragraph>
|
<Paragraph>
|
||||||
<TextRuns>
|
<TextRuns>
|
||||||
<TextRun>
|
<TextRun>
|
||||||
<Value>Fecha Elaboración</Value>
|
<Value>Fecha Caducidad</Value>
|
||||||
<Style>
|
<Style>
|
||||||
<FontSize>8pt</FontSize>
|
<FontSize>8pt</FontSize>
|
||||||
<FontWeight>Bold</FontWeight>
|
<FontWeight>Bold</FontWeight>
|
||||||
@@ -437,6 +437,7 @@
|
|||||||
<PaddingBottom>2pt</PaddingBottom>
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
</Style>
|
</Style>
|
||||||
</Textbox>
|
</Textbox>
|
||||||
|
<rd:Selected>true</rd:Selected>
|
||||||
</CellContents>
|
</CellContents>
|
||||||
</TablixCell>
|
</TablixCell>
|
||||||
</TablixCells>
|
</TablixCells>
|
||||||
|
|||||||
@@ -337,7 +337,7 @@
|
|||||||
<Paragraph>
|
<Paragraph>
|
||||||
<TextRuns>
|
<TextRuns>
|
||||||
<TextRun>
|
<TextRun>
|
||||||
<Value>Fecha Elaboracion</Value>
|
<Value>Fecha Caducidad</Value>
|
||||||
<Style>
|
<Style>
|
||||||
<FontSize>8pt</FontSize>
|
<FontSize>8pt</FontSize>
|
||||||
<FontWeight>Bold</FontWeight>
|
<FontWeight>Bold</FontWeight>
|
||||||
|
|||||||
@@ -358,7 +358,7 @@
|
|||||||
<Paragraph>
|
<Paragraph>
|
||||||
<TextRuns>
|
<TextRuns>
|
||||||
<TextRun>
|
<TextRun>
|
||||||
<Value>Fecha Elaboracion</Value>
|
<Value>Fecha Caducidad</Value>
|
||||||
<Style>
|
<Style>
|
||||||
<FontSize>8pt</FontSize>
|
<FontSize>8pt</FontSize>
|
||||||
<FontWeight>Bold</FontWeight>
|
<FontWeight>Bold</FontWeight>
|
||||||
|
|||||||
@@ -377,7 +377,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>--%>
|
||||||
|
|
||||||
@@ -590,10 +590,10 @@
|
|||||||
<td runat="server" id="TdRequiereTecnico2" visible="false">
|
<td runat="server" id="TdRequiereTecnico2" visible="false">
|
||||||
<asp:CheckBox ID="ChkRequiereTecnico" runat="server" CssClass="chksino" OnCheckedChanged="ChkRequiereTecnico_CheckedChanged" AutoPostBack="true" Text="Requiere Técnico:" />
|
<asp:CheckBox ID="ChkRequiereTecnico" runat="server" CssClass="chksino" OnCheckedChanged="ChkRequiereTecnico_CheckedChanged" AutoPostBack="true" Text="Requiere Técnico:" />
|
||||||
</td>
|
</td>
|
||||||
<td runat="server" id="TdFechaOS1" visible ="false">
|
<td runat="server" id="TdFechaOS1" visible="false">
|
||||||
<b>Fecha de Cirugia:</b>
|
<b>Fecha de Cirugia:</b>
|
||||||
</td>
|
</td>
|
||||||
<td runat="server" id="TdFechaOS2" visible ="false">
|
<td runat="server" id="TdFechaOS2" visible="false">
|
||||||
<asp:TextBox ID="TxtFechaOS" type="datetime-local" runat="server" CssClass="make-switchsd" CausesValidation="true" Style="width: 130px" step="1"></asp:TextBox>
|
<asp:TextBox ID="TxtFechaOS" type="datetime-local" runat="server" CssClass="make-switchsd" CausesValidation="true" Style="width: 130px" step="1"></asp:TextBox>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -4097,7 +4097,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr align="left" id="TrObsMedico2" visible="false" runat="server">
|
<tr align="left" id="TrObsMedico2" visible="false" runat="server">
|
||||||
<td>
|
<td>
|
||||||
<asp:DropDownList ID="DdlMedicoObservaciones" CssClass="form-control input-sm select2me" runat="server" AppendDataBoundItems="true" CausesValidation="true" DataTextField="Medico" DataValueField="CveMedico" Enabled="false" >
|
<asp:DropDownList ID="DdlMedicoObservaciones" CssClass="form-control input-sm select2me" runat="server" AppendDataBoundItems="true" CausesValidation="true" DataTextField="Medico" DataValueField="CveMedico" Enabled="false">
|
||||||
<asp:ListItem Value="-1">Seleccione uno</asp:ListItem>
|
<asp:ListItem Value="-1">Seleccione uno</asp:ListItem>
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
</td>
|
</td>
|
||||||
@@ -4109,7 +4109,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr align="left" id="TrObsProcedimiento2" visible="false" runat="server">
|
<tr align="left" id="TrObsProcedimiento2" visible="false" runat="server">
|
||||||
<td>
|
<td>
|
||||||
<asp:DropDownList ID="DdlProcedimientoObservaciones" CssClass="form-control input-sm select2me" runat="server" AppendDataBoundItems="true" CausesValidation="true" DataTextField="Procedimiento" DataValueField="CveProcedimiento" Enabled="false" >
|
<asp:DropDownList ID="DdlProcedimientoObservaciones" CssClass="form-control input-sm select2me" runat="server" AppendDataBoundItems="true" CausesValidation="true" DataTextField="Procedimiento" DataValueField="CveProcedimiento" Enabled="false">
|
||||||
<asp:ListItem Value="-1">Seleccione uno</asp:ListItem>
|
<asp:ListItem Value="-1">Seleccione uno</asp:ListItem>
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
</td>
|
</td>
|
||||||
@@ -4125,7 +4125,7 @@
|
|||||||
<div class="col-md-3" align="right">
|
<div class="col-md-3" align="right">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12" align="right" style="padding-bottom: 15px;">
|
<div class="col-md-12" align="right" style="padding-bottom: 15px;">
|
||||||
<asp:UpdatePanel ID="UpFacturar" runat="server" class="portlet light xspadding bordered " style=" max-width: 300px;" align="right" UpdateMode="Conditional">
|
<asp:UpdatePanel ID="UpFacturar" runat="server" class="portlet light xspadding bordered " style="max-width: 300px;" align="right" UpdateMode="Conditional">
|
||||||
<Triggers>
|
<Triggers>
|
||||||
<asp:PostBackTrigger ControlID="BtnVistaPrevia" />
|
<asp:PostBackTrigger ControlID="BtnVistaPrevia" />
|
||||||
</Triggers>
|
</Triggers>
|
||||||
@@ -5381,7 +5381,7 @@
|
|||||||
Cantidad
|
Cantidad
|
||||||
</HeaderTemplate>
|
</HeaderTemplate>
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:TextBox ID="TxtCantidadRem" runat="server" style="text-align:right;" Text='<%#Eval("Cantidad", "{0:#,###.#####}").ToString%>' MaxLength="12" Width="46px" Height="24px"></asp:TextBox>
|
<asp:TextBox ID="TxtCantidadRem" runat="server" Style="text-align: right;" Text='<%#Eval("Cantidad", "{0:#,###.#####}").ToString%>' MaxLength="12" Width="46px" Height="24px"></asp:TextBox>
|
||||||
<asp:RangeValidator ID="RVCantRem" runat="server" Type="Double" MinimumValue="0" MaximumValue='<%#Eval("Cantidad", "{0:####.#####}").ToString%>' ErrorMessage="Cantidad Excedida" ControlToValidate="TxtCantidadRem" ValidationGroup="GprGvRemPS" Display="Dynamic" SetFocusOnError="True"></asp:RangeValidator>
|
<asp:RangeValidator ID="RVCantRem" runat="server" Type="Double" MinimumValue="0" MaximumValue='<%#Eval("Cantidad", "{0:####.#####}").ToString%>' ErrorMessage="Cantidad Excedida" ControlToValidate="TxtCantidadRem" ValidationGroup="GprGvRemPS" Display="Dynamic" SetFocusOnError="True"></asp:RangeValidator>
|
||||||
<ajax:ValidatorCalloutExtender ID="VCECantidad3" runat="server" HighlightCssClass="vco" TargetControlID="RVCantRem" Width="300px"></ajax:ValidatorCalloutExtender>
|
<ajax:ValidatorCalloutExtender ID="VCECantidad3" runat="server" HighlightCssClass="vco" TargetControlID="RVCantRem" Width="300px"></ajax:ValidatorCalloutExtender>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
@@ -7007,17 +7007,17 @@
|
|||||||
<asp:Literal ID="LtlIVA" runat="server" Text='<%# Eval("IVA", "{0:N2}") %>'></asp:Literal>
|
<asp:Literal ID="LtlIVA" runat="server" Text='<%# Eval("IVA", "{0:N2}") %>'></asp:Literal>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField HeaderText="IEPS" ItemStyle-HorizontalAlign="Right" visible="false">
|
<asp:TemplateField HeaderText="IEPS" ItemStyle-HorizontalAlign="Right" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Literal ID="LtlIEPS" runat="server" Text='<%# Eval("IEPS", "{0:N2}") %>'></asp:Literal>
|
<asp:Literal ID="LtlIEPS" runat="server" Text='<%# Eval("IEPS", "{0:N2}") %>'></asp:Literal>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField HeaderText="RetIVA" ItemStyle-HorizontalAlign="Right" visible="false">
|
<asp:TemplateField HeaderText="RetIVA" ItemStyle-HorizontalAlign="Right" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Literal ID="LtlRetIVA" runat="server" Text='<%# Eval("RetIVA", "{0:N2}") %>'></asp:Literal>
|
<asp:Literal ID="LtlRetIVA" runat="server" Text='<%# Eval("RetIVA", "{0:N2}") %>'></asp:Literal>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField HeaderText="RetISR" ItemStyle-HorizontalAlign="Right" visible="false">
|
<asp:TemplateField HeaderText="RetISR" ItemStyle-HorizontalAlign="Right" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Literal ID="LtlRetISR" runat="server" Text='<%# Eval("RetISR", "{0:N2}") %>'></asp:Literal>
|
<asp:Literal ID="LtlRetISR" runat="server" Text='<%# Eval("RetISR", "{0:N2}") %>'></asp:Literal>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
@@ -8403,14 +8403,14 @@
|
|||||||
<div class="modal-body" style="min-height: 233.45px">
|
<div class="modal-body" style="min-height: 233.45px">
|
||||||
|
|
||||||
<%--Tipo Venta--%>
|
<%--Tipo Venta--%>
|
||||||
<div class="row" runat="server" visible="True" id="DvModalTipoVentaPasoTipo" >
|
<div class="row" runat="server" visible="True" id="DvModalTipoVentaPasoTipo">
|
||||||
<div class="col-md-4" >
|
<div class="col-md-4">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4" style="text-align:left!important" >
|
<div class="col-md-4" style="text-align: left!important">
|
||||||
<asp:RadioButtonList ID="RBLTipoVenta" DataTextField="TipoVenta" RepeatDirection="Vertical" DataValueField="CveTipoVenta" runat="server" AutoPostBack="true" OnSelectedIndexChanged="RBLTipoVenta_SelectedIndexChanged" Style="margin-top:10px!important">
|
<asp:RadioButtonList ID="RBLTipoVenta" DataTextField="TipoVenta" RepeatDirection="Vertical" DataValueField="CveTipoVenta" runat="server" AutoPostBack="true" OnSelectedIndexChanged="RBLTipoVenta_SelectedIndexChanged" Style="margin-top: 10px!important">
|
||||||
</asp:RadioButtonList>
|
</asp:RadioButtonList>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4" >
|
<div class="col-md-4">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -8420,7 +8420,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="form-group col-md-12 form-md-line-input input-iconright ">
|
<div class="form-group col-md-12 form-md-line-input input-iconright ">
|
||||||
<asp:Label runat="server" Style="width: 90%; color: #888888;" AssociatedControlID="DdlClientesWS">Cliente:</asp:Label>
|
<asp:Label runat="server" Style="width: 90%; color: #888888;" AssociatedControlID="DdlClientesWS">Cliente:</asp:Label>
|
||||||
<ADS:Dropdownlost CssClassDdl="select2me" ID="DdlClientesWS" Width="100%" data-metodo="getcliente" runat="server" DataTextField="NombreComercial" DataValueField="CveCliente" CssStyle="width: 100%;" Onselectedindexchange="DdlClientesWS_selectedindexchange" ></ADS:Dropdownlost>
|
<ADS:Dropdownlost CssClassDdl="select2me" ID="DdlClientesWS" Width="100%" data-metodo="getcliente" runat="server" DataTextField="NombreComercial" DataValueField="CveCliente" CssStyle="width: 100%;" Onselectedindexchange="DdlClientesWS_selectedindexchange"></ADS:Dropdownlost>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -8430,7 +8430,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<div class="form-group col-md-6 form-md-line-input input-iconright ">
|
<div class="form-group col-md-6 form-md-line-input input-iconright ">
|
||||||
<asp:DropDownList ID="DdlMedicoModal" CssClass="form-control input-sm select2me" runat="server" AppendDataBoundItems="true" CausesValidation="true" DataTextField="Medico" DataValueField="CveMedico" >
|
<asp:DropDownList ID="DdlMedicoModal" CssClass="form-control input-sm select2me" runat="server" AppendDataBoundItems="true" CausesValidation="true" DataTextField="Medico" DataValueField="CveMedico">
|
||||||
<asp:ListItem Value="-1">Seleccione uno</asp:ListItem>
|
<asp:ListItem Value="-1">Seleccione uno</asp:ListItem>
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
<asp:RequiredFieldValidator ID="RfvDdlMedicoModal" runat="server" CssClass="" Display="None" InitialValue="-1"
|
<asp:RequiredFieldValidator ID="RfvDdlMedicoModal" runat="server" CssClass="" Display="None" InitialValue="-1"
|
||||||
@@ -8475,11 +8475,11 @@
|
|||||||
<Columns>
|
<Columns>
|
||||||
<asp:TemplateField ItemStyle-HorizontalAlign="Right" HeaderText="Cant." ItemStyle-Width="40px">
|
<asp:TemplateField ItemStyle-HorizontalAlign="Right" HeaderText="Cant." ItemStyle-Width="40px">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:TextBox ID="TxtCantidad" runat="server" Text="" Width="40px" style="text-align:right!important"></asp:TextBox>
|
<asp:TextBox ID="TxtCantidad" runat="server" Text="" Width="40px" Style="text-align: right!important"></asp:TextBox>
|
||||||
<ajax:FilteredTextBoxExtender ID="FilTxtCantidad" runat="server" TargetControlID="TxtCantidad" FilterType="Custom, Numbers" ValidChars="." />
|
<ajax:FilteredTextBoxExtender ID="FilTxtCantidad" runat="server" TargetControlID="TxtCantidad" FilterType="Custom, Numbers" ValidChars="." />
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:BoundField DataField="Cantidad" HeaderText="Cant." DataFormatString="{0:#,###.##}" ItemStyle-Width="30px" >
|
<asp:BoundField DataField="Cantidad" HeaderText="Cant." DataFormatString="{0:#,###.##}" ItemStyle-Width="30px">
|
||||||
<ItemStyle HorizontalAlign="Right" />
|
<ItemStyle HorizontalAlign="Right" />
|
||||||
</asp:BoundField>
|
</asp:BoundField>
|
||||||
<asp:BoundField DataField="CodigoPS" HeaderText="Producto">
|
<asp:BoundField DataField="CodigoPS" HeaderText="Producto">
|
||||||
@@ -9240,7 +9240,10 @@
|
|||||||
|
|
||||||
var CellIndex = 0;
|
var CellIndex = 0;
|
||||||
if ($('#C_DdlNCNivelImporte').val() == "1") {
|
if ($('#C_DdlNCNivelImporte').val() == "1") {
|
||||||
|
CellIndex = 8;
|
||||||
|
if ('<%= UsuarioActual.Empresa.Funcionalidad(713) %>' != '') {
|
||||||
CellIndex = 9;
|
CellIndex = 9;
|
||||||
|
}
|
||||||
} else if ($('#C_DdlNCNivelImporte').val() == "2") {
|
} else if ($('#C_DdlNCNivelImporte').val() == "2") {
|
||||||
CellIndex = 3;
|
CellIndex = 3;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2664,7 +2664,8 @@ Partial Class Ventas
|
|||||||
TmpDT.Columns.Add("NumTurnos", GetType(Decimal))
|
TmpDT.Columns.Add("NumTurnos", GetType(Decimal))
|
||||||
TmpDT.Columns("NumTurnos").DefaultValue = 0D
|
TmpDT.Columns("NumTurnos").DefaultValue = 0D
|
||||||
TmpDT.Columns.Add("NumeroPedimento", GetType(String))
|
TmpDT.Columns.Add("NumeroPedimento", GetType(String))
|
||||||
|
TmpDT.Columns.Add("CodigoAlterno", GetType(String))
|
||||||
|
TmpDT.Columns.Add("PSAlterno", GetType(String))
|
||||||
GvPS.DataSource = ObjVentas.DtResultados
|
GvPS.DataSource = ObjVentas.DtResultados
|
||||||
GvPS.DataBind()
|
GvPS.DataBind()
|
||||||
|
|
||||||
@@ -2713,7 +2714,8 @@ Partial Class Ventas
|
|||||||
TmpDT.Columns.Add("NumTurnos", GetType(Decimal))
|
TmpDT.Columns.Add("NumTurnos", GetType(Decimal))
|
||||||
TmpDT.Columns("NumTurnos").DefaultValue = 0D
|
TmpDT.Columns("NumTurnos").DefaultValue = 0D
|
||||||
TmpDT.Columns.Add("NumeroPedimento", GetType(String))
|
TmpDT.Columns.Add("NumeroPedimento", GetType(String))
|
||||||
|
TmpDT.Columns.Add("CodigoAlterno", GetType(String))
|
||||||
|
TmpDT.Columns.Add("PSAlterno", GetType(String))
|
||||||
GvPS.DataSource = ObjVentas.DtResultados
|
GvPS.DataSource = ObjVentas.DtResultados
|
||||||
GvPS.DataBind()
|
GvPS.DataBind()
|
||||||
|
|
||||||
@@ -18520,6 +18522,9 @@ Partial Class Ventas
|
|||||||
|
|
||||||
Row("NumTurnos") = NumTurnos
|
Row("NumTurnos") = NumTurnos
|
||||||
|
|
||||||
|
Row("CodigoAlterno") = DrPS("CodigoAlterno")
|
||||||
|
Row("PSAlterno") = DrPS("PSAlterno")
|
||||||
|
|
||||||
If UsuarioActual.CveEmpresa.Contiene(119, 13, 83) Then
|
If UsuarioActual.CveEmpresa.Contiene(119, 13, 83) Then
|
||||||
If Not RemisionesLista.Count > 0 Then 'SI VIENE DE REMISION NO SE CONSIDERA
|
If Not RemisionesLista.Count > 0 Then 'SI VIENE DE REMISION NO SE CONSIDERA
|
||||||
|
|
||||||
@@ -18764,6 +18769,9 @@ Partial Class Ventas
|
|||||||
TmpDT.Columns("NumTurnos").DefaultValue = 0
|
TmpDT.Columns("NumTurnos").DefaultValue = 0
|
||||||
TmpDT.Columns.Add("NumeroPedimento", GetType(String))
|
TmpDT.Columns.Add("NumeroPedimento", GetType(String))
|
||||||
|
|
||||||
|
TmpDT.Columns.Add("CodigoAlterno", GetType(String))
|
||||||
|
TmpDT.Columns.Add("PSAlterno", GetType(String))
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
Private Sub CreaDTmpC()
|
Private Sub CreaDTmpC()
|
||||||
DTmpC = New DataTable
|
DTmpC = New DataTable
|
||||||
|
|||||||
Reference in New Issue
Block a user