Skip to content

Commit

Permalink
Merge pull request #131 from matheushack/master
Browse files Browse the repository at this point in the history
Preenchimento campos header remessa banco do brasil
  • Loading branch information
andersondanilo authored Mar 12, 2018
2 parents a3aaede + f19be1d commit 65fbf9b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Cnab/Remessa/Cnab400/Arquivo.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ public function configure(array $params)
case \Cnab\Banco::BANCO_DO_BRASIL:
$campos[] = 'agencia_dac';
$campos[] = 'conta_dac';
$campos[] = 'numero_sequencial';
$campos[] = 'numero_convenio';
break;
default:
$campos[] = 'conta_dac';
Expand Down Expand Up @@ -86,6 +88,8 @@ public function configure(array $params)
case \Cnab\Banco::BANCO_DO_BRASIL:
$this->header->agencia_dv = $this->configuracao['agencia_dac'];
$this->header->conta_dv = $this->configuracao['conta_dac'];
$this->header->numero_sequencial = $this->configuracao['numero_sequencial'];
$this->header->convenio_lider = $this->configuracao['numero_convenio'];
break;
default:
$this->header->conta_dv = $this->configuracao['conta_dac'];
Expand Down

0 comments on commit 65fbf9b

Please sign in to comment.