--Se corrigieron margenes en RepViajes en el modal de generar viaje. Se limpiaron los campos de los input después de generar un boleto nuevo.
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
<%@ Page Language="VB" Title="Transportes V&A - Comprar Boleto" AutoEventWireup="false" MasterPageFile="~/Site.master" CodeFile="Boletos.aspx.vb"
|
<%@ Page Language="VB" Title="Transportes V&A - Comprar Boleto" AutoEventWireup="false"
|
||||||
|
MasterPageFile="~/Site.master" CodeFile="Boletos.aspx.vb"
|
||||||
Inherits="Boletos" EnableEventValidation="true" %>
|
Inherits="Boletos" EnableEventValidation="true" %>
|
||||||
|
|
||||||
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
||||||
@@ -11,6 +12,10 @@
|
|||||||
margin-block: 1rem;
|
margin-block: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mx-1 {
|
||||||
|
margin: 0 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
.disponible {
|
.disponible {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 45px;
|
width: 45px;
|
||||||
@@ -23,7 +28,7 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.disponible:hover,.disponible.activo {
|
.disponible:hover, .disponible.activo {
|
||||||
background-color: #45b6af;
|
background-color: #45b6af;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
@@ -56,8 +61,9 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
color: black
|
color: black
|
||||||
}
|
}
|
||||||
.btnChofer a{
|
|
||||||
color:#2C3E50;
|
.btnChofer a {
|
||||||
|
color: #2C3E50;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -67,17 +73,9 @@
|
|||||||
</style>
|
</style>
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
|
|
||||||
<%--<asp:Content ID="Content1" ContentPlaceHolderID="HB" runat="Server">
|
|
||||||
<contenttemplate>
|
|
||||||
<li>
|
|
||||||
<asp:HyperLink ID="LBListadoViajes" runat="server" NavigateUrl="ListadoViajes.aspx"
|
|
||||||
Target="_blank"><i class='fa fa-road'></i>Viajes</asp:HyperLink>
|
|
||||||
</li>
|
|
||||||
</contenttemplate>
|
|
||||||
</asp:Content>--%>
|
|
||||||
|
|
||||||
<asp:Content ID="Content2" ContentPlaceHolderID="C" runat="Server">
|
<asp:Content ID="Content2" ContentPlaceHolderID="C" runat="Server">
|
||||||
|
<asp:UpdatePanel runat="server" UpdateMode="Conditional" ID="upPanel">
|
||||||
|
<ContentTemplate>
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<div class="portlet light xspadding bordered">
|
<div class="portlet light xspadding bordered">
|
||||||
<div class="portlet-title">
|
<div class="portlet-title">
|
||||||
@@ -92,17 +90,21 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="portlet-body form">
|
<div class="portlet-body form">
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group form-md-line-input input-iconright ">
|
<div class="form-group form-md-line-input input-iconright ">
|
||||||
<asp:TextBox ID="TxtNombre" CssClass="form-control" runat="server" MaxLength="200" ClientIDMode="Static"></asp:TextBox>
|
<asp:TextBox ID="TxtNombre" CssClass="form-control" runat="server" MaxLength="200"
|
||||||
<asp:RequiredFieldValidator ID="RFVTxtNombre" runat="server" ControlToValidate="TxtNombre" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Nombre''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
ClientIDMode="Static"></asp:TextBox>
|
||||||
|
<asp:RequiredFieldValidator ID="RFVTxtNombre" runat="server" ControlToValidate="TxtNombre"
|
||||||
|
CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Nombre''</b> es necesario, por favor ingréselo."
|
||||||
|
ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
||||||
<label for="<%= TxtNombre.ClientID.ToString()%>">Nombre:</label>
|
<label for="<%= TxtNombre.ClientID.ToString()%>">Nombre:</label>
|
||||||
<i></i>
|
<i></i>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row " >
|
<div class="row ">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:TextBox ID="TxtVisa" runat="server" Width="100%" CssClass="form-control" ></asp:TextBox>
|
<asp:TextBox ID="TxtVisa" runat="server" Width="100%" CssClass="form-control"></asp:TextBox>
|
||||||
<label for="<%= TxtVisa.ClientID.ToString()%>">Visa:</label>
|
<label for="<%= TxtVisa.ClientID.ToString()%>">Visa:</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -111,7 +113,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:DropDownList ID="RblSexo" CssClass="form-control" runat="server" >
|
<asp:DropDownList ID="RblSexo" CssClass="form-control" runat="server">
|
||||||
<asp:ListItem Text="Masculino" Value="1" Selected="True" />
|
<asp:ListItem Text="Masculino" Value="1" Selected="True" />
|
||||||
<asp:ListItem Text="Femenino" Value="0" />
|
<asp:ListItem Text="Femenino" Value="0" />
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
@@ -121,19 +123,21 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:TextBox ID="TxtCelular" runat="server" Width="100%" CssClass="form-control" ></asp:TextBox>
|
<asp:TextBox ID="TxtCelular" runat="server" Width="100%" CssClass="form-control"></asp:TextBox>
|
||||||
<asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" CssClass="help-block errorimput" ControlToValidate="TxtCelular" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Celular''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
<asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" CssClass="help-block errorimput"
|
||||||
|
ControlToValidate="TxtCelular" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Celular''</b> es necesario, por favor ingréselo."
|
||||||
|
ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
||||||
<label for="<%= TxtCelular.ClientID.ToString()%>">Celular:</label>
|
<label for="<%= TxtCelular.ClientID.ToString()%>">Celular:</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group form-md-line-input input-iconright ">
|
<div class="form-group form-md-line-input input-iconright ">
|
||||||
<asp:TextBox ID="TxtObservaciones" CssClass="form-control" runat="server" MaxLength="200" ClientIDMode="Static"></asp:TextBox>
|
<asp:TextBox ID="TxtObservaciones" CssClass="form-control" runat="server" MaxLength="200"
|
||||||
|
ClientIDMode="Static"></asp:TextBox>
|
||||||
<label for="<%= TxtObservaciones.ClientID.ToString()%>">Observaciones:</label>
|
<label for="<%= TxtObservaciones.ClientID.ToString()%>">Observaciones:</label>
|
||||||
<i></i>
|
<i></i>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -146,12 +150,11 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="portlet-body form">
|
<div class="portlet-body form">
|
||||||
<asp:UpdatePanel runat="server" UpdateMode="Conditional" ID="upPanel">
|
|
||||||
<ContentTemplate>
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:TextBox ID="TxtRuta" runat="server" Width="100%" Enabled="false" CssClass="form-control" ></asp:TextBox>
|
<asp:TextBox ID="TxtRuta" runat="server" Width="100%" Enabled="false" CssClass="form-control"></asp:TextBox>
|
||||||
<label for="<%= TxtRuta.ClientID.ToString()%>">Ruta:</label>
|
<label for="<%= TxtRuta.ClientID.ToString()%>">Ruta:</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -174,7 +177,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:TextBox ID="TxtFecha" runat="server" Width="100%" Enabled="false" CssClass="form-control" ></asp:TextBox>
|
<asp:TextBox ID="TxtFecha" runat="server" Width="100%" Enabled="false" CssClass="form-control"></asp:TextBox>
|
||||||
<label for="<%= TxtFecha.ClientID.ToString()%>">Fecha:</label>
|
<label for="<%= TxtFecha.ClientID.ToString()%>">Fecha:</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -198,15 +201,14 @@
|
|||||||
|
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<asp:Label runat="server" ID="TxtCosto" CssClass="text-success bold text-center"></asp:Label>
|
<asp:Label runat="server" ID="TxtCosto" CssClass="text-success bold mx-1"></asp:Label>
|
||||||
<br />
|
<br />
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<asp:Button ID="BtnGuardar" Visible="False" OnClick="AddBoleto" runat="server" CssClass="btn btn-success margin-top-15"
|
<asp:Button ID="BtnGuardar" Visible="False" OnClick="AddBoleto" runat="server" CssClass="btn btn-success "
|
||||||
Text="Comprar Boleto"
|
Text="Comprar Boleto"
|
||||||
ValidationGroup="GrpGuardar"></asp:Button>
|
ValidationGroup="GrpGuardar"></asp:Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
|
|
||||||
@@ -217,8 +219,6 @@
|
|||||||
|
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="portlet light xspadding bordered margin-bottom-10">
|
<div class="portlet light xspadding bordered margin-bottom-10">
|
||||||
<asp:UpdatePanel runat="server" UpdateMode="Conditional" ID="UPPAsientos">
|
|
||||||
<ContentTemplate>
|
|
||||||
<table>
|
<table>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -469,11 +469,10 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
|
|
||||||
<asp:Content ID="Content7" ContentPlaceHolderID="JS" runat="Server">
|
<asp:Content ID="Content7" ContentPlaceHolderID="JS" runat="Server">
|
||||||
|
|||||||
@@ -165,6 +165,8 @@ Partial Class Boletos
|
|||||||
TxtVisa.Text = ""
|
TxtVisa.Text = ""
|
||||||
TxtCelular.Text = ""
|
TxtCelular.Text = ""
|
||||||
TxtObservaciones.Text = ""
|
TxtObservaciones.Text = ""
|
||||||
|
AsientoSeleccionado = ""
|
||||||
|
upPanel.Update()
|
||||||
End If
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
ObjTransporte.RollBack()
|
ObjTransporte.RollBack()
|
||||||
|
|||||||
@@ -12,10 +12,6 @@
|
|||||||
margin-block: .5rem;
|
margin-block: .5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fecha {
|
|
||||||
padding: 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.masivo {
|
.masivo {
|
||||||
color: green;
|
color: green;
|
||||||
}
|
}
|
||||||
@@ -223,12 +219,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row my-1 truncate">
|
<div class="row margin-bottom-5">
|
||||||
<label class="col-md-4 input-group date date-picker " data-date-format="dd/mm/yyyy">
|
<label class="col-md-4">
|
||||||
Fecha Viaje:</label>
|
<asp:Label runat="server" Text="Fecha Viaje:"></asp:Label></label>
|
||||||
<div class="col-md-8 fecha">
|
<div class="col-md-8">
|
||||||
<div class="input-group input-sm input-small date date-picker">
|
<div class="">
|
||||||
<asp:TextBox ID="TxtFechaViaje" runat="server" CssClass="form-control" CausesValidation="True"
|
<asp:TextBox ID="TxtFechaViaje" runat="server" Class="form-control input-sm select2me"
|
||||||
|
Width="200px" CausesValidation="True"
|
||||||
type="date"
|
type="date"
|
||||||
MaxLength="10">
|
MaxLength="10">
|
||||||
</asp:TextBox>
|
</asp:TextBox>
|
||||||
|
|||||||
Reference in New Issue
Block a user