falta que se actualize numProducto y los infomes

This commit is contained in:
2024-08-11 18:26:09 -03:00
parent cff13f1e47
commit 4262d66025
42 changed files with 724 additions and 471 deletions

12
Entidades/ConfigEmail.cs Normal file
View File

@@ -0,0 +1,12 @@
namespace Informes
{
public class ConfigEmail
{
public string EmailAddr { get; set; }
public string EmailPass { get; set; }
public List<string> EmailTarget { get; set; }
public bool Informar { get; set; }
}
}

View File

@@ -3,8 +3,16 @@ namespace Entidades
{
public class Lote: Detalle<Producto>
{
public int IdRemito { get; set; }
public DateTime Fecha { get; set; }
public bool Habilitado { get; set; }
public string NombreProducto
{
get
{
return Producto.Nombre;
}
}
}
}

View File

@@ -8,6 +8,7 @@ namespace Entidades
public int Id { get; set; }
private List<DetalleOrdenDeCompra> detalles = new List<DetalleOrdenDeCompra>();
public Proveedor Proveedor { get; set; }
public bool Entregado { get; set; }
public void AñadirDetalle(DetalleOrdenDeCompra detalle)
{

View File

@@ -21,7 +21,7 @@ namespace Entidades
}
}
public List<Proveedor> proveedores = new List<Proveedor>();
private List<Proveedor> proveedores = new List<Proveedor>();
public void AñadirProveedor(Proveedor proveedor)
{
@@ -38,6 +38,7 @@ namespace Entidades
{
return proveedores.AsReadOnly();
}
private List<Categoria> categorias = new List<Categoria>();
public void AñadirCategoria(Categoria cat) {

View File

@@ -23,5 +23,12 @@ namespace Entidades
throw;
}
}
public string NombreProveedor
{
get
{
return Proveedor.Nombre;
}
}
}
}