This commit is contained in:
Jorge Luis caudillo esparza
2026-08-19 03:23:04 -07:00
parent 4bea52c7ab
commit 58af3ffece
13 changed files with 116 additions and 1074 deletions

2
.gitignore vendored
View File

@@ -45,6 +45,8 @@ SIG.Web/App_Data/*.ldf
SIG.Web/App_Data/*.log
**/App_Data/log.txt
SIG.Web/App_Data/Temp/
SIG.Web/App_Data/Documentos/
SIG.Web/App_Data/Uploads/
# Herramientas y trabajo local de Codex

View File

@@ -92,6 +92,7 @@ namespace SIG.Web.AppCode.Configuration
new ClienteDocumentoRepository(DbExecutor));
FraccionamientoService = new FraccionamientoService(
new FraccionamientoRepository(DbExecutor),
new TramiteSolicitudRepository(DbExecutor),
BitacoraService);
IFraccionamientoGisRepository gisRepository =

View File

@@ -0,0 +1,13 @@
using SIG.Web.AppCode.Models.Common;
namespace SIG.Web.AppCode.Contracts.Tramites
{
public interface ITramiteSolicitudRepository
{
DbResult<int> EnsureStageRequest(
int stageId,
int procedureTypeId,
int executingUser,
string domainName);
}
}

View File

@@ -0,0 +1,43 @@
using System.Data;
using SIG.Web.AppCode.Contracts.Database;
using SIG.Web.AppCode.Contracts.Tramites;
using SIG.Web.AppCode.Models.Common;
using SIG.Web.AppCode.Repositories.Database;
namespace SIG.Web.AppCode.Repositories.Tramites
{
public sealed class TramiteSolicitudRepository
: RepositoryBase, ITramiteSolicitudRepository
{
public TramiteSolicitudRepository(IDbExecutor db)
: base(db)
{
}
public DbResult<int> EnsureStageRequest(
int stageId,
int procedureTypeId,
int executingUser,
string domainName)
{
return QueryScalarId(
"dbo.PA_Tramites_SolicitudEtapaSave",
executingUser,
domainName,
command =>
{
StoredProcedureCommand.AddInput(
command,
"@CveFraccionamientoEtapa",
stageId,
DbType.Int32);
StoredProcedureCommand.AddInput(
command,
"@CveTipoTramite",
procedureTypeId,
DbType.Int32);
});
}
}
}

View File

@@ -54,7 +54,9 @@ namespace SIG.Web.AppCode.Services.Fraccionamientos
movementType,
stageId,
movementType == BitacoraTipoMovimiento.Agregado
? "Se agregó la etapa " + values.Etapa + "."
? "Se agregó la etapa " + values.Etapa +
". Se generó automáticamente la solicitud inicial " +
"del trámite Prefactibilidad de servicio."
: movementType == BitacoraTipoMovimiento.Editado
? "Se modificó la etapa " + values.Etapa + "."
: "Se eliminó la etapa " + values.Etapa + ".",

View File

@@ -2,6 +2,7 @@ using System;
using System.Collections.Generic;
using SIG.Web.AppCode.Contracts.Bitacora;
using SIG.Web.AppCode.Contracts.Fraccionamientos;
using SIG.Web.AppCode.Contracts.Tramites;
using SIG.Web.AppCode.Infrastructure.Transactions;
using SIG.Web.AppCode.Models.Bitacora;
using SIG.Web.AppCode.Models.Common;
@@ -12,13 +13,16 @@ namespace SIG.Web.AppCode.Services.Fraccionamientos
public sealed class FraccionamientoService : IFraccionamientoService
{
private readonly IFraccionamientoRepository _repository;
private readonly ITramiteSolicitudRepository _tramiteSolicitudRepository;
private readonly IBitacoraService _bitacoraService;
public FraccionamientoService(
IFraccionamientoRepository repository,
ITramiteSolicitudRepository tramiteSolicitudRepository,
IBitacoraService bitacoraService)
{
_repository = repository;
_tramiteSolicitudRepository = tramiteSolicitudRepository;
_bitacoraService = bitacoraService;
}
@@ -337,6 +341,36 @@ namespace SIG.Web.AppCode.Services.Fraccionamientos
return saveResult;
}
/*
* Toda etapa nueva debe iniciar con la solicitud del
* CveTipoTramite = 1.
*
* PA_Tramites_SolicitudEtapaSave es idempotente:
* si la solicitud ya existe para esta etapa/tipo,
* devuelve la existente y no crea un duplicado.
*
* Este llamado queda dentro del TransactionLogic que
* ya usa SaveStage; si falla, el alta de la etapa no
* se confirma.
*/
if (isNewStage)
{
DbResult<int> requestResult =
_tramiteSolicitudRepository.EnsureStageRequest(
saveResult.Data,
1,
executingUser,
domainName);
if (!requestResult.Success)
{
return DbResult<int>.Fail(
requestResult.UserMessage,
requestResult.TechnicalMessage,
requestResult.Exception);
}
}
DbResult<FraccionamientoEtapaModel> currentResult =
_repository.GetStage(
saveResult.Data,

View File

@@ -1,777 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace SIG.Web.Pages.Fraccionamientos
{
public partial class FraccionamientoDetalle
{
/// <summary>
/// LnkBack control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HyperLink LnkBack;
/// <summary>
/// BtnEditStageProgress control.
/// </summary>
protected global::System.Web.UI.WebControls.LinkButton BtnEditStageProgress;
/// <summary>
/// UpSummary control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel UpSummary;
/// <summary>
/// LitDevelopmentName control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Literal LitDevelopmentName;
/// <summary>
/// LblDevelopmentActive control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label LblDevelopmentActive;
/// <summary>
/// BtnDelete control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton BtnDelete;
/// <summary>
/// LitSummaryClient control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Literal LitSummaryClient;
/// <summary>
/// LitSummaryHectares control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Literal LitSummaryHectares;
/// <summary>
/// LitSummaryLocation control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Literal LitSummaryLocation;
/// <summary>
/// LitSummaryOpeningDate control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Literal LitSummaryOpeningDate;
/// <summary>
/// LitSummaryGlobalProgress control.
/// </summary>
protected global::System.Web.UI.WebControls.Literal LitSummaryGlobalProgress;
/// <summary>
/// PnlSummaryGlobalProgressBar control.
/// </summary>
protected global::System.Web.UI.WebControls.Panel PnlSummaryGlobalProgressBar;
/// <summary>
/// LblSummaryStatus control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label LblSummaryStatus;
/// <summary>
/// UpDetailTabs control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel UpDetailTabs;
/// <summary>
/// TabsFractionDetail control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::AjaxControlToolkit.TabContainer TabsFractionDetail;
/// <summary>
/// TabStages control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::AjaxControlToolkit.TabPanel TabStages;
/// <summary>
/// LitStageCount control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Literal LitStageCount;
/// <summary>
/// BtnNewStage control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton BtnNewStage;
/// <summary>
/// GvStages control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.GridView GvStages;
/// <summary>
/// HfStageOrderMove control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField HfStageOrderMove;
/// <summary>
/// BtnStageOrderMove control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton BtnStageOrderMove;
/// <summary>
/// BtnNewProcedure control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton BtnNewProcedure;
/// <summary>
/// GvProcedures control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.GridView GvProcedures;
/// <summary>
/// TabLots control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::AjaxControlToolkit.TabPanel TabLots;
/// <summary>
/// LitLotCount control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Literal LitLotCount;
/// <summary>
/// DdlLotsStage control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList DdlLotsStage;
/// <summary>
/// BtnClearStageLots control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton BtnClearStageLots;
/// <summary>
/// PnlLotsStageRequired control.
/// </summary>
protected global::System.Web.UI.WebControls.Panel PnlLotsStageRequired;
/// <summary>
/// PnlLotsStageContext control.
/// </summary>
protected global::System.Web.UI.WebControls.Panel PnlLotsStageContext;
/// <summary>
/// LitLotsSelectedStage control.
/// </summary>
protected global::System.Web.UI.WebControls.Literal LitLotsSelectedStage;
/// <summary>
/// LitLotsSelectedStageProgress control.
/// </summary>
protected global::System.Web.UI.WebControls.Literal LitLotsSelectedStageProgress;
/// <summary>
/// PnlLotsSelectedStageProgressBar control.
/// </summary>
protected global::System.Web.UI.WebControls.Panel PnlLotsSelectedStageProgressBar;
/// <summary>
/// PhStageGisMissing control.
/// </summary>
protected global::System.Web.UI.WebControls.PlaceHolder PhStageGisMissing;
/// <summary>
/// BtnAddStageGis control.
/// </summary>
protected global::System.Web.UI.WebControls.LinkButton BtnAddStageGis;
/// <summary>
/// PhStageGisExistingActions control.
/// </summary>
protected global::System.Web.UI.WebControls.PlaceHolder PhStageGisExistingActions;
/// <summary>
/// BtnManageStageGis control.
/// </summary>
protected global::System.Web.UI.WebControls.LinkButton BtnManageStageGis;
/// <summary>
/// PnlStageGisExisting control.
/// </summary>
protected global::System.Web.UI.WebControls.Panel PnlStageGisExisting;
/// <summary>
/// LitStageGisName control.
/// </summary>
protected global::System.Web.UI.WebControls.Literal LitStageGisName;
/// <summary>
/// LitStageGisUpdatedAt control.
/// </summary>
protected global::System.Web.UI.WebControls.Literal LitStageGisUpdatedAt;
/// <summary>
/// LnkStageGisOpen control.
/// </summary>
protected global::System.Web.UI.WebControls.HyperLink LnkStageGisOpen;
/// <summary>
/// GvLots control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.GridView GvLots;
/// <summary>
/// TabProcedures control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::AjaxControlToolkit.TabPanel TabProcedures;
/// <summary>
/// LitProcedureCount control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Literal LitProcedureCount;
/// <summary>
/// TabPayments control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::AjaxControlToolkit.TabPanel TabPayments;
/// <summary>
/// TabDocuments control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::AjaxControlToolkit.TabPanel TabDocuments;
/// <summary>
/// TabNotes control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::AjaxControlToolkit.TabPanel TabNotes;
/// <summary>
/// UpDevelopmentModal control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel UpDevelopmentModal;
/// <summary>
/// LblEditMessage control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label LblEditMessage;
/// <summary>
/// DdlClient control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList DdlClient;
/// <summary>
/// TxtDevelopment control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox TxtDevelopment;
/// <summary>
/// TxtHectares control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox TxtHectares;
/// <summary>
/// DdlStatus control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList DdlStatus;
/// <summary>
/// TxtLocation control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox TxtLocation;
/// <summary>
/// ChkActive control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.CheckBox ChkActive;
/// <summary>
/// BtnSave control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button BtnSave;
/// <summary>
/// UpStageModal control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel UpStageModal;
/// <summary>
/// LitStageTitle control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Literal LitStageTitle;
/// <summary>
/// LblStageMessage control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label LblStageMessage;
/// <summary>
/// TxtStage control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox TxtStage;
/// <summary>
/// TxtStageHectares control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox TxtStageHectares;
/// <summary>
/// ChkStageActive control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.CheckBox ChkStageActive;
/// <summary>
/// BtnSaveStage control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button BtnSaveStage;
/// <summary>
/// UpStageProgressModal control.
/// </summary>
protected global::System.Web.UI.UpdatePanel UpStageProgressModal;
/// <summary>
/// LblStageProgressMessage control.
/// </summary>
protected global::System.Web.UI.WebControls.Label LblStageProgressMessage;
/// <summary>
/// DdlStageProgress control.
/// </summary>
protected global::System.Web.UI.WebControls.DropDownList DdlStageProgress;
/// <summary>
/// PnlStageProgressCapture control.
/// </summary>
protected global::System.Web.UI.WebControls.Panel PnlStageProgressCapture;
/// <summary>
/// TxtStageProgress control.
/// </summary>
protected global::System.Web.UI.WebControls.TextBox TxtStageProgress;
/// <summary>
/// BtnSaveStageProgress control.
/// </summary>
protected global::System.Web.UI.WebControls.Button BtnSaveStageProgress;
/// <summary>
/// UpStageGisModal control.
/// </summary>
protected global::System.Web.UI.UpdatePanel UpStageGisModal;
/// <summary>
/// LitStageGisModalTitle control.
/// </summary>
protected global::System.Web.UI.WebControls.Literal LitStageGisModalTitle;
/// <summary>
/// LblStageGisMessage control.
/// </summary>
protected global::System.Web.UI.WebControls.Label LblStageGisMessage;
/// <summary>
/// LitStageGisStageName control.
/// </summary>
protected global::System.Web.UI.WebControls.Literal LitStageGisStageName;
/// <summary>
/// HdStageGisId control.
/// </summary>
protected global::System.Web.UI.WebControls.HiddenField HdStageGisId;
/// <summary>
/// BtnRefreshStageGis control.
/// </summary>
protected global::System.Web.UI.WebControls.Button BtnRefreshStageGis;
/// <summary>
/// UpLotsModal control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel UpLotsModal;
/// <summary>
/// LblLotMessage control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label LblLotMessage;
/// <summary>
/// LitLotStageName control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Literal LitLotStageName;
/// <summary>
/// TxtLotQuantity control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox TxtLotQuantity;
/// <summary>
/// TxtLotBaseName control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox TxtLotBaseName;
/// <summary>
/// ChkLotAddIdentifier control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.CheckBox ChkLotAddIdentifier;
/// <summary>
/// TxtLotStartNumber control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox TxtLotStartNumber;
/// <summary>
/// LnkDownloadLotTemplate control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HyperLink LnkDownloadLotTemplate;
/// <summary>
/// FileLots control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.FileUpload FileLots;
/// <summary>
/// BtnImportLots control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button BtnImportLots;
/// <summary>
/// BtnSaveLots control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button BtnSaveLots;
/// <summary>
/// UpEditLotModal control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel UpEditLotModal;
/// <summary>
/// LblEditLotMessage control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label LblEditLotMessage;
/// <summary>
/// LitEditLotStage control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Literal LitEditLotStage;
/// <summary>
/// TxtEditLotName control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox TxtEditLotName;
/// <summary>
/// TxtEditLotType control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox TxtEditLotType;
/// <summary>
/// TxtEditLotStreet control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox TxtEditLotStreet;
/// <summary>
/// TxtEditLotCadastre control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox TxtEditLotCadastre;
/// <summary>
/// TxtEditLotSquareMeters control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox TxtEditLotSquareMeters;
/// <summary>
/// TxtEditLotDuplicate control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox TxtEditLotDuplicate;
/// <summary>
/// ChkEditLotActive control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.CheckBox ChkEditLotActive;
/// <summary>
/// BtnSaveLot control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button BtnSaveLot;
/// <summary>
/// UcBitacoraDetalle control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::SIG.Web.AppCode.SigControls.BitacoraGrid UcBitacoraDetalle;
}
}

View File

@@ -1,248 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace SIG.Web.Pages.Fraccionamientos
{
public partial class Fraccionamientos
{
/// <summary>
/// UpActions control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel UpActions;
/// <summary>
/// BtnNew control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton BtnNew;
/// <summary>
/// UpCatalog control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel UpCatalog;
/// <summary>
/// UcFiltros control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::SIG.Web.AppCode.SigControls.Filtros UcFiltros;
/// <summary>
/// LitTotal control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Literal LitTotal;
/// <summary>
/// LitActive control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Literal LitActive;
/// <summary>
/// LitStages control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Literal LitStages;
/// <summary>
/// GvDevelopments control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.GridView GvDevelopments;
/// <summary>
/// ProgressCatalog control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdateProgress ProgressCatalog;
/// <summary>
/// UpFilterModal control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel UpFilterModal;
/// <summary>
/// ClientFilterField control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl ClientFilterField;
/// <summary>
/// DdlClientFilter control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList DdlClientFilter;
/// <summary>
/// TxtSearch control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox TxtSearch;
/// <summary>
/// ChkIncludeInactive control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.CheckBox ChkIncludeInactive;
/// <summary>
/// BtnApplyFilters control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button BtnApplyFilters;
/// <summary>
/// UpNewDevelopment control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel UpNewDevelopment;
/// <summary>
/// LblModalMessage control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label LblModalMessage;
/// <summary>
/// ClientEditField control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl ClientEditField;
/// <summary>
/// DdlEditClient control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList DdlEditClient;
/// <summary>
/// TxtDevelopment control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox TxtDevelopment;
/// <summary>
/// TxtHectares control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox TxtHectares;
/// <summary>
/// DdlEditStatus control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList DdlEditStatus;
/// <summary>
/// TxtLocation control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox TxtLocation;
/// <summary>
/// ChkActive control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.CheckBox ChkActive;
/// <summary>
/// BtnSave control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button BtnSave;
/// <summary>
/// UcBitacoraCatalogo control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::SIG.Web.AppCode.SigControls.BitacoraGrid UcBitacoraCatalogo;
}
}

View File

@@ -1,43 +0,0 @@
namespace SIG.Web.Pages.Security
{
public partial class RegistroCliente
{
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
protected global::System.Web.UI.ScriptManager SM;
protected global::System.Web.UI.UpdatePanel UpRegistro;
protected global::System.Web.UI.HtmlControls.HtmlGenericControl StepUser;
protected global::System.Web.UI.HtmlControls.HtmlGenericControl StepCompany;
protected global::System.Web.UI.WebControls.Label LblMessage;
protected global::System.Web.UI.WebControls.MultiView MvRegistration;
protected global::System.Web.UI.WebControls.View ViewUser;
protected global::System.Web.UI.WebControls.TextBox TxtUsername;
protected global::System.Web.UI.WebControls.TextBox TxtEmail;
protected global::System.Web.UI.WebControls.TextBox TxtPassword;
protected global::System.Web.UI.WebControls.TextBox TxtConfirmPassword;
protected global::System.Web.UI.WebControls.Button BtnNext;
protected global::System.Web.UI.WebControls.View ViewCompany;
protected global::System.Web.UI.WebControls.TextBox TxtBusinessName;
protected global::System.Web.UI.WebControls.TextBox TxtTradeName;
protected global::System.Web.UI.WebControls.TextBox TxtRfc;
protected global::System.Web.UI.WebControls.TextBox TxtAddress;
protected global::System.Web.UI.WebControls.TextBox TxtExterior;
protected global::System.Web.UI.WebControls.TextBox TxtInterior;
protected global::System.Web.UI.WebControls.DropDownList DdlNeighborhood;
protected global::System.Web.UI.WebControls.TextBox TxtCity;
protected global::System.Web.UI.WebControls.DropDownList DdlState;
protected global::System.Web.UI.WebControls.TextBox TxtCountry;
protected global::System.Web.UI.WebControls.TextBox TxtPostalCode;
protected global::System.Web.UI.WebControls.LinkButton BtnSearchPostalCode;
protected global::System.Web.UI.WebControls.Label LblPostalStatus;
protected global::System.Web.UI.WebControls.HiddenField HfCvePais;
protected global::System.Web.UI.WebControls.HiddenField HfCveMunicipio;
protected global::System.Web.UI.WebControls.HiddenField HfCveLocalidad;
protected global::System.Web.UI.WebControls.HiddenField HfResolvedPostalCode;
protected global::System.Web.UI.WebControls.TextBox TxtPhone;
protected global::System.Web.UI.WebControls.Panel PnlCaptchaSection;
protected global::System.Web.UI.WebControls.Panel PnlCaptcha;
protected global::System.Web.UI.WebControls.Label LblCaptchaConfiguration;
protected global::System.Web.UI.WebControls.Button BtnBack;
protected global::System.Web.UI.WebControls.Button BtnRegister;
}
}

View File

@@ -1 +0,0 @@
namespace SIG.Web.Pages.Security { public partial class RegistroPendiente { protected global::System.Web.UI.HtmlControls.HtmlForm form1; } }

View File

@@ -1 +0,0 @@
namespace SIG.Web.Pages.Security { public partial class VerificarCorreo { protected global::System.Web.UI.HtmlControls.HtmlForm form1; protected global::System.Web.UI.WebControls.Literal LitTitle; protected global::System.Web.UI.WebControls.Literal LitMessage; } }

View File

@@ -1829,17 +1829,34 @@ function ADDropzoneLocal(txtid) {
this.value = '';
});
/*
* El input file vive dentro de mydiv. Si usamos input.trigger('click'),
* el click burbujea nuevamente a mydiv y vuelve a disparar el input,
* provocando recursión infinita (Maximum call stack size exceeded).
*/
input.on('click', function (event) {
event.stopPropagation();
});
mydiv.on('click', function (event) {
if ($(event.target).is('button')) {
if ($(event.target).closest('button, input[type="file"]').length) {
return;
}
input.trigger('click');
var fileInput = input.get(0);
if (fileInput) {
fileInput.click();
}
});
mydiv.on('keydown', function (event) {
if (event.which === 13 || event.which === 32) {
event.preventDefault();
input.trigger('click');
var fileInput = input.get(0);
if (fileInput) {
fileInput.click();
}
}
});