agregado procesos y bd clases

This commit is contained in:
2026-04-28 11:52:16 +02:00
parent 59a774c397
commit cd2e8b8530
251 changed files with 56881 additions and 49 deletions

View File

@@ -0,0 +1,45 @@
using System;
namespace bdAsegasa.db
{
public partial class liquidacionesviajes
{
public double Diferencia
{
get
{
return Math.Round((double)(TotalJustificado - Anticipo), 2);
}
}
public string ADevolver
{
get
{
if (Diferencia < 0)
{
return Math.Abs(Diferencia).ToString("c2");
}
else
{
return "";
}
}
}
public string ARecibir
{
get
{
if (Diferencia > 0)
{
return Diferencia.ToString("c2");
}
else
{
return "";
}
}
}
}
}