33 lines
707 B
C#
33 lines
707 B
C#
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;
|
|
}
|
|
}
|
|
}
|
|
}
|