public IActionResult IndexTrans(int toNotificationStateId)
        {
            DeliveryItemTransFilterVM model = new DeliveryItemTransFilterVM();

            model.ToNotificationStateId = toNotificationStateId;
            model.initNotificationStateId();
            SetViewbagToCourt(model);

            ViewBag.breadcrumbs = commonService.Breadcrumbs_ForDeliveryItemsTrans(toNotificationStateId).DeleteOrDisableLast();

            if (model.ToNotificationStateId == NomenclatureConstants.NotificationState.Send)
            {
                SetHelpFile(HelpFileValues.Summons4);
            }
            else if (model.ToNotificationStateId == NomenclatureConstants.NotificationState.Received)
            {
                SetHelpFile(HelpFileValues.Summons5);
            }
            else if (model.ToNotificationStateId == NomenclatureConstants.NotificationState.ForDelivery)
            {
                SetHelpFile(HelpFileValues.Summons6);
            }

            return(View(nameof(IndexTrans), model));
        }
Esempio n. 2
0
        public IActionResult IndexTrans(int toNotificationStateId)
        {
            DeliveryItemTransFilterVM model = new DeliveryItemTransFilterVM();

            model.ToNotificationStateId = toNotificationStateId;
            model.initNotificationStateId();
            SetViewbagToCourt(model);

            ViewBag.breadcrumbs = commonService.Breadcrumbs_ForDeliveryItemsTrans(toNotificationStateId).DeleteOrDisableLast();
            SetHelpFile(HelpFileValues.Summons);

            return(View(nameof(IndexTrans), model));
        }