Beispiel #1
0
 public void setnonvat(cls_nonvat nonvat_d)
 {
     this.nonvat = nonvat_d;
     if (this.nonvat.get_idnumber() != "")
     {
         this.get_productlist().set_isnonvat(true);
     }
     else
     {
         this.get_productlist().set_isnonvat(false);
     }
 }
Beispiel #2
0
 //constructor
 public cls_POSTransaction()
 {
     this.syncid            = 0;
     this.OfficialReceiptNo = 0;
     this.adjust            = 0;
     this.discount          = 0;
     this.salesdatetime     = DateTime.Now;
     this.productlist       = new cls_productlist();
     this.clerk             = new cls_user();
     this.checker           = new cls_user();
     this.salesman          = new cls_user();
     this.customer          = new cls_customer();
     this.member            = new cls_member();
     this.payments          = new cls_payment();
     this.senior            = new cls_senior();
     this.nonvat            = new cls_nonvat();
     this.memo           = "";
     this.UserAuthorizer = new cls_user();
     this.show           = 0;
     this.status         = 0;
 }