public ValueObject.DayReportResult DayMonthReport(DateTime from, DateTime to, Sale.Range range)
        {
            DayReportResult result = new DayReportResult();

            result.Summary         = new List <DayReportDetailItem>();
            result.SalesmanRecords = new List <SalesmanDayReportResult>();
            var machineParams = range == Range.Local ? MachineSN : "";
            var users         = SaleOrdersService.DayMonthReport(from, to, ref result, StoreId, machineParams, CompanyId, IsSalesclerkTest);

            SaleDetailService.DayMonthReport(from, to, ref result, StoreId, machineParams, CompanyId, IsSalesclerkTest, users);
            PosIncomePayoutService.DayMonthReport(from, to, ref result, StoreId, machineParams, CompanyId, IsSalesclerkTest);
            return(result);
        }
        public ValueObject.DayReportResult DayMonthReport(DateTime from, DateTime to, Sale.Range range)
        {
            var dataAdapter = DataAdapterFactory.DbFactory(MachinesSettings.Mode, StoreId, MachineSN, CompanyId, DeviceSn);

            return(dataAdapter.DayMonthReport(from, to, range));
        }
 public IEnumerable <ValueObject.BillListItem> GetBills(DateTime date, Sale.Range range, string paySn, string cashier, string qmachineSn)
 {
     return(SaleOrdersService.GetBills(StoreId, qmachineSn, date, CompanyId, range, IsSalesclerkTest, paySn, cashier));
 }