예제 #1
0
        public IActionResult Cashier(BillingCashierViewModel model, string error = "")
        {
            model.Bills = IFinanceService.GetBillingCashierQueue(DateTime.Now, DateTime.Now, new BillingFlag());
            if (error.Equals("1043"))
            {
                model.Message = "Load failed. The patient was not found";
            }
            if (error.Equals("4509"))
            {
                model.Message = "Load failed. The date passed was invalid";
            }

            return(View(model));
        }