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);
        }
Пример #2
0
 public void PosIncomePayout(string uid, decimal money, PosIncomePayoutMode mode)
 {
     PosIncomePayoutService.Save(StoreId, MachineSN, uid, money, mode, CompanyId, IsSalesclerkTest);
 }