Esempio n. 1
0
        public ActionResult TrackingStores(TrackingModel model)
        {
            TrackingDataSet      tls     = new EnterpriseGateway().TrackCartonsForStoreSummary(model.ClientID, model.Store, model.From, model.To, model.By);
            TrackingStoreSummary summary = new TrackingStoreSummary(model, tls);

            return(View(summary));
        }
Esempio n. 2
0
        public ActionResult TrackingTLs(string clientID, string clientName, string store, DateTime from, DateTime to, string by, string tl)
        {
            TrackingDataSet      cartons = new EnterpriseGateway().TrackCartonsForStoreDetail(clientID, store, from, to, by, tl);
            TrackingStoreSummary summary = new TrackingStoreSummary();

            summary.ClientID   = clientID;
            summary.ClientName = clientName;
            summary.Store      = store;
            summary.From       = from;
            summary.To         = to;
            summary.By         = by;
            summary.TLs        = new List <TrackingStoreTL>();

            TrackingStoreDetail detail = new TrackingStoreDetail(summary, tl, cartons);

            return(View(detail));
        }