Set name client to upper case

This commit is contained in:
Mauricio Baeza 2022-06-09 13:50:33 -05:00
parent 496dcf7162
commit e08e4e038f
3 changed files with 3 additions and 1 deletions

View File

@ -307,6 +307,7 @@ class CFDI(object):
return
def _receptor(self, datos):
datos['Nombre'] = datos['Nombre'].upper()
node_name = '{}:Receptor'.format(self._pre)
emisor = ET.SubElement(self._cfdi, node_name, datos)
return

View File

@ -1761,7 +1761,7 @@ class SATImpuestos(BaseModel):
tipo = 'R'
row = {
'key': IMPUESTOS.get(values['impuesto']),
'key': IMPUESTOS.get(values['impuesto'], '000'),
'name': values['impuesto'],
'tipo': tipo,
'tasa': abs(tasa),

View File

@ -1166,6 +1166,7 @@ var admin_taxes = [
'CEDULAR',
'CMIC',
'SUPERVISION',
'MANO DE OBRA',
]
var admin_sat_impuestos = {cols: [{maxWidth: 15},