Exemple #1
0
        public ActionResult ChinhSuaPT(string SoPT)
        {
            ViewBag.model = PhieuThuQueries.ChiTiet_PT(SoPT);
            var model = PhieuThuQueries.DanhSachPhieuThu();

            return(View(model));
        }
Exemple #2
0
        /// <summary>
        /// Danh sach phieu thu
        /// </summary>
        /// <returns>list<PhieuThuViewModel></returns>
        public ActionResult MenuDanhSachPhieuThu()
        {
            var model = PhieuThuQueries.DanhSachPhieuThu();

            return(View(model));
        }
Exemple #3
0
 public ActionResult MenuThemPhieuThu(PhieuThuViewModel PT)
 {
     ViewBag.MaNV = NhanVienQueries.LayDanhSachNhanVien();
     PhieuThuQueries.ThemPhieuThu(PT);
     return(RedirectToAction("MenuDanhSachPhieuThu", "ThuChi"));
 }
Exemple #4
0
        public ActionResult ChinhSuaPT(PhieuThuViewModel Pt)
        {
            var model = PhieuThuQueries.ChinhSuaPT(Pt);

            return(RedirectToAction("MenuDanhSachPhieuThu", "ThuChi"));
        }