From 5a9c5955977300dbbf838d5734b15b490989d71e Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Sun, 23 Mar 2014 17:43:19 -0300 Subject: [PATCH] =?utf8?q?Implementa=20Rendimentos=20Tribut=C3=A1veis=20Ex?= =?utf8?q?clusivamente=20na=20Fonte?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/exclusivos.py | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/exclusivos.py diff --git a/src/exclusivos.py b/src/exclusivos.py new file mode 100644 index 0000000..1db1f90 --- /dev/null +++ b/src/exclusivos.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# +# Copyright 2013 Thadeu Lima de Souza Cascardo +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# -*- mode: python; encoding: utf-8; -*- + +import xml.dom.minidom +import quadros + +rendimentos = [ + (u"Rendimentos Aplicações", "rendAplicacoesQuadroAuxiliar"), + (u"Outros", "outrosQuadroAuxiliar"), + (u"Rendimentos Dependentes", "outrosDependentesQuadroAuxiliar"), +] + +class RendimentosExclusivos(quadros.Quadros): + def __init__(self, contribuinte): + quadros.Quadros.__init__(self, contribuinte.dados.getElementsByTagName("rendTributacaoExclusiva")[0], rendimentos) + +# vim:tabstop=4:expandtab:smartindent -- 2.20.1