Ejemplo n.º 1
0
 public void Storning(entities.OrderElement orderElement)
 {
     driver.OpenDocument(DOC_TYPE_OUTCOME);
     driver.Storning(orderElement.GetProductName(), orderElement.GetCount(), orderElement.GetPrice());
     driver.PrintTotal();
     driver.CloseDocument();
 }
Ejemplo n.º 2
0
 public void Annulate(entities.OrderElement orderElement)
 {
     driver.OpenDocument(DOC_TYPE_ANNULATE);
     driver.AnnulateProduct(orderElement.GetProductName(), orderElement.GetCount(), orderElement.GetPrice());
     driver.PrintTotal();
     driver.RegisterPayment(orderElement.GetPrice(), 0);
     driver.CloseDocument();
 }