Esempio n. 1
0
        /// <summary>
        /// Retorna una lista con los Documentos Contable en Sistema
        /// </summary>
        /// <returns></returns>
        public List <EDocumentos> getDocumentos()
        {
            TipoDocumentoDAO      tDao    = new TipoDocumentoDAO();
            List <ETipoDocumento> tipodoc = tDao.getAll();
            string tipo = "";

            foreach (var item in tipodoc)
            {
                tipo += "'" + item.tipoDoc + "',";
            }
            tipo = tipo.Substring(0, tipo.Length - 1);
            return(dDao.getAll(BLL.Inicializar.Mes, tipo));
        }