Agregar archivos de proyecto.
This commit is contained in:
28
bdGrupoSanchoToro/extensiones/detallesfacturasrecibidas.cs
Normal file
28
bdGrupoSanchoToro/extensiones/detallesfacturasrecibidas.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using PropertyChanged;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Runtime.CompilerServices;
|
||||
using tsUtilidades.Extensiones;
|
||||
|
||||
namespace bdGrupoSanchoToro.db
|
||||
{
|
||||
public partial class detallesfacturasrecibidas
|
||||
{
|
||||
public double Importe
|
||||
{
|
||||
get
|
||||
{
|
||||
return Math.Round(this.Cantidad * this.Precio, 4, MidpointRounding.AwayFromZero);
|
||||
}
|
||||
}
|
||||
public string Descripcion
|
||||
{
|
||||
get
|
||||
{
|
||||
return (this.idProductoNavigation.Descripcion + " " + this.Observaciones.NothingAVacio()).Trim();
|
||||
}
|
||||
}
|
||||
//public byte[]? DetalleRTF { get { } set { } }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user