Beispiel #1
0
        public ActionResult OrderDetail(string orderCode)
        {
            try
            {
                if (!string.IsNullOrWhiteSpace(orderCode))
                {
                    var model = new OrderViewModel();

                    model = bll.GetOrderDetailByOrderCode(orderCode, CurrentUser.SupplierID, LanguageEnum.SimplifiedChinese);

                    ViewBag.TotalTaxAmount = bll.GetOrderTotalTaxRate(orderCode, CurrentUser.SupplierID);

                    return(View(model));
                }
            }
            catch (Exception ex)
            {
                LogHelper.Error(ex);
            }
            return(View());
        }