예제 #1
0
        public ActionResult ChinhSuaHopDong(String SoHopDong)
        {
            ViewBag.CTCPPS    = ChiTietChiPhiPhatSinhQueries.LayDanhSachCTCPPhatSinhTheoSoHopDong(SoHopDong);
            ViewBag.ChiPhi    = ChiPhiPhatSinhQueries.DanhSachChiPhiPhatSinh();
            ViewBag.LoTrinh   = LoTrinhQueries.LayDanhSachLoTrinh();
            ViewBag.KhachHang = KhachHangQueries.LayDanhSachKhachHangThanThiet();
            var model = HopDongQueries.LayThongTinHopDong(SoHopDong);

            return(View(model));
        }
예제 #2
0
        public ActionResult ChiTietHopDong(String SoHopDong)
        {
            var model = HopDongQueries.LayThongTinHopDong(SoHopDong);

            ViewBag.CTCPPS = ChiTietChiPhiPhatSinhQueries.LayDanhSachCTCPPhatSinhTheoSoHopDong(SoHopDong);
            ViewBag.LoaiXe = LoaiXeQueries.LayDanhSachLoaiXe();
            ViewBag.CTHD   = CT_HopDongQueries.GroupbyCTHopDong(SoHopDong);
            ViewBag.CongTy = CongTiesQueries.LayThongTinChiTietCty("DETRA");
            ViewBag.ChiPhi = ChiPhiPhatSinhQueries.DanhSachChiPhiPhatSinh();
            return(View(model));
        }