Example #1
0
        public ActionResult GetAllChequePrint()
        {
            BL_ChequePrint BL_obj = new BL_ChequePrint();

            return(new JsonResult {
                Data = BL_obj.GetAllChequePrint(), JsonRequestBehavior = JsonRequestBehavior.AllowGet
            });
        }
Example #2
0
        public ActionResult GetChequeLayoutForCheckPrint(int ChequeBookID)
        {
            BL_ChequePrint BL_obj = new BL_ChequePrint();

            return(new JsonResult {
                Data = BL_obj.GetChequeLayoutForCheckPrint(ChequeBookID), JsonRequestBehavior = JsonRequestBehavior.AllowGet
            });
        }
Example #3
0
        public ActionResult DeleteChequePayeeName(int BankID)
        {
            //KeystoneProject.Report.ChequePrintView o = new Report.ChequePrintView();

            BL_ChequePrint BL_obj = new BL_ChequePrint();

            return(new JsonResult {
                Data = BL_obj.DeleteChequePayeeName(BankID), JsonRequestBehavior = JsonRequestBehavior.AllowGet
            });
        }
Example #4
0
        public ActionResult GetChequeBookByBankID(int BankID, string BookName)
        {
            //KeystoneProject.Report.ChequePrintView o = new Report.ChequePrintView();
            Session["chqueBookNameID"] = BookName;
            BL_ChequePrint BL_obj = new BL_ChequePrint();

            return(new JsonResult {
                Data = BL_obj.GetChequeBookByBankID(BankID), JsonRequestBehavior = JsonRequestBehavior.AllowGet
            });
        }
Example #5
0
 public ActionResult ChequePrint(ChequePrint obj, FormCollection fm)
 {
     obj.BankID         = fm["Bankname"];
     obj.ChequeAmount   = fm["ChequeAmt"];
     obj.ChequeDate     = fm["Cheque Date"];
     obj.ChequeBookID   = fm["BookName"];
     obj.VoucherEntryID = Convert.ToInt32(fm["VoucherEntryID"]);
     obj.ChequePrintID  = Convert.ToInt32(fm["ChequePrintID"]);
     obj.Narretion      = fm["Narration"];
     obj.ChequeNo       = fm["Cheque"];
     obj.BankName       = fm["Bank"];
     KeystoneProject.Buisness_Logic.Financial.BL_ChequePrint BL_obj = new BL_ChequePrint();
     BL_obj.SaveChequePrint(obj);
     return(View());
 }