Esempio n. 1
0
        internal void ReInitializeVM()
        {
            _saleCount = new SaleCountModel
            {
                departmentID = "0",
                ShiftNumber  = 0,
                TillNumber   = 0
            };

            ReportText = string.Empty;
        }
Esempio n. 2
0
        private void RunReport()
        {
            var saleCountModel = new SaleCountModel
            {
                departmentID = Departments.ElementAt(SelectedDepartmentIndex).Key,
                ShiftNumber  = Shifts.ElementAt(SelectedShiftIndex).Key,
                TillNumber   = Tills.ElementAt(SelectedTillIndex).Key
            };

            MessengerInstance.Send <SaleCountModel>(saleCountModel, "RunReport");
        }
Esempio n. 3
0
 private void RunReport(SaleCountModel saleCount)
 {
     _saleCount = saleCount;
     PerformAction(GetReportAsync);
 }