From 20d9e672d5a48ede9e2fbceac6c8d131c92172c4 Mon Sep 17 00:00:00 2001 From: AbrahamCastilloV Date: Sun, 18 Feb 2024 15:07:57 -0700 Subject: [PATCH 1/2] =?UTF-8?q?--Se=20agrega=20condici=C3=B3n=20de=20que?= =?UTF-8?q?=20haya=20CveVendedor=20v=C3=A1lido?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Transportes/Boletos.aspx.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Transportes/Boletos.aspx.vb b/Transportes/Boletos.aspx.vb index 0c8321815..d3b5271f6 100644 --- a/Transportes/Boletos.aspx.vb +++ b/Transportes/Boletos.aspx.vb @@ -54,7 +54,7 @@ Partial Class Boletos Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load If Not IsPostBack Then - If Request.QueryString("CveViaje") Is Nothing Then + If Request.QueryString("CveViaje") Is Nothing And UsuarioActual.CveVendedor <> Nothing And UsuarioActual.CveVendedor <> -1 Then Response.Redirect("/Transportes/RepViajes.aspx") End If AsientoSeleccionado = "" From a626122d1c02e1acc3344f4974b164b8fddaa1ad Mon Sep 17 00:00:00 2001 From: AbrahamCastilloV Date: Mon, 19 Feb 2024 11:10:34 -0700 Subject: [PATCH 2/2] =?UTF-8?q?--Creaci=C3=B3n=20de=20RepViajesCalendario?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App_Code/ClsPaginas.vb | 1 + Transportes/RepViajesCalendario.aspx | 11 +++++++++++ Transportes/RepViajesCalendario.aspx.cs | 7 +++++++ 3 files changed, 19 insertions(+) create mode 100644 Transportes/RepViajesCalendario.aspx create mode 100644 Transportes/RepViajesCalendario.aspx.cs diff --git a/App_Code/ClsPaginas.vb b/App_Code/ClsPaginas.vb index d6d68b8cd..bf94a8a1c 100644 --- a/App_Code/ClsPaginas.vb +++ b/App_Code/ClsPaginas.vb @@ -10836,6 +10836,7 @@ Public Class ClsPaginas PaginaDict.Add("/Transportes/RepBoletos.aspx".ToUpper(), 601) PaginaDict.Add("/Transportes/RepContratosCalendario.aspx".ToUpper(), 603) PaginaDict.Add("/Transportes/CatRutas.aspx".ToUpper(), 604) + PaginaDict.Add("/Transportes/RepViajesCalendario.aspx".ToUpper(), 605) #End Region 'Antes de aquí. diff --git a/Transportes/RepViajesCalendario.aspx b/Transportes/RepViajesCalendario.aspx new file mode 100644 index 000000000..80056fdc7 --- /dev/null +++ b/Transportes/RepViajesCalendario.aspx @@ -0,0 +1,11 @@ +<%@ Page Language="C#" Title="Transportes V&A - Viajes Calendario" AutoEventWireup="false" + MasterPageFile="~/Site.master" CodeFile="RepViajesCalendario.aspx.cs" + Inherits="RepViajesCalendario" EnableEventValidation="true" %> + + + Prueba + + + + + diff --git a/Transportes/RepViajesCalendario.aspx.cs b/Transportes/RepViajesCalendario.aspx.cs new file mode 100644 index 000000000..346f8f810 --- /dev/null +++ b/Transportes/RepViajesCalendario.aspx.cs @@ -0,0 +1,7 @@ +using System; + +public partial class RepViajesCalendario : ClsPaginas { + protected void Page_Load(object sender, EventArgs e) { + + } +} \ No newline at end of file