예제 #1
0
        public ActionResult ManageOrder(int id = 0)
        {
            var truckingOrderDetailVm = TruckingHelper.GetTruckingOrderDetailInfo(id);

            ViewBag.TruckingCostNameList = ListCommonHelper.GetTruckingCostNameList();
            ViewBag.CurrencyList         = ListCommonHelper.GetCurrencyList();
            ViewBag.ContractorList       = ListCommonHelper.GetContractorListByCity("en", truckingOrderDetailVm.FromCityId,
                                                                                    truckingOrderDetailVm.ToCityId);

            ViewBag.PackageList = ListCommonHelper.GetPackageTypeList();

            if (truckingOrderDetailVm.ContractorId != 0)
            {
                ViewBag.Contractorobj = ContractorHelper.GetContractorInfo(truckingOrderDetailVm.ContractorId).ContractorNameEn;
            }



            return(View(truckingOrderDetailVm));
        }