Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nico9julio committed Dec 1, 2024
2 parents 06a7599 + 257bec4 commit c79fa12
Show file tree
Hide file tree
Showing 15 changed files with 8,233 additions and 0 deletions.
964 changes: 964 additions & 0 deletions Lbl/Articulos/Articulo.cs.bak

Large diffs are not rendered by default.

42 changes: 42 additions & 0 deletions Lbl/Articulos/ItemReceta.cs.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace Lbl.Articulos
{
public class ItemReceta
{
public Lbl.Articulos.Articulo Articulo = null;
public decimal Cantidad = 0;

public ItemReceta(Lbl.Articulos.Articulo articulo, decimal cantidad)
{
this.Articulo = articulo;
this.Cantidad = cantidad;
}

public override string ToString()
{
if (this.Articulo == null)
return "";
else
return this.Cantidad.ToString() + " " + this.Articulo.ToString();
}

public decimal Costo
{
get
{
return this.Articulo.Costo * this.Cantidad;
}
}

public decimal Pvp
{
get
{
return this.Articulo.Pvp * this.Cantidad;
}
}
}
}
Loading

0 comments on commit c79fa12

Please sign in to comment.