Skip to content

Commit

Permalink
[FIX] Formatação da série
Browse files Browse the repository at this point in the history
  • Loading branch information
aricaldeira authored and mbcosta committed Jul 25, 2018
1 parent d241708 commit 1542cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysped/nfe/leiaute/nfe_310.py
Original file line number Diff line number Diff line change
Expand Up @@ -2191,7 +2191,7 @@ def numero_formatado(self):
def serie_formatada(self):
if str(self.infNFe.ide.mod.valor) == '65':
return 'Série ' + str(self.infNFe.ide.serie.valor).zfill(3)
elif str(self.infNFe.ide.mod.valor) == '65':
elif str(self.infNFe.ide.mod.valor) == '55':
return 'SÉRIE ' + str(self.infNFe.ide.serie.valor).zfill(3)
else:
return str(self.infNFe.ide.serie.valor).zfill(3)
Expand Down

0 comments on commit 1542cec

Please sign in to comment.