Fix - Issue 33

This commit is contained in:
Mauricio Baeza 2017-12-01 09:55:55 -06:00
parent 671f9698cf
commit 848c507e47
2 changed files with 2 additions and 1 deletions

View File

@ -939,6 +939,7 @@ def _comprobante(doc, options):
data = CaseInsensitiveDict(doc.attrib.copy())
del data['certificado']
data['seriefolio'] = '{} - {}'.format(data['serie'], data['folio'])
data['totalenletras'] = to_letters(float(data['total']), data['moneda'])
if data['version'] == '3.3':
tipos = {

View File

@ -78,7 +78,7 @@
"fontSize": 8, "alignment": 0, "textColor": "black",
"backColor": "white"}
},
"folio": {
"seriefolio": {
"rectangulo": {"x": 15.1, "y": 23.2, "width": 3.0, "height": 0.4,
"radius": 0.0, "stroke": false, "fill": false},
"estilo": {"name": "nombre", "fontName": "Helvetica-Bold",