Skip to content

Commit

Permalink
fix sequencial
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Augusto (POKER) committed May 23, 2018
1 parent 30a3d80 commit 58e3fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cnab/Cnab400/BB/Detalhe.php
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ public function getSequencialRegistro()
*/
public function setSequencialRegistro($sequencialRegistro)
{
$this->sequencialRegistro = str_pad(substr($sequencialRegistro,0,6),6,' ',STR_PAD_LEFT);
$this->sequencialRegistro = str_pad(substr($sequencialRegistro,0,6),6,'0',STR_PAD_LEFT);
}

/**
Expand Down

0 comments on commit 58e3fc5

Please sign in to comment.