@@ -13,13 +13,13 @@ def __init__(self):
13
13
14
14
def defaultValues (self ):
15
15
structs = [
16
- ( 7 , 8 , 1 , numeric , "3" ), # TIPO DE REGISTRO
17
- ( 8 , 13 , 5 , numeric , 1 ), # INDEX DO REGISTRO
18
- ( 13 , 14 , 1 , alphaNumeric , "J" ), # CÓDIGO DE SEGMENTO
19
- ( 14 , 17 , 3 , numeric , "000 " ), # TIPO DE MOVIMENTO
16
+ ( 7 , 8 , 1 , numeric , "3" ), # Tipo de Registro
17
+ ( 8 , 13 , 5 , numeric , 1 ), # Index de Registro
18
+ ( 13 , 14 , 1 , alphaNumeric , "J" ), # Código de Segmento
19
+ ( 14 , 17 , 3 , numeric , "0 " ), # Tipo de Movimento
20
20
(144 , 152 , 8 , numeric , date .today ().strftime ("%d%m%Y" )),
21
21
(114 , 144 , 23 , numeric , "0" ),
22
- (167 , 182 , 15 , numeric , "0" ),
22
+ (167 , 182 , 15 , numeric , "0" ),
23
23
]
24
24
self .content = Row .setStructs (structs = structs , content = self .content )
25
25
@@ -37,9 +37,9 @@ def setBarCode(self, barCode):
37
37
( 22 , 26 , 4 , numeric , barCode .dueFactor ),
38
38
( 26 , 36 , 10 , numeric , barCode .amount ),
39
39
( 36 , 61 , 25 , numeric , barCode .freeField ),
40
- ( 99 , 114 , 15 , numeric , barCode .amount ) , # VALOR NOMINAL DO TÍTULO
41
- (152 , 167 , 15 , numeric , barCode .amount ), # VALOR DO PAGAMENTO
42
- ( 91 , 99 , 8 , numeric , barCode .dueDate . strftime ( "%d%m%Y" )) , # DATA DE VENCIMENTO
40
+ ( 91 , 99 , 8 , numeric , barCode .dueDate . strftime ( "%d%m%Y" )) , # Data de Vencimento
41
+ ( 99 , 114 , 15 , numeric , barCode .amount ), # Valor Nominal do Título
42
+ (152 , 167 , 15 , numeric , barCode .amount ) , # Valor do Pagamento
43
43
]
44
44
self .content = Row .setStructs (structs = structs , content = self .content )
45
45
0 commit comments