public static string htmlTiepPham1B(DataTable table)
            {
                string html = "<table border='1' style='border-collapse:collapse; width:100%;'>";

                html += THead.TiepPham1B();
                #region tbody
                List <string> tenCot = new List <string>()
                {
                    "stt",
                    "tendaydu",
                    "tencososanxuat",
                    "diachicososanxuat",
                    "NgayNhap",
                    "soluonggam",
                    "tennhacungcap",
                    "diachi",
                    "nguoigiaohang",
                    "hansudung",
                    "DieuKienBaoQuan",
                    "sohoadon",
                    "camquanDat", "camquanKoDat",
                    "ghichu"
                };
                html += TBody.Fill(tenCot, table);
                #endregion
                html += "</table>";
                return(html);
            }
            public static string htmlUC_BangDieuTra(DataTable table)
            {
                string html = "<table border='1' style='border-collapse:collapse; width:100%;'>";

                html += THead.BangDieuTra();
                #region tbody
                List <string> tenCot = new List <string>()
                {
                    "stt",
                    "tendaydu",
                    "soluonggam",
                    "DonViTinh",
                    "tienmotthucpham",
                    "damdv",
                    "damtv",
                    "beodv",
                    "beotv",
                    "A.duong",
                    "A.calo",
                    "Giá tiền",
                    "rong",
                    "B.hesothaibo",
                    "thucmua"
                };
                html += TBody.Fill(tenCot, table);
                #endregion
                html += "</table>";
                return(html);
            }
            public static string htmlUC_TongHopTienAn(DataTable table)
            {
                string html = "<table border='1' style='border-collapse:collapse; width:100%;'>";

                html += THead.TongHopTienAn();
                #region tbody
                List <string> tenCot = new List <string>()
                {
                    "stt",
                    "tenlophoc",
                    "tongsosuat",
                    "tongtienthuathangtruoc",
                    "tongtienthuthangtruoc",
                    "tongthuthangtruoc",
                    "sosuatanthangnay",
                    "tongtienanthangnay",
                    "tienanhoantra",
                    "rong",
                    "tienchuyenthangsau"
                };
                html += TBody.Fill(tenCot, table);
                #endregion
                html += "</table>";
                return(html);
            }
            public static string htmlFormInBangDieuTraTuan(List <string> dsNgay, DataTable table)
            {
                string html = "<table border='1' style='border-collapse:collapse; width:100%;'>";

                html += THead.FormInBangDieuTraTuan(dsNgay);
                #region tbody

                List <string> tenCot = new List <string>()
                {
                    "stt",
                    "ten"
                };
                tenCot.AddRange(dsNgay);

                string[] sauNgay =
                {
                    "tong",
                    "damDV",
                    "damTV",
                    "beoDV",
                    "beoTV",
                    "duong",
                    "calo"
                };
                tenCot.AddRange(sauNgay);

                html += TBody.Fill(tenCot, table);

                #endregion
                html += "</table>";
                return(html);
            }
            public static string htmlUC_SoQuyTienMat(DataTable table)
            {
                string html = "<table border='1' style='border-collapse:collapse; width:100%;'>";

                html += THead.SoQuyTienMat();
                #region tbody
                List <string> tenCot = new List <string>()
                {
                    "ngaylap", "sophieuthu", "sophieuchi", "diengiai", "sotienchi", "sotienthu", "sotienton"
                };
                html += TBody.Fill(tenCot, table);
                #endregion
                html += "</table>";
                return(html);
            }
Example #6
0
            public static string htmlUC_STTTTheoHS(DataTable table)
            {
                string html = "<table border='1' style='border-collapse:collapse; width:100%;'>";

                html += THead.STTTTheoHS();
                #region tbody
                List <string> tenCot = new List <string>()
                {
                    "stt", "hoten", "tenlophoc", "tienan", "hocphi", "bantruphi",
                    "tienansang", "vesinhphi", "tongthu", "ngay", "sohoadon"
                };
                html += TBody.Fill(tenCot, table);
                #endregion
                html += "</table>";
                return(html);
            }
            public static string htmlUC_TheoDoiPhieuThu(DataTable table)
            {
                string html = "<table border='1' style='border-collapse:collapse; width:100%;'>";

                html += THead.TheoDoiPhieuThu();
                #region tbody
                List <string> tenCot = new List <string>()
                {
                    "stt", "Hoten", "rong", "tienchithangtruoc", "rong", "tientruthangtruoc",
                    "TienAn", "HocPhi", "PVBT", "AnSang", "VeSinh", "tongthu",
                    "ngayHoanTien", "sohoadon"
                };
                html += TBody.Fill(tenCot, table);
                #endregion
                html += "</table>";
                return(html);
            }
            public static string htmlUC_PhieuCho(string tenNhomTre, DataTable table)
            {
                string html = "<table border='1' style='border-collapse:collapse; width:100%;'>";

                html += THead.PhieuCho(tenNhomTre);
                #region tbody
                List <string> tenCot = new List <string>()
                {
                    "stt",
                    "tendaydu",
                    "tendonvitinh",
                    "CT.giatien",
                    "soluonggam",
                    "tienmotthucpham"
                };
                html += TBody.Fill(tenCot, table);
                #endregion
                html += "</table>";
                return(html);
            }
            public static string htmlUC_ThucDonTuan(DataTable table)
            {
                string html = "<table border='1' style='border-collapse:collapse; width:100%;'>";

                html += THead.ThucDonTuan();
                #region tbody

                List <string> tenCot = new List <string>()
                {
                    "thu_ngay",
                    "Bửa sáng",
                    "Bửa trưa",
                    "Bửa xế",
                    "Bửa phụ"
                };
                html += TBody.Fill(tenCot, table);

                #endregion
                html += "</table>";
                return(html);
            }
            public static string htmlUC_TheKho(DataTable table)
            {
                string html = "<table border='1' style='border-collapse:collapse; width:100%;'>";

                html += THead.TheKho();
                #region tbody
                List <string> tenCot = new List <string>()
                {
                    "Ngày lập",
                    "Số phiếu nhập",
                    "Số phiếu xuất",
                    "Diễn giải",
                    "Số lượng nhập",
                    "Thành tiền nhập",
                    "Số lượng xuất",
                    "Thành tiền xuất",
                    "Số lượng tồn",
                    "Thành tiền tồn"
                };
                html += TBody.Fill(tenCot, table);
                #endregion
                html += "</table>";
                return(html);
            }