public ActionResult GetMoneyReceiptPdf(string ReceiptNo)
        {
            MoneyReceiptVM MRVM  = new MoneyReceiptVM();
            var            crPfd = _chequeReceiptService.All().FirstOrDefault(x => x.ChqReceiptNo == ReceiptNo);

            if (crPfd != null)
            {
                var todayDate = DateTime.Now;
                var TingCount = _chequeReceiptService.All().FirstOrDefault(x => x.ChqReceiptNo == ReceiptNo);
                TingCount.MRTing     = TingCount.MRTing + 1;
                TingCount.MRTingTime = todayDate.AddHours(todayDate.Hour).AddMinutes(todayDate.Minute).AddSeconds(todayDate.Second).AddMilliseconds(todayDate.Millisecond);

                MRVM.MRNo       = crPfd.ChqReceiptNo;
                MRVM.CustCode   = crPfd.SubCode.Trim();
                MRVM.ChequeDate = (DateTime)crPfd.ChqDate;
                MRVM.CustName   = (from s in _subsidiaryService.All().ToList() where s.SubCode == crPfd.SubCode.Trim() select s.SubName).FirstOrDefault();
                MRVM.Address    = (from se in _SubsidiaryExtService.All().ToList() where se.SubCode.Trim() == crPfd.SubCode.Trim() select se.SubAddress).FirstOrDefault();
                MRVM.InWord     = InWord.ConvertToWords(crPfd.Amount.ToString());
                MRVM.AcType     = LoadDropDown.GetMrAgainst(crPfd.MRAgainst);
                MRVM.MRDate     = crPfd.ChqReceiptDate;
                MRVM.Amount     = crPfd.Amount;
                MRVM.PayMode    = "ChequeReceipt";
                MRVM.ChequeNo   = crPfd.ChqNo;
                MRVM.BankName   = _bankInfoService.All().FirstOrDefault(s => s.BankCode == crPfd.BankCode).BankName;;
                MRVM.Branch     = crPfd.BranchName;
                _chequeReceiptService.Update(TingCount);
                _chequeReceiptService.Save();
                return(new Rotativa.ViewAsPdf("~/Views/CashReceipt/MoneyReceiptPdf.cshtml", MRVM)
                {
                    PageSize = Rotativa.Options.Size.A4
                });
            }
            else
            {
                string errMsg = "NF";
                return(RedirectToAction("ChequeReceipts", "ChequeReceipts", new { errMsg }));
            }
        }