se adiciona DevengadoHorasExtrasDiarias

FossilOrigin-Name: c544c4bb273c7f548f7cb5d4466af9975bb7f5a35e4bd38a22fbdeae39acea4c
This commit is contained in:
bit4bit
2021-12-01 00:24:14 +00:00
parent ee3910136d
commit 67f29fcca6
3 changed files with 50 additions and 2 deletions

View File

@@ -441,6 +441,14 @@ class DIANNominaXML:
return errors
def informacion_general(self):
xpath = self.root_fragment.xpath_from_root('/InformacionGeneral')
return {
'cune': self.fexml.get_element_attribute(cune_xpath, 'CUNE'),
'fecha_generacion': self.fexml.get_element_attribute(xpath, 'FechaGen'),
'numero': self.fexml.get_element_attribute(self.root_fragment('/NumeroSecuenciaXML', 'Numero'))
}
def toFachoXML(self):
self._devengados_total()
self._deducciones_total()

View File

@@ -2,9 +2,12 @@
from .basico import *
from .transporte import *
from .devengado import *
from .horas_extras import *
__all__ = [
'Devengado',
'DevengadoBasico',
'DevengadoTransporte'
'DevengadoTransporte',
'DevengadoHorasExtrasDiarias',
'DevengadoHoraExtra'
]