Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Banco_Itau.cs #927

Merged
merged 1 commit into from
Oct 18, 2021
Merged

Update Banco_Itau.cs #927

merged 1 commit into from
Oct 18, 2021

Conversation

fernandoareias
Copy link
Contributor

Inclusão da carteira 115 nas validações.

Inclusão da carteira 115 nas validações
@carloscds
Copy link
Contributor

@fernandoareias Podeia verifiar seu PR existem muitas alteracoes no arquivo, mas que nao foram alteradas.

//Carteiras v�lidas
int[] cv = new int[] { 175, 176, 178, 109, 198, 107, 122, 142, 143, 196, 126, 131, 146, 150, 169, 121, 112, 104, 138 };//MarcielTorres - adicionado a carteira 112
//Carteiras válidas
int[] cv = new int[] { 175, 176, 178, 109, 198, 107, 122, 142, 143, 196, 126, 131, 146, 150, 169, 121, 112, 104, 138, 115};//MarcielTorres - adicionado a carteira 112
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inclusão da carteira 115 como carteira válida

@@ -155,7 +155,7 @@ public override void FormataCodigoBarra(Boleto boleto)
string numeroDocumento = Utils.FormatCode(boleto.NumeroDocumento.ToString(), 7);
string codigoCedente = Utils.FormatCode(boleto.Cedente.Codigo.ToString(), 5);

if (boleto.Carteira == "175" || boleto.Carteira == "176" || boleto.Carteira == "178" || boleto.Carteira == "109" || boleto.Carteira == "121" || boleto.Carteira == "112" || boleto.Carteira == "104" || boleto.Carteira == "138")//MarcielTorres - adicionado a carteira 112
if (boleto.Carteira == "175" || boleto.Carteira == "176" || boleto.Carteira == "178" || boleto.Carteira == "109" || boleto.Carteira == "115" || boleto.Carteira == "121" || boleto.Carteira == "112" || boleto.Carteira == "104" || boleto.Carteira == "138")//MarcielTorres - adicionado a carteira 112
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inclusão da carteira 115 no if

@@ -224,42 +224,42 @@ public override void FormataLinhaDigitavel(Boleto boleto)

#endregion UUUUVVVVVVVVVV

if (boleto.Carteira == "175" || boleto.Carteira == "176" || boleto.Carteira == "178" || boleto.Carteira == "109" || boleto.Carteira == "121" || boleto.Carteira == "112" || boleto.Carteira == "104" || boleto.Carteira == "138")//MarcielTorres - adicionado a carteira 112
if (boleto.Carteira == "175" || boleto.Carteira == "176" || boleto.Carteira == "178" || boleto.Carteira == "109" || boleto.Carteira == "115" || boleto.Carteira == "121" || boleto.Carteira == "112" || boleto.Carteira == "104" || boleto.Carteira == "138")//MarcielTorres - adicionado a carteira 112
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inclusão da carteira 115 no if

@carloscds
Copy link
Contributor

@fernandoareias Poderia deixar somente estas alterações no PR ?

Copy link
Contributor Author

@fernandoareias fernandoareias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inclusão da carteira 115 nas validações/ifs

@carloscds carloscds merged commit dc73910 into BoletoNet:master Oct 18, 2021
@fernandoareias fernandoareias deleted the patch-1 branch October 18, 2021 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants