This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USE [MC_NI] | |
GO | |
/****** Object: StoredProcedure [dbo].[Spd_Scr_CalendarioProyectadoCuotaNiveladaMensual] Script Date: 18/07/2025 14:14:19 ******/ | |
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
-- ================================================================================================ | |
-- Author: Michelle Valezka Reyes Tijerino |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Data; | |
using System.Data.SqlClient; | |
using System.Configuration; | |
using System.Diagnostics; | |
/* | |
* Realizado por Joseline Silva |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.Linq; | |
using System.Text; | |
using System.Windows.Forms; | |
using System.Configuration; | |
using System.Text.RegularExpressions; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USE [MC_TEGUCIGALPA_COPIA] | |
GO | |
/****** Object: StoredProcedure [dbo].[Spd_Scr_SolicitudNuevaMenor_Inserta] Script Date: 13/07/2025 14:30:59 ******/ | |
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
ALTER PROCEDURE [dbo].[Spd_Scr_SolicitudNuevaMenor_Inserta] | |
@Id bigint, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.Linq; | |
using System.Text; | |
using System.Windows.Forms; | |
using System.Configuration; | |
using System.Text.RegularExpressions; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select * from SvnIngresosEgresos where | |
((PagoMonedaBase=1 and PagoIngresadoCajaBase is NULL) or (PagoMonedaLocal=1 and PagoIngresadoCajaLocal is NULL)) and | |
Fecha=(select valor from StbParametro where Nombre='FECHAOPERACION') and | |
PagoElectronicoWeb = 1 and | |
objEstadoID <> (select ID from StbCatalogoValor where Codigo='ANULADO' | |
and objCatalogoID=(select ID from StbCatalogo where Codigo='ESTADOSRECIBOS')) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT StbSucursal.Nombre as Sucursal ,SrhEmpleado.Cedula ,LTRIM(RTRIM(SrhEmpleado.Nombre1)) +' '+ LTRIM(RTRIM(SrhEmpleado.Nombre2)) +' '+LTRIM(RTRIM(SrhEmpleado.Apellido1))+' '+LTRIM(RTRIM(SrhEmpleado.Apellido2)) as Nombre,SrhCargo.Nombre as Cargo,CONVERT(VARCHAR(10),SrhEmpleado.FechaIngreso,103) as FechaIngreso, | |
SrhVacacionesDetalle.SaldoInicial,SrhVacaciones.TotalAcumulado ,SrhVacacionesDetalle.Dias as DiasDescanso, | |
CAST(convert(varchar(10),SrhVacacionesSolicitud.FechaInicio,103)as varchar(100))+'-'+ CAST(convert(varchar(10),SrhVacacionesSolicitud.FechaFin,103) as varchar(100)) as FechaFin,SrhVacacionesDetalle.SaldoFinal,SrhVacaciones.Saldo as TotalFinal | |
,StbCatalogoValor.Valor as movimiento,CONVERT(Varchar(10),SrhVacacionesDetalle.Fecha,103) as fechaMov,SrhVacaciones.TotalDescanso, SrhEmpleado.ID as IdEmpleado | |
FROM SrhVacaciones | |
INNER JOIN SrhVacacionesDetalle on SrhVacacionesDetalle.objVacacionesID = SrhVacaciones.ID | |
LEFT JOIN SrhVacacion |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USE [MC_CJ] | |
GO | |
/****** Object: StoredProcedure [dbo].[Spd_Stb_ClienteInformacionInserta] Script Date: 19/03/2025 15:12:09 ******/ | |
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
/* | |
* MODIFICADO POR: AXEL SILVA |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public DataTable Foto_Kiva_MostrarSolicitudes(string txtBusqueda) | |
{ | |
ClsConexion con = new ClsConexion(); | |
DataTable data = new DataTable(); | |
SqlConnection Conne = new SqlConnection(con.Conexion); | |
Conne.Open(); | |
try | |
{ | |
string Query = "select (c.Nombre1 +' '+ c.Nombre2 + ' '+ c.Apellido1 +' '+ c.Apellido2) as Solicitante,\r\n\tc.Cedula,sl.URL_Archivo,sl.Estado_Revision " + | |
"from ScrKivaValidacionFoto as Sl inner join ScrSolicitudNuevaMenor C on\r\n\tc.ID=sl.objScrSolicitudNuevaMenorID " + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public int DuplicarUltimoRegistro(string Cedula) | |
{ | |
//if (VerificarSiExisteSolicitud(Cedula)) | |
//{ | |
// return -1; | |
//} | |
//if (!VerificarSiClientePuedeGenerarSolicitud(NumeroCredito)) | |
//{ | |
// //MessageBox.Show("No se generó represtamo. El cliente tiene estados no permitidos para generar una nueva solicitud.", | |
// // "Aviso", MessageBoxButtons.OK,MessageBoxIcon.Warning); |
NewerOlder