Primera versión estable compatible con linux de WSAsegasa

This commit is contained in:
2025-11-20 16:34:14 +01:00
parent 68ab86be9e
commit 574a139e78
209 changed files with 19093 additions and 16 deletions

View File

@@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace bdAsegasa.db
{
public partial class liquidacionesagentes
{
public double TotalFacturaSinIRPF
{
get
{
return Math.Round(BaseImponible + IVA, 2, MidpointRounding.AwayFromZero);
}
}
public string NumeroFacturaVF(string? PrefijoPruebas)
{
if (PrefijoPruebas != null)
{
return PrefijoPruebas + NumeroFactura;
}
else
{
return NumeroFactura;
}
}
}
}

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace bdAsegasa.db
{
public partial class peticionesverifactu
{
public enum EstadoEnum
{
PENDIENTE_RESPUESTA = 0,
CORRECTO = 1,
PARCIALMENTE_CORRECTO = 2,
INCORRECTO = 10,
ENVIO_RECHAZADO_O_CON_ERRORES = 11,
}
}
}

View File

@@ -0,0 +1,71 @@
 using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static bdAsegasa.db.registrosverifactu;
namespace bdAsegasa.db
{
public partial class registrosverifactu
{
public string CSV
{
get
{
if (this.idRespuestaVerifactuNavigation == null)
{
return string.Empty;
}
else
{
return this.idRespuestaVerifactuNavigation.CSV;
}
}
}
public string DescripcionEstado
{
get
{
return ((EstadoEnum)this.Estado).ToString().Replace("_"," ");
}
}
public string DescripcionOperacion
{
get
{
return ((OperacionEnum)this.Operacion).ToString().Replace("_", " ");
}
}
public enum OperacionEnum
{
ALTA = 0,
SUBSANACION = 1,
ALTA_POR_RECHAZO = 2,
REENVÍO = 3,
ANULACIÓN = 9,
CONSULTA_DATOS = 5,
OBTENCIÓN_QR = 100
}
public enum EstadoEnum
{
PENDIENTE_RESPUESTA = 0,
CORRECTO = 1,
ACEPTADO_CON_ERRORES = 2,
INCORRECTO = 3,
COMPLETADO = 10
}
public enum AplicacionEnum
{
LIQUIDACION_AGENTE = 0,
}
}
}