Beispiel #1
0
        public IEnumerable <LightOrderInfo> GetOrdersToPack()
        {
            if (!WebSession.HasUserRight(OrdersPackingUserRights.ViewOrdersPackingWidget))
            {
                return(new LightOrderInfo[0]);
            }

            return(m_ordersFacade.GetAndSyncPaidOrders(DateTime.Now.AddDays(-30), true).Select(i => new LightOrderInfo(i)));
        }