Fix - Issue 33
This commit is contained in:
parent
671f9698cf
commit
848c507e47
|
@ -939,6 +939,7 @@ def _comprobante(doc, options):
|
||||||
data = CaseInsensitiveDict(doc.attrib.copy())
|
data = CaseInsensitiveDict(doc.attrib.copy())
|
||||||
del data['certificado']
|
del data['certificado']
|
||||||
|
|
||||||
|
data['seriefolio'] = '{} - {}'.format(data['serie'], data['folio'])
|
||||||
data['totalenletras'] = to_letters(float(data['total']), data['moneda'])
|
data['totalenletras'] = to_letters(float(data['total']), data['moneda'])
|
||||||
if data['version'] == '3.3':
|
if data['version'] == '3.3':
|
||||||
tipos = {
|
tipos = {
|
||||||
|
|
|
@ -78,7 +78,7 @@
|
||||||
"fontSize": 8, "alignment": 0, "textColor": "black",
|
"fontSize": 8, "alignment": 0, "textColor": "black",
|
||||||
"backColor": "white"}
|
"backColor": "white"}
|
||||||
},
|
},
|
||||||
"folio": {
|
"seriefolio": {
|
||||||
"rectangulo": {"x": 15.1, "y": 23.2, "width": 3.0, "height": 0.4,
|
"rectangulo": {"x": 15.1, "y": 23.2, "width": 3.0, "height": 0.4,
|
||||||
"radius": 0.0, "stroke": false, "fill": false},
|
"radius": 0.0, "stroke": false, "fill": false},
|
||||||
"estilo": {"name": "nombre", "fontName": "Helvetica-Bold",
|
"estilo": {"name": "nombre", "fontName": "Helvetica-Bold",
|
||||||
|
|
Loading…
Reference in New Issue