Skip to content

Commit

Permalink
feat: Add new field 'justificativa_da_improcedencia' to FIELDS
Browse files Browse the repository at this point in the history
This change adds a new field 'justificativa_da_improcedencia' to the FIELDS dictionary in the attrs.py module. The new field has the following properties:

- Field ID: 1968
- Label: "Justificativa da Improcedência:"
- Options: ["Reclamante informou que interferência cessou", "Dados obtidos indicam que interferência não procede", "Não foi constatada portadora interferente em campo"]

This new field will be used to capture the justification for marking an issue as 'improcedente' (unfounded).

Additionally, the label for the 'gerar_plai' field has been updated from "Gerar Plai" to "Gerar Plai?".
  • Loading branch information
ronaldokun committed Aug 7, 2024
1 parent 550f1e2 commit 8854890
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions fiscaliza/attrs.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"frequencias": SimpleField(180, "Frequência(s):"),
"gerar_plai": FieldWithOptions(
426,
"Gerar Plai",
"Gerar Plai?",
options=["", "0", "1"],
mapping={"1": ["tipo_do_processo_plai", "coord_fi_plai"]},
),
Expand Down Expand Up @@ -139,6 +139,15 @@
options=[], # Preechido dinamicamente dentro da classe Issue
format_value=True,
),
"justificativa_da_improcedencia": FieldWithOptions(
1968,
"Justificativa da Improcedência:",
options=[
"Reclamante informou que interferência cessou",
"Dados obtidos indicam que interferência não procede",
"Não foi constatada portadora interferente em campo",
],
),
"lai_vinculadas": SimpleField(481, "LAI vinculadas"),
"latitude_coordenadas": SimpleField(170, "Latitude (º):", True, _dtype="float"),
"latitude_da_estacao": SimpleField(
Expand All @@ -165,7 +174,7 @@
"numero_da_estacao": SimpleField(137, "Número da estação:", True),
"numero_do_pai": SimpleField(211, "Número do PAI:"),
"no_de_homologacao": SimpleField(161, "Nº de Homologação:"),
"no_do_lacre": SimpleField(165, "Nº do lacre", True),
"no_do_lacre": SimpleField(165, "Nº do lacre:", True),
"no_pcdp": SimpleField(112, "Nº PCDP:"),
"no_sav": SimpleField(111, "Nº SAV:"),
"no_sei_do_aviso_lai": EncodedString(427, "Nº SEI Referendo (Aviso LAI):", True),
Expand Down

0 comments on commit 8854890

Please sign in to comment.