forked from elmau/empresa-libre
Set name client to upper case
This commit is contained in:
parent
496dcf7162
commit
e08e4e038f
|
@ -307,6 +307,7 @@ class CFDI(object):
|
||||||
return
|
return
|
||||||
|
|
||||||
def _receptor(self, datos):
|
def _receptor(self, datos):
|
||||||
|
datos['Nombre'] = datos['Nombre'].upper()
|
||||||
node_name = '{}:Receptor'.format(self._pre)
|
node_name = '{}:Receptor'.format(self._pre)
|
||||||
emisor = ET.SubElement(self._cfdi, node_name, datos)
|
emisor = ET.SubElement(self._cfdi, node_name, datos)
|
||||||
return
|
return
|
||||||
|
|
|
@ -1761,7 +1761,7 @@ class SATImpuestos(BaseModel):
|
||||||
tipo = 'R'
|
tipo = 'R'
|
||||||
|
|
||||||
row = {
|
row = {
|
||||||
'key': IMPUESTOS.get(values['impuesto']),
|
'key': IMPUESTOS.get(values['impuesto'], '000'),
|
||||||
'name': values['impuesto'],
|
'name': values['impuesto'],
|
||||||
'tipo': tipo,
|
'tipo': tipo,
|
||||||
'tasa': abs(tasa),
|
'tasa': abs(tasa),
|
||||||
|
|
|
@ -1166,6 +1166,7 @@ var admin_taxes = [
|
||||||
'CEDULAR',
|
'CEDULAR',
|
||||||
'CMIC',
|
'CMIC',
|
||||||
'SUPERVISION',
|
'SUPERVISION',
|
||||||
|
'MANO DE OBRA',
|
||||||
]
|
]
|
||||||
|
|
||||||
var admin_sat_impuestos = {cols: [{maxWidth: 15},
|
var admin_sat_impuestos = {cols: [{maxWidth: 15},
|
||||||
|
|
Loading…
Reference in New Issue