Skip to content

Commit

Permalink
fix field xCpl
Browse files Browse the repository at this point in the history
  • Loading branch information
CristianoMafraJunior committed Oct 3, 2024
1 parent f15e357 commit d7b9108
Show file tree
Hide file tree
Showing 11 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions brazilfiscalreport/danfe/danfe.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,7 @@ def _draw_header(self):
address = (
f"{extract_text(self.emit,'xLgr')}, "
f"{extract_text(self.emit,'nro')}\n"
f"{extract_text(self.emit,'xCpl')}\n "
f"{extract_text(self.emit,'xBairro')}\n"
f"{extract_text(self.emit,'xMun')} - "
f"{extract_text(self.emit,'UF')}\n"
Expand Down
1 change: 1 addition & 0 deletions tests/fixtures/nfe_test_1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<enderEmit>
<xLgr>Avenida Paulista</xLgr>
<nro>1</nro>
<xCpl>Ao lado da casa</xCpl>
<xBairro>Bela Vista</xBairro>
<cMun>3550308</cMun>
<xMun>São Paulo</xMun>
Expand Down
Binary file modified tests/generated/danfe/danfe_add_info_below_prod.pdf
Binary file not shown.
Binary file modified tests/generated/danfe/danfe_add_info_next_page.pdf
Binary file not shown.
Binary file modified tests/generated/danfe/danfe_default.pdf
Binary file not shown.
Binary file modified tests/generated/danfe/danfe_duplicatas_only.pdf
Binary file not shown.
Binary file modified tests/generated/danfe/danfe_minimal.pdf
Binary file not shown.
Binary file modified tests/generated/danfe/danfe_multipage_landscape.pdf
Binary file not shown.
Binary file modified tests/generated/danfe/danfe_overload.pdf
Binary file not shown.
Binary file modified tests/generated/danfe/danfe_pis_confins.pdf
Binary file not shown.
Binary file modified tests/generated/danfe/danfe_sn.pdf
Binary file not shown.

0 comments on commit d7b9108

Please sign in to comment.