Set name client to upper case
This commit is contained in:
parent
496dcf7162
commit
e08e4e038f
|
@ -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
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -1166,6 +1166,7 @@ var admin_taxes = [
|
|||
'CEDULAR',
|
||||
'CMIC',
|
||||
'SUPERVISION',
|
||||
'MANO DE OBRA',
|
||||
]
|
||||
|
||||
var admin_sat_impuestos = {cols: [{maxWidth: 15},
|
||||
|
|
Loading…
Reference in New Issue