Skip to content

Commit

Permalink
🎨 Ajustado a quantidade de caracteres no campo cpf_empregado
Browse files Browse the repository at this point in the history
  • Loading branch information
wallissonmarinho committed Mar 19, 2021
1 parent 0620160 commit 8c75214
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions layout/mte/afdv3.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,21 +263,21 @@ remessa:
picture: '9(4)'
data_format: "hhmm"
cpf_empregado:
pos: [23,34]
picture: 'X(12)'
pos: [23,33]
picture: 'X(11)'
data_gravacao:
pos: [35,42]
pos: [34,41]
picture: '9(8)'
data_format: "ddmmyyyy"
hora_gravacao:
pos: [43,46]
pos: [42,45]
picture: '9(4)'
data_format: "hhmm"
identificador_marcacao:
pos: [47,48]
pos: [46,47]
picture: '9(2)'
codigo_hash:
pos: [49,112]
pos: [48,111]
picture: 'X(64)'
retorno:
Expand Down Expand Up @@ -524,20 +524,20 @@ retorno:
picture: '9(4)'
data_format: "hhmm"
cpf_empregado:
pos: [23,34]
picture: 'X(12)'
pos: [23,33]
picture: 'X(11)'
data_gravacao:
pos: [35,42]
pos: [34,41]
picture: '9(8)'
data_format: "ddmmyyyy"
hora_gravacao:
pos: [43,46]
pos: [42,45]
picture: '9(4)'
data_format: "hhmm"
identificador_marcacao:
pos: [47,48]
pos: [46,47]
picture: '9(2)'
codigo_hash:
pos: [49,112]
pos: [48,111]
picture: 'X(64)'
`
2 changes: 1 addition & 1 deletion test/fixtures/afdv3.ret
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
000000003420012021112020012021112000000000001234
0000000045200120211120I00000000000FULANO DA SILVA 0000000000000001234
000000005620012021112001
0000000067200120211120000000000000200120211120022debfeed294bb4da21d6e36c747f53bae98a2135f2d191f56b9a8bf7c03456185
000000006720012021112000000000000200120211120022debfeed294bb4da21d6e36c747f53bae98a2135f2d191f56b9a8bf7c03456185
9999999990000000000000000000000000000000000000000000069
2 changes: 1 addition & 1 deletion test/remessa_afd_v3_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func TestRemessaAFDV3(t *testing.T) {
detalhe["segmento_7"]["codigo_registro"] = 5
detalhe["segmento_7"]["data_marcacao"] = time.Now()
detalhe["segmento_7"]["hora_marcacao"] = time.Now()
detalhe["segmento_7"]["cpf_empregado"] = "564281944095"
detalhe["segmento_7"]["cpf_empregado"] = "56428194409"
detalhe["segmento_7"]["data_gravacao"] = time.Now()
detalhe["segmento_7"]["hora_gravacao"] = time.Now()
detalhe["segmento_7"]["identificador_marcacao"] = 02
Expand Down

0 comments on commit 8c75214

Please sign in to comment.