public void Storning(entities.OrderElement orderElement) { driver.OpenDocument(DOC_TYPE_OUTCOME); driver.Storning(orderElement.GetProductName(), orderElement.GetCount(), orderElement.GetPrice()); driver.PrintTotal(); driver.CloseDocument(); }
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(); }