Esempio n. 1
0
        public void AddToTotal(string organization_no, string storeno, int posno, EclipsePos.Data.TotalName totalName, EclipsePos.Data.TotalType totaltype, double amount)
        {
            this.Organization_no = organization_no;
            this.Store_no        = storeno;
            this.Pos_no          = posno;
            this.Total_type      = (int)totaltype;
            this.Total_name      = (int)totalName;
            this.Total_amount    = amount;

            SqlRelator sr = new SqlRelator();

            sr.Relate(this, "AddToTotal");
        }
Esempio n. 2
0
        public void AddToEmployeeTotalAndCount(string organization_no, string storeid, int posno, string employee, int drawer, EclipsePos.Data.TotalName totalName, EclipsePos.Data.TotalType totaltype, int count, double amount)
        {
            this.Organization_no = organization_no;
            this.Store_no        = storeid;
            this.Pos_no          = posno;
            this.Employee_no     = employee;
            this.drawer_no       = drawer;
            this.Total_type      = 0; //(int)totaltype;
            this.Total_name      = (int)totalName;
            this.Total_amount    = amount;
            this.Total_count     = count;

            SqlRelator sr = new SqlRelator();

            sr.Relate(this, "AddToEmployeeTotalAndCount");
        }