This commit is contained in:
@@ -28,8 +28,8 @@ public partial class Nomina_ChecadorAsistencia : ClsPaginas
|
||||
DdlTurno.DataBind();
|
||||
|
||||
CargaTiposPeriodo();
|
||||
TxtRpdFechaInicio.Text = "01/09/2021";
|
||||
TxtRpdFechaFin.Text = "15/09/2021";
|
||||
TxtRpdFechaInicio.Text = string.Format("{0:dd/MM/yyyy}",DateTime.Now );
|
||||
TxtRpdFechaFin.Text = string.Format("{0:dd/MM/yyyy}", DateTime.Now);
|
||||
DdlTipoAsistencias.DataSource = GlobalDTAsistenciasInasistencias.FiltraParametros(string.Format("CveEmpresa = {0}", UsuarioActual.CveEmpresa));
|
||||
DdlTipoAsistencias.DataBind();
|
||||
|
||||
@@ -359,9 +359,11 @@ public partial class Nomina_ChecadorAsistencia : ClsPaginas
|
||||
protected void LnkAgregarRegistro_Click(object sender, EventArgs e)
|
||||
{
|
||||
DateTime fechaing = string.Format("{0:dd-MM-yyyy} {0:HH}:{0:mm}:{1:00}", TxtFechaIngreso.Text.ToDateTimeExcat(), TxtSegundos.Text.ToEntero()).ToDateTimeExcat("dd-MM-yyyy HH:mm:ss");
|
||||
DateTime fechasal = string.Format("{0:dd-MM-yyyy} {0:HH}:{0:mm}:{1:00}", TxtFechaSalida.Text.ToDateTimeExcat(), TxtSegundosFechaSalida.Text.ToEntero()).ToDateTimeExcat("dd-MM-yyyy HH:mm:ss");
|
||||
bool continuar = false;
|
||||
List<RequestAddChecadorRegistro> items = new List<RequestAddChecadorRegistro>();
|
||||
items.Add(new RequestAddChecadorRegistro() { CveChecador = DdlChecador.SelectedValue.ToEntero(), CvePersonal = DdlmcPersonal.SelectedValue.ToEntero(), ChecadorID = -1, Fecha = fechaing });
|
||||
items.Add(new RequestAddChecadorRegistro() { CveChecador = DdlChecador.SelectedValue.ToEntero(), CvePersonal = DdlmcPersonal.SelectedValue.ToEntero(), ChecadorID = -1, Fecha = fechasal });
|
||||
using (ClsRH objrh = new ClsRH())
|
||||
{
|
||||
objrh.IniciaTransacSQL();
|
||||
|
||||
Reference in New Issue
Block a user