public ActionResult ChinhSuaPT(string SoPT) { ViewBag.model = PhieuThuQueries.ChiTiet_PT(SoPT); var model = PhieuThuQueries.DanhSachPhieuThu(); return(View(model)); }
/// <summary> /// Danh sach phieu thu /// </summary> /// <returns>list<PhieuThuViewModel></returns> public ActionResult MenuDanhSachPhieuThu() { var model = PhieuThuQueries.DanhSachPhieuThu(); return(View(model)); }
public ActionResult MenuThemPhieuThu(PhieuThuViewModel PT) { ViewBag.MaNV = NhanVienQueries.LayDanhSachNhanVien(); PhieuThuQueries.ThemPhieuThu(PT); return(RedirectToAction("MenuDanhSachPhieuThu", "ThuChi")); }
public ActionResult ChinhSuaPT(PhieuThuViewModel Pt) { var model = PhieuThuQueries.ChinhSuaPT(Pt); return(RedirectToAction("MenuDanhSachPhieuThu", "ThuChi")); }