Contratos 2020-12-02
This commit is contained in:
@@ -45,10 +45,7 @@
|
|||||||
<asp:Content ID="Content6" ContentPlaceHolderID="C" runat="Server">
|
<asp:Content ID="Content6" ContentPlaceHolderID="C" runat="Server">
|
||||||
|
|
||||||
|
|
||||||
<ajax:TabContainer ID="Tab" runat="server" Width="100%" CssClass="tabBodyOverride" ActiveTabIndex="0">
|
|
||||||
|
|
||||||
<ajax:TabPanel ID="TabAvance" runat="server" HeaderText="Avance">
|
|
||||||
<ContentTemplate>
|
|
||||||
|
|
||||||
<asp:UpdatePanel ID="UPPDatos" runat="server" UpdateMode="Conditional">
|
<asp:UpdatePanel ID="UPPDatos" runat="server" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
@@ -99,10 +96,13 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="col-md-6" style="text-align:right">
|
<div class="col-md-6" style="text-align:right!important">
|
||||||
|
<div style="display: inline-block">
|
||||||
|
<input type="text" id="TxtBusqueda" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda','{0}')", Gv.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px; height: 25px; border-color: #89C4F4;" />
|
||||||
|
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusqueda','{0}')", Gv.ClientID) %>" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
@@ -233,13 +233,23 @@
|
|||||||
|
|
||||||
|
|
||||||
<div class="text-center" runat="server" visible="false">
|
<div class="text-center" runat="server" visible="false">
|
||||||
<asp:Button id="BtnGuardar" CssClass="btn btn-primary" runat="server" Text="Guardar" Visible="false" ValidationGroup="GrpGuardar" />
|
<asp:Button ID="BtnGuardar" CssClass="btn btn-primary" runat="server" Text="Guardar" Visible="false" ValidationGroup="GrpGuardar" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<%-- <ajax:TabContainer ID="Tab" runat="server" Width="100%" CssClass="tabBodyOverride" ActiveTabIndex="0">
|
||||||
|
|
||||||
|
<ajax:TabPanel ID="TabAvance" runat="server" HeaderText="Avance">
|
||||||
|
<ContentTemplate>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
</ajax:TabPanel>
|
</ajax:TabPanel>
|
||||||
|
|
||||||
@@ -341,7 +351,7 @@
|
|||||||
</ajax:TabPanel>
|
</ajax:TabPanel>
|
||||||
|
|
||||||
|
|
||||||
</ajax:TabContainer>
|
</ajax:TabContainer>--%>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -138,8 +138,8 @@ Partial Class Contratos_ContratoAvance
|
|||||||
DdlContratos.DataSource = GlobalDTContratos.FiltraParametros(String.Format($"CveContratoTipo in (30,31) AND CveEmpresa = {UsuarioActual.CveEmpresa}"))
|
DdlContratos.DataSource = GlobalDTContratos.FiltraParametros(String.Format($"CveContratoTipo in (30,31) AND CveEmpresa = {UsuarioActual.CveEmpresa}"))
|
||||||
DdlContratos.DataBind()
|
DdlContratos.DataBind()
|
||||||
|
|
||||||
DDlContratosEstimaciones.DataSource = GlobalDTContratos.FiltraParametros(String.Format($"CveContratoTipo in (30,31) AND CveEmpresa = {UsuarioActual.CveEmpresa}"))
|
'DDlContratosEstimaciones.DataSource = GlobalDTContratos.FiltraParametros(String.Format($"CveContratoTipo in (30,31) AND CveEmpresa = {UsuarioActual.CveEmpresa}"))
|
||||||
DDlContratosEstimaciones.DataBind()
|
'DDlContratosEstimaciones.DataBind()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
@@ -207,7 +207,7 @@ Partial Class Contratos_ContratoAvance
|
|||||||
If e.Row.DataKey("CveContratoDetalle").ToEntero > 0 Then
|
If e.Row.DataKey("CveContratoDetalle").ToEntero > 0 Then
|
||||||
|
|
||||||
Dim LnkAnexo As LinkButton = e.Row.FCLinkButton("LnkModalDropzone")
|
Dim LnkAnexo As LinkButton = e.Row.FCLinkButton("LnkModalDropzone")
|
||||||
'LnkAnexo.Visible = True
|
|
||||||
Dim DVAnexo As Control = DirectCast(e.Row.FindControl("ModalAnexoEvidencia"), Control)
|
Dim DVAnexo As Control = DirectCast(e.Row.FindControl("ModalAnexoEvidencia"), Control)
|
||||||
LnkAnexo.OnClientClick = $" $('#{DVAnexo.ClientID}').modal('show'); return false;"
|
LnkAnexo.OnClientClick = $" $('#{DVAnexo.ClientID}').modal('show'); return false;"
|
||||||
|
|
||||||
@@ -220,8 +220,19 @@ Partial Class Contratos_ContratoAvance
|
|||||||
Dim LnkGuardarAvance As LinkButton = e.Row.FCLinkButton("LnkGuardarAvance")
|
Dim LnkGuardarAvance As LinkButton = e.Row.FCLinkButton("LnkGuardarAvance")
|
||||||
LnkGuardarAvance.Visible = True
|
LnkGuardarAvance.Visible = True
|
||||||
|
|
||||||
|
|
||||||
|
If e.Row.DataKey("CantidadMax").ToDouble = 0 Then
|
||||||
|
LnkAnexo.Visible = False
|
||||||
|
e.Row.FCTextBox("TxtCantidad").Visible = False
|
||||||
|
LnkGuardarAvance.Visible = False
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
@@ -432,120 +443,120 @@ Partial Class Contratos_ContratoAvance
|
|||||||
#Region "ESTIMACION"
|
#Region "ESTIMACION"
|
||||||
|
|
||||||
|
|
||||||
Private Sub CargaAvancesParaEstimar()
|
'Private Sub CargaAvancesParaEstimar()
|
||||||
CveContratoEstimacion = -1
|
' CveContratoEstimacion = -1
|
||||||
|
|
||||||
Dim ObjContratos As New ClsContratos()
|
' Dim ObjContratos As New ClsContratos()
|
||||||
Dim DTEstimaciones As New DataTable
|
' Dim DTEstimaciones As New DataTable
|
||||||
Dim NumeroEstimacionActual As Integer = 0
|
' Dim NumeroEstimacionActual As Integer = 0
|
||||||
|
|
||||||
If ObjContratos.GetContratosAvanceEstimacion(DDlContratosEstimaciones.SelectedValue.ToEntero, UsuarioActual.CveEmpresa, -1) Then
|
' If ObjContratos.GetContratosAvanceEstimacion(DDlContratosEstimaciones.SelectedValue.ToEntero, UsuarioActual.CveEmpresa, -1) Then
|
||||||
DTEstimaciones = ObjContratos.DtResultados
|
' DTEstimaciones = ObjContratos.DtResultados
|
||||||
|
|
||||||
CveContratoEstimacion = DDlContratosEstimaciones.SelectedValue.ToEntero
|
' CveContratoEstimacion = DDlContratosEstimaciones.SelectedValue.ToEntero
|
||||||
|
|
||||||
|
|
||||||
End If
|
' End If
|
||||||
|
|
||||||
|
|
||||||
ObjContratos.Dispose()
|
' ObjContratos.Dispose()
|
||||||
|
|
||||||
|
|
||||||
If DTEstimaciones.Rows.Count > 0 Then
|
' If DTEstimaciones.Rows.Count > 0 Then
|
||||||
GvEstimaciones.DataSource = DTEstimaciones
|
' GvEstimaciones.DataSource = DTEstimaciones
|
||||||
BtnGuardarEstimacion.Visible = True
|
' BtnGuardarEstimacion.Visible = True
|
||||||
Else
|
' Else
|
||||||
GvEstimaciones.DataSource = Nothing
|
' GvEstimaciones.DataSource = Nothing
|
||||||
BtnGuardarEstimacion.Visible = False
|
' BtnGuardarEstimacion.Visible = False
|
||||||
End If
|
' End If
|
||||||
GvEstimaciones.DataBind()
|
' GvEstimaciones.DataBind()
|
||||||
|
|
||||||
UpEstimaciones.Update()
|
' UpEstimaciones.Update()
|
||||||
End Sub
|
'End Sub
|
||||||
|
|
||||||
Private Sub BtnConsultarEstimaciones_Click(sender As Object, e As EventArgs) Handles BtnConsultarEstimaciones.Click
|
'Private Sub BtnConsultarEstimaciones_Click(sender As Object, e As EventArgs) Handles BtnConsultarEstimaciones.Click
|
||||||
|
|
||||||
CargaAvancesParaEstimar()
|
' CargaAvancesParaEstimar()
|
||||||
|
|
||||||
End Sub
|
'End Sub
|
||||||
|
|
||||||
Private Sub GvEstimaciones_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GvEstimaciones.RowDataBound
|
'Private Sub GvEstimaciones_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GvEstimaciones.RowDataBound
|
||||||
|
|
||||||
If e.Row.RowType = DataControlRowType.DataRow Then
|
' If e.Row.RowType = DataControlRowType.DataRow Then
|
||||||
|
|
||||||
If e.Row.DBCampo("CveContratoDetalle").ToString.ToEntero = 0 Then
|
' If e.Row.DBCampo("CveContratoDetalle").ToString.ToEntero = 0 Then
|
||||||
|
|
||||||
|
|
||||||
If e.Row.DBCampo("CveSubFamilias").ToString.ToEntero = 0 Then
|
' If e.Row.DBCampo("CveSubFamilias").ToString.ToEntero = 0 Then
|
||||||
If e.Row.DBCampo("CveFamilias").ToString.ToEntero = 0 Then
|
' If e.Row.DBCampo("CveFamilias").ToString.ToEntero = 0 Then
|
||||||
e.Row.CssClass = "SubTotales"
|
' e.Row.CssClass = "SubTotales"
|
||||||
Else
|
' Else
|
||||||
e.Row.CssClass = "SubTotales2"
|
' e.Row.CssClass = "SubTotales2"
|
||||||
End If
|
' End If
|
||||||
Else
|
' Else
|
||||||
e.Row.CssClass = "SubTotales3"
|
' e.Row.CssClass = "SubTotales3"
|
||||||
End If
|
' End If
|
||||||
End If
|
' End If
|
||||||
End If
|
' End If
|
||||||
|
|
||||||
End Sub
|
'End Sub
|
||||||
|
|
||||||
Private Sub BtnGuardarEstimacion_Click(sender As Object, e As EventArgs) Handles BtnGuardarEstimacion.Click
|
'Private Sub BtnGuardarEstimacion_Click(sender As Object, e As EventArgs) Handles BtnGuardarEstimacion.Click
|
||||||
|
|
||||||
CveEstimacionNueva = -1
|
' CveEstimacionNueva = -1
|
||||||
NuemeroEstimacionNuevo = -1
|
' NuemeroEstimacionNuevo = -1
|
||||||
|
|
||||||
Dim ObjContratos As New ClsContratos()
|
' Dim ObjContratos As New ClsContratos()
|
||||||
Dim ErrorProceso As Boolean = False
|
' Dim ErrorProceso As Boolean = False
|
||||||
|
|
||||||
ObjContratos.IniciaTransacSQL()
|
' ObjContratos.IniciaTransacSQL()
|
||||||
|
|
||||||
|
|
||||||
If ObjContratos.AddContratosAvanceEstimacion(CveContratoEstimacion, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa) Then
|
' If ObjContratos.AddContratosAvanceEstimacion(CveContratoEstimacion, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa) Then
|
||||||
|
|
||||||
CveEstimacionNueva = ObjContratos.CveEstimacionNueva
|
' CveEstimacionNueva = ObjContratos.CveEstimacionNueva
|
||||||
NuemeroEstimacionNuevo = ObjContratos.NumeroEstimacionNueva
|
' NuemeroEstimacionNuevo = ObjContratos.NumeroEstimacionNueva
|
||||||
|
|
||||||
For Each GvRow As GridViewRow In GvEstimaciones.Rows
|
' For Each GvRow As GridViewRow In GvEstimaciones.Rows
|
||||||
|
|
||||||
If GvRow.DataKey("CveContratoAvance").ToEntero > 0 Then
|
' If GvRow.DataKey("CveContratoAvance").ToEntero > 0 Then
|
||||||
If Not ObjContratos.UpdateContratosAvanceEstimacion(GvRow.DataKey("CveContratoAvance").ToEntero, ObjContratos.CveEstimacionNueva, UsuarioActual.CveEmpresa) Then
|
' If Not ObjContratos.UpdateContratosAvanceEstimacion(GvRow.DataKey("CveContratoAvance").ToEntero, ObjContratos.CveEstimacionNueva, UsuarioActual.CveEmpresa) Then
|
||||||
ErrorProceso = True
|
' ErrorProceso = True
|
||||||
Exit For
|
' Exit For
|
||||||
End If
|
' End If
|
||||||
End If
|
' End If
|
||||||
Next
|
' Next
|
||||||
|
|
||||||
Else
|
' Else
|
||||||
ErrorProceso = True
|
' ErrorProceso = True
|
||||||
End If
|
' End If
|
||||||
|
|
||||||
'AddContratosAvanceEstimacion
|
' 'AddContratosAvanceEstimacion
|
||||||
'UpdateContratosAvanceEstimacion
|
' 'UpdateContratosAvanceEstimacion
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
If Not ErrorProceso Then
|
' If Not ErrorProceso Then
|
||||||
ObjContratos.Commit()
|
' ObjContratos.Commit()
|
||||||
Alert($"Estimación {NuemeroEstimacionNuevo} agregada correctamente.")
|
' Alert($"Estimación {NuemeroEstimacionNuevo} agregada correctamente.")
|
||||||
|
|
||||||
BtnGuardarEstimacion.Visible = False
|
' BtnGuardarEstimacion.Visible = False
|
||||||
BtnDescargarGenerado.Visible = True
|
' BtnDescargarGenerado.Visible = True
|
||||||
|
|
||||||
Else
|
' Else
|
||||||
ObjContratos.RollBack()
|
' ObjContratos.RollBack()
|
||||||
End If
|
' End If
|
||||||
|
|
||||||
ObjContratos.Dispose()
|
' ObjContratos.Dispose()
|
||||||
|
|
||||||
UpEstimaciones.Update()
|
' UpEstimaciones.Update()
|
||||||
End Sub
|
'End Sub
|
||||||
|
|
||||||
Private Sub BtnDescargarGenerado_Click(sender As Object, e As EventArgs) Handles BtnDescargarGenerado.Click
|
'Private Sub BtnDescargarGenerado_Click(sender As Object, e As EventArgs) Handles BtnDescargarGenerado.Click
|
||||||
|
|
||||||
GeneraAnexo(CveEstimacionNueva, NuemeroEstimacionNuevo, Now, DDlContratosEstimaciones.SelectedItem.Text)
|
' GeneraAnexo(CveEstimacionNueva, NuemeroEstimacionNuevo, Now, DDlContratosEstimaciones.SelectedItem.Text)
|
||||||
|
|
||||||
End Sub
|
'End Sub
|
||||||
|
|
||||||
Private Sub GeneraAnexo(CveEstimacion As Integer, NumeroEstimacion As Integer, FechaEstimacion As Date, NumeroContrato As String)
|
Private Sub GeneraAnexo(CveEstimacion As Integer, NumeroEstimacion As Integer, FechaEstimacion As Date, NumeroContrato As String)
|
||||||
|
|
||||||
|
|||||||
@@ -323,21 +323,17 @@
|
|||||||
<div class="portlet-body rowpadding">
|
<div class="portlet-body rowpadding">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<label class="col-md-2 truncate">No. Contrato:</label>
|
<label class="col-md-3 truncate">No. Contrato:</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-9">
|
||||||
<asp:TextBox ID="TxtNumeroContrato" runat="server" Width="200px" MaxLength="50"></asp:TextBox>
|
<asp:TextBox ID="TxtNumeroContrato" runat="server" Width="200px" MaxLength="50"></asp:TextBox>
|
||||||
<asp:RequiredFieldValidator ID="RFVNumeroContrato" runat="server" ControlToValidate="TxtNumeroContrato" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''No. Contrato''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
<asp:RequiredFieldValidator ID="RFVNumeroContrato" runat="server" ControlToValidate="TxtNumeroContrato" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''No. Contrato''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
||||||
<ajax:ValidatorCalloutExtender ID="VCENumeroContrato" runat="server" HighlightCssClass="vco" TargetControlID="RFVNumeroContrato" Width="300px" BehaviorID="_content_VCENumeroContrato"></ajax:ValidatorCalloutExtender>
|
<ajax:ValidatorCalloutExtender ID="VCENumeroContrato" runat="server" HighlightCssClass="vco" TargetControlID="RFVNumeroContrato" Width="300px" BehaviorID="_content_VCENumeroContrato"></ajax:ValidatorCalloutExtender>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<label class="col-md-2 truncate">Descripción del Contrato:</label>
|
<label class="col-md-3 truncate">Descripción del Contrato:</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-9">
|
||||||
<asp:TextBox ID="TxtDescripcionContrato" runat="server" MaxLength="70" Width="400px" TextMode="MultiLine" ></asp:TextBox>
|
<asp:TextBox ID="TxtDescripcionContrato" runat="server" MaxLength="70" Width="400px" TextMode="MultiLine" ></asp:TextBox>
|
||||||
<asp:RequiredFieldValidator ID="RFVDescripcionContrato" runat="server" ControlToValidate="TxtDescripcionContrato" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''DescripcionContrato''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
<asp:RequiredFieldValidator ID="RFVDescripcionContrato" runat="server" ControlToValidate="TxtDescripcionContrato" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''DescripcionContrato''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
||||||
<ajax:ValidatorCalloutExtender ID="VCEDescripcionContrato" runat="server" HighlightCssClass="vco" TargetControlID="RFVDescripcionContrato" Width="300px" BehaviorID="_content_VCEDescripcionContrato"></ajax:ValidatorCalloutExtender>
|
<ajax:ValidatorCalloutExtender ID="VCEDescripcionContrato" runat="server" HighlightCssClass="vco" TargetControlID="RFVDescripcionContrato" Width="300px" BehaviorID="_content_VCEDescripcionContrato"></ajax:ValidatorCalloutExtender>
|
||||||
@@ -345,16 +341,16 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="trLicitacion" runat="server" class="row">
|
<div id="trLicitacion" runat="server" class="row">
|
||||||
<label class="col-md-2 truncate">Número Licitación:</label>
|
<label class="col-md-3 truncate">Número Licitación:</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-9">
|
||||||
<asp:TextBox ID="TxtNumeroLicitacion" runat="server" MaxLength="70" Width="200px"></asp:TextBox>
|
<asp:TextBox ID="TxtNumeroLicitacion" runat="server" MaxLength="70" Width="200px"></asp:TextBox>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row" id="TrProveedor" runat="server">
|
<div class="row" id="TrProveedor" runat="server">
|
||||||
<label class="col-md-2 truncate ">
|
<label class="col-md-3 truncate ">
|
||||||
<asp:Label ID="LblProveedor" runat="server" Text="Proveedor:"></asp:Label></label>
|
<asp:Label ID="LblProveedor" runat="server" Text="Proveedor:"></asp:Label></label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-9">
|
||||||
<asp:DropDownList ID="DdlContratista" runat="server" CssClass="input-sm form-control select2me" AppendDataBoundItems="True" DataTextField="RazonSocial" DataValueField="CveProveedor" Class="table-group-action-input form-control input-inline input-small input-sm" Style="width: 350px !important;" ValidationGroup="GrpGuardar">
|
<asp:DropDownList ID="DdlContratista" runat="server" CssClass="input-sm form-control select2me" AppendDataBoundItems="True" DataTextField="RazonSocial" DataValueField="CveProveedor" Class="table-group-action-input form-control input-inline input-small input-sm" Style="width: 350px !important;" ValidationGroup="GrpGuardar">
|
||||||
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
@@ -363,10 +359,10 @@
|
|||||||
|
|
||||||
|
|
||||||
<div class="row" >
|
<div class="row" >
|
||||||
<label class="col-md-2 truncate ">
|
<label class="col-md-3 truncate ">
|
||||||
<asp:Label ID="LblCliente" runat="server" Text="Cliente:"></asp:Label></label>
|
<asp:Label ID="LblCliente" runat="server" Text="Cliente:"></asp:Label></label>
|
||||||
|
|
||||||
<div class="col-md-10">
|
<div class="col-md-9">
|
||||||
<asp:DropDownList ID="DdlCliente" runat="server" AppendDataBoundItems="True" DataTextField="NombreComercial" DataValueField="CveCliente" Class="table-group-action-input form-control input-inline input-sm select2me" Style="width: 350px !important;" ValidationGroup="GrpGuardar">
|
<asp:DropDownList ID="DdlCliente" runat="server" AppendDataBoundItems="True" DataTextField="NombreComercial" DataValueField="CveCliente" Class="table-group-action-input form-control input-inline input-sm select2me" Style="width: 350px !important;" ValidationGroup="GrpGuardar">
|
||||||
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
@@ -378,21 +374,21 @@
|
|||||||
|
|
||||||
|
|
||||||
<div class="row" style="display: none;">
|
<div class="row" style="display: none;">
|
||||||
<label class="col-md-2 truncate ">Ubicacion:</label>
|
<label class="col-md-3 truncate ">Ubicacion:</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-9">
|
||||||
<asp:TextBox ID="TxtUbicacion" runat="server" MaxLength="50" Width="400px"></asp:TextBox>
|
<asp:TextBox ID="TxtUbicacion" runat="server" MaxLength="50" Width="400px"></asp:TextBox>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row" id="divResponsable" runat="server">
|
<div class="row" id="divResponsable" runat="server">
|
||||||
<label class="col-md-2 truncate ">Responsable:</label>
|
<label class="col-md-3 truncate ">Responsable:</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-9">
|
||||||
<asp:TextBox ID="TxtResponsable" runat="server" MaxLength="50" Width="400px"></asp:TextBox>
|
<asp:TextBox ID="TxtResponsable" runat="server" MaxLength="50" Width="400px"></asp:TextBox>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row" id="div3" runat="server">
|
<div class="row" id="div3" runat="server">
|
||||||
<label class="col-md-2 truncate ">Lugar:</label>
|
<label class="col-md-3 truncate ">Lugar:</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-9">
|
||||||
<asp:TextBox ID="TxtLugar" runat="server" MaxLength="300" Width="400px"></asp:TextBox>
|
<asp:TextBox ID="TxtLugar" runat="server" MaxLength="300" Width="400px"></asp:TextBox>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -400,8 +396,8 @@
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<label class="col-md-2 truncate">Tipo Contrato:</label>
|
<label class="col-md-3 truncate">Tipo Contrato:</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-9">
|
||||||
<asp:DropDownList ID="DdlTipoContratoObra" runat="server" CssClass="select2me" Width="150px" >
|
<asp:DropDownList ID="DdlTipoContratoObra" runat="server" CssClass="select2me" Width="150px" >
|
||||||
<asp:ListItem Value="-1">Seleccione uno</asp:ListItem>
|
<asp:ListItem Value="-1">Seleccione uno</asp:ListItem>
|
||||||
<asp:ListItem Value="30">Obra</asp:ListItem>
|
<asp:ListItem Value="30">Obra</asp:ListItem>
|
||||||
@@ -415,8 +411,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<label class="col-md-2 truncate">Fecha Inicial:</label>
|
<label class="col-md-3 truncate">Fecha Inicial:</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-9">
|
||||||
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 120px !important; padding: 0px;">
|
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 120px !important; padding: 0px;">
|
||||||
<asp:TextBox ID="TxtFechaInicial" runat="server" CssClass="form-control" CausesValidation="True" Style="width: 118px" MaxLength="10"></asp:TextBox><span class="input-group-btn "><asp:LinkButton ID="ImgCalendarioInicial" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton></span>
|
<asp:TextBox ID="TxtFechaInicial" runat="server" CssClass="form-control" CausesValidation="True" Style="width: 118px" MaxLength="10"></asp:TextBox><span class="input-group-btn "><asp:LinkButton ID="ImgCalendarioInicial" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton></span>
|
||||||
</div>
|
</div>
|
||||||
@@ -427,8 +423,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<label class="col-md-2 truncate">Fecha Final:</label>
|
<label class="col-md-3 truncate">Fecha Final:</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-9">
|
||||||
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 120px !important; padding: 0px;">
|
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 120px !important; padding: 0px;">
|
||||||
<asp:TextBox ID="TxtFechaFinal" runat="server" CssClass="form-control" CausesValidation="True" Style="width: 118px" MaxLength="10"></asp:TextBox><span class="input-group-btn "><asp:LinkButton ID="ImgCalendarioFinal" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton></span>
|
<asp:TextBox ID="TxtFechaFinal" runat="server" CssClass="form-control" CausesValidation="True" Style="width: 118px" MaxLength="10"></asp:TextBox><span class="input-group-btn "><asp:LinkButton ID="ImgCalendarioFinal" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton></span>
|
||||||
</div>
|
</div>
|
||||||
@@ -445,8 +441,8 @@
|
|||||||
|
|
||||||
<div class="row" id="DVddlproyecto" runat="server">
|
<div class="row" id="DVddlproyecto" runat="server">
|
||||||
|
|
||||||
<asp:Label runat="server" ID="LblProyecto" class="col-md-2 truncate">Proyecto:</asp:Label>
|
<asp:Label runat="server" ID="LblProyecto" class="col-md-3 truncate">Proyecto:</asp:Label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-9">
|
||||||
<asp:DropDownList ID="DdlProyecto" runat="server" AppendDataBoundItems="true" DataTextField="Proyecto" DataValueField="CveProyecto" Class="table-group-action-input form-control input-inline input-sm select2me" Style="width: 200px;" ValidationGroup="GrpGuardar">
|
<asp:DropDownList ID="DdlProyecto" runat="server" AppendDataBoundItems="true" DataTextField="Proyecto" DataValueField="CveProyecto" Class="table-group-action-input form-control input-inline input-sm select2me" Style="width: 200px;" ValidationGroup="GrpGuardar">
|
||||||
<asp:ListItem Selected="True" Text="Sin Proyecto asignado" Value="-1"></asp:ListItem>
|
<asp:ListItem Selected="True" Text="Sin Proyecto asignado" Value="-1"></asp:ListItem>
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
@@ -459,8 +455,8 @@
|
|||||||
|
|
||||||
<div class="row" id="DVSubProyecto" runat="server" visible="false">
|
<div class="row" id="DVSubProyecto" runat="server" visible="false">
|
||||||
|
|
||||||
<asp:Label runat="server" ID="LblSubProyectoTitulo" class="col-md-2 truncate"></asp:Label>
|
<asp:Label runat="server" ID="LblSubProyectoTitulo" class="col-md-3 truncate"></asp:Label>
|
||||||
<asp:Label runat="server" ID="LblSubProyecto" class="col-md-10 truncate"></asp:Label>
|
<asp:Label runat="server" ID="LblSubProyecto" class="col-md-9 truncate"></asp:Label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@@ -484,15 +480,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="caption uppercase" style="position: relative;"><i class="fa fa-info-circle"></i>Información</div>
|
<div class="caption uppercase" style="position: relative;"><i class="fa fa-info-circle"></i>Información</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="portlet-body rowpadding">
|
<div class="portlet-body rowpadding">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="row" id="TrCliente" runat="server" visible="False">
|
<div class="row" id="TrCliente" runat="server" visible="False">
|
||||||
<label class="col-md-2 truncate">
|
<label class="col-md-3 ">
|
||||||
<asp:Label ID="Label1" runat="server" Text="Cliente:"></asp:Label></label><div class="col-md-10">
|
<asp:Label ID="Label1" runat="server" Text="Cliente:"></asp:Label></label>
|
||||||
|
<div class="col-md-9">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -500,8 +494,9 @@
|
|||||||
<asp:UpdatePanel runat="server">
|
<asp:UpdatePanel runat="server">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<div class="row" id="TrClienteSucursal" runat="server" visible="False">
|
<div class="row" id="TrClienteSucursal" runat="server" visible="False">
|
||||||
<label class="col-md-2 truncate">
|
<label class="col-md-3 ">
|
||||||
<asp:Label ID="Label2" runat="server" Text="Sucursal Cliente:"></asp:Label></label><div class="col-md-10">
|
<asp:Label ID="Label2" runat="server" Text="Sucursal Cliente:"></asp:Label></label>
|
||||||
|
<div class="col-md-9">
|
||||||
<asp:DropDownList ID="DdlSucursalCliente" runat="server" CssClass="form-control input-sm select2me" AppendDataBoundItems="true" DataTextField="SucursalCliente" DataValueField="CveClienteSucursal" Width="75%">
|
<asp:DropDownList ID="DdlSucursalCliente" runat="server" CssClass="form-control input-sm select2me" AppendDataBoundItems="true" DataTextField="SucursalCliente" DataValueField="CveClienteSucursal" Width="75%">
|
||||||
<asp:ListItem Selected="true" Text="Matriz" Value="-1"></asp:ListItem>
|
<asp:ListItem Selected="true" Text="Matriz" Value="-1"></asp:ListItem>
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
@@ -514,64 +509,64 @@
|
|||||||
|
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<label class="col-md-2 truncate">Moneda:</label>
|
<label class="col-md-3 ">Moneda:</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-9">
|
||||||
<asp:DropDownList ID="DdlMoneda" CssClass="form-control input-sm select2me" runat="server" DataTextField="Moneda" AutoPostBack="True" DataValueField="CveMoneda" Width="150px"></asp:DropDownList>
|
<asp:DropDownList ID="DdlMoneda" CssClass="form-control input-sm select2me" runat="server" DataTextField="Moneda" AutoPostBack="True" DataValueField="CveMoneda" Width="200px"></asp:DropDownList>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row" runat="server" id="tipoCambio" visible="False">
|
<div class="row" runat="server" id="tipoCambio" visible="False">
|
||||||
<label class="col-md-2 truncate">Tipo de cambio:</label>
|
<label class="col-md-3 ">Tipo de cambio:</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-9">
|
||||||
<asp:TextBox ID="TxtTipoCambio" runat="server" MaxLength="12" Width="90px"></asp:TextBox>
|
<asp:TextBox ID="TxtTipoCambio" runat="server" MaxLength="12" Width="200px"></asp:TextBox>
|
||||||
<ajax:FilteredTextBoxExtender ID="FilteredTextBoxExtender7" runat="server" TargetControlID="TxtTipoCambio" FilterType="Custom, Numbers" ValidChars="." BehaviorID="_content_SoloNumeros" />
|
<ajax:FilteredTextBoxExtender ID="FilteredTextBoxExtender7" runat="server" TargetControlID="TxtTipoCambio" FilterType="Custom, Numbers" ValidChars="." BehaviorID="_content_SoloNumeros" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="trIva" runat="server" class="row">
|
<div id="trIva" runat="server" class="row">
|
||||||
<label class="col-md-2 truncate">% IVA:</label>
|
<label class="col-md-3 ">% IVA:</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-9">
|
||||||
<asp:TextBox ID="TxtPorIVA" runat="server" MaxLength="12" Width="150px"></asp:TextBox><ajax:FilteredTextBoxExtender ID="SoloNumeros" runat="server" TargetControlID="TxtPorIVA" FilterType="Custom, Numbers" ValidChars="." BehaviorID="_content_SoloNumeros" />
|
<asp:TextBox ID="TxtPorIVA" runat="server" MaxLength="12" Width="200px"></asp:TextBox><ajax:FilteredTextBoxExtender ID="SoloNumeros" runat="server" TargetControlID="TxtPorIVA" FilterType="Custom, Numbers" ValidChars="." BehaviorID="_content_SoloNumeros" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="trAnticipo" runat="server" class="row">
|
<div id="trAnticipo" runat="server" class="row">
|
||||||
<label class="col-md-2 truncate ">% Anticipo:</label>
|
<label class="col-md-3 ">% Anticipo:</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-9">
|
||||||
<asp:TextBox ID="TxtPorAnticipo" runat="server" MaxLength="12" Width="150px"></asp:TextBox>
|
<asp:TextBox ID="TxtPorAnticipo" runat="server" MaxLength="12" Width="200px"></asp:TextBox>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="trAmortizacion" runat="server" class="row">
|
<div id="trAmortizacion" runat="server" class="row">
|
||||||
<label class="col-md-2 truncate ">% Amortización de Anticipo:</label>
|
<label class="col-md-3 ">% Amortización de Anticipo:</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-9">
|
||||||
<asp:TextBox ID="TxtPorAmortizacionAnticipo" runat="server" MaxLength="12" Width="150px"></asp:TextBox>
|
<asp:TextBox ID="TxtPorAmortizacionAnticipo" runat="server" MaxLength="12" Width="200px"></asp:TextBox>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="trPorGarantia" runat="server" class="row">
|
<div id="trPorGarantia" runat="server" class="row">
|
||||||
<label class="col-md-2 truncate ">% Garantía:</label>
|
<label class="col-md-3 ">% Garantía:</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-9">
|
||||||
<asp:TextBox ID="TxtPorGarantia" runat="server" MaxLength="12" Width="150px"></asp:TextBox>
|
<asp:TextBox ID="TxtPorGarantia" runat="server" MaxLength="12" Width="200px"></asp:TextBox>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="row" runat="server">
|
<div class="row" runat="server">
|
||||||
<label class="col-md-2 truncate ">% Limite de Gastos:</label>
|
<label class="col-md-3 ">% Limite de Gastos:</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-9">
|
||||||
<asp:TextBox ID="TxtLimiteGastos" runat="server" MaxLength="5" Width="150px"></asp:TextBox>
|
<asp:TextBox ID="TxtLimiteGastos" runat="server" MaxLength="5" Width="200px"></asp:TextBox>
|
||||||
<ajax:FilteredTextBoxExtender ID="FilteredTextBoxExtender3" runat="server" TargetControlID="TxtLimiteGastos" FilterType="Custom, Numbers" ValidChars=",." BehaviorID="_content_SoloNumeros" />
|
<ajax:FilteredTextBoxExtender ID="FilteredTextBoxExtender3" runat="server" TargetControlID="TxtLimiteGastos" FilterType="Custom, Numbers" ValidChars=",." BehaviorID="_content_SoloNumeros" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row" id="DvTotal" runat="server">
|
<div class="row" id="DvTotal" runat="server">
|
||||||
<label class="col-md-2 truncate ">Total:</label>
|
<label class="col-md-3 ">Total con IVA:</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-9">
|
||||||
<asp:TextBox ID="TxtTotal" runat="server" MaxLength="12" Width="150px"></asp:TextBox>
|
<asp:TextBox ID="TxtTotal" runat="server" MaxLength="12" Width="200px"></asp:TextBox>
|
||||||
<ajax:FilteredTextBoxExtender ID="FilteredTextBoxExtender8" runat="server" TargetControlID="TxtTotal" FilterType="Custom, Numbers" ValidChars=",." BehaviorID="_content_SoloNumeros" />
|
<ajax:FilteredTextBoxExtender ID="FilteredTextBoxExtender8" runat="server" TargetControlID="TxtTotal" FilterType="Custom, Numbers" ValidChars=",." BehaviorID="_content_SoloNumeros" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="row" id="DvObservaciones" runat="server" visible="false">
|
<div class="row" id="DvObservaciones" runat="server" visible="false">
|
||||||
<label class="col-md-2 truncate ">Observación de Facturación:</label>
|
<label class="col-md-3 ">Observación de Facturación:</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-9">
|
||||||
<asp:TextBox ID="TxtObservaciones" runat="server" Width="400px" TextMode="MultiLine" Rows="2"></asp:TextBox>
|
<asp:TextBox ID="TxtObservaciones" runat="server" Width="400px" TextMode="MultiLine" Rows="2"></asp:TextBox>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user