Skip to content

Commit

Permalink
limitando field do preview cnab no wizard
Browse files Browse the repository at this point in the history
  • Loading branch information
felipepaloschi committed Feb 21, 2018
1 parent 958dd42 commit 4db88ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion br_cnab/wizard/wizard_import_cnab.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def _preview_cnab(self):

preview = '<h3 class="text-center">%s</h3>' % arquivo.\
header.nome_do_banco
preview += '<div style="overflow: scroll; max-height: 300px;">'
preview += '<table class="table table-striped">'
preview += '<thead><tr>'
preview += '<th scope="col">Nosso Numero</th>'
Expand All @@ -93,7 +94,7 @@ def _preview_cnab(self):
preview += '<tr><td scope="row">%d</td>' % line[0]
preview += '<td>%s</td>' % evento
preview += '<td>%.2f</td></tr>' % line[2]
preview += '</tbody></table>'
preview += '</tbody></table></div>'

self.cnab_preview = preview

Expand Down

0 comments on commit 4db88ce

Please sign in to comment.