Esempio n. 1
0
 //=======================================
 //Start new payment
 //=======================================
 public void startPayment(int order_id)
 {
     r_add  = new ReceiptDal();
     info   = new saleDal();
     s      = info.getInfo(order_id);
     c_info = new customerBll();
     c      = c_info.Search(s.CostumerId1);
     calculateTotal();
     calCulatePayed();
 }
 //========================================
 //RecordCostumer() save the information of the
 //costumer who is purchasing items
 //========================================
 public void recordCustomer(int id)
 {
     saleLineItems      = new List <SaleLine>();
     purchaser          = c_Info.Search(id);
     count.OrderCounter = count.OrderCounter + 1;
 }