Agregar archivos de proyecto.

This commit is contained in:
2026-01-23 12:45:41 +01:00
parent 5ed4e0bc46
commit c8d1044267
237 changed files with 34721 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
using System;
using System.Data;
using System.Linq;
namespace bdGrupoSanchoToro.db
{
public partial class cajas
{
public double SaldoPendienteCierre
{
get
{
return this.movimientoscaja.Where(x => x.idMovimientoCierre.HasValue == false).Sum(x => x.Importe);
}
}
public double SaldoActual
{
get
{
return Math.Round(Math.Round(this.SaldoAlCierre, 2, MidpointRounding.AwayFromZero) + Math.Round(SaldoPendienteCierre, 2, MidpointRounding.AwayFromZero), 2, MidpointRounding.AwayFromZero);
}
}
public string DescripcionTipo
{
get
{
return ((TipoCajaEnum)this.Tipo).ToString();
}
}
public enum TipoCajaEnum
{
CONTADO = 0,
BANCO = 1
}
}
}