|
|
|
@ -18,7 +18,7 @@ from sapl.materia.models import (MateriaLegislativa, StatusTramitacao, |
|
|
|
from sapl.parlamentares.models import Parlamentar, Legislatura, Mandato |
|
|
|
from sapl.utils import (RANGE_DIAS_MES, RANGE_MESES, |
|
|
|
MateriaPesquisaOrderingFilter, autor_label, |
|
|
|
ausencia_expediente, ausencia_ordem, autor_modal, timezone) |
|
|
|
ausencia_materia, autor_modal, timezone) |
|
|
|
|
|
|
|
from .models import (Bancada, Bloco, ExpedienteMateria, JustificativaAusencia, |
|
|
|
Orador, OradorExpediente, OrdemDia, SessaoPlenaria, |
|
|
|
@ -707,9 +707,9 @@ class JustificativaAusenciaForm(ModelForm): |
|
|
|
row3 = to_row( |
|
|
|
[('upload_anexo', 6)]) |
|
|
|
row4 = to_row( |
|
|
|
[('tipo_ausencia', 6)]) |
|
|
|
[('tipo_ausencia', 12)]) |
|
|
|
row5 = to_row( |
|
|
|
[('ausencia', 6)]) |
|
|
|
[('ausencia', 12)]) |
|
|
|
row6 = to_row( |
|
|
|
[('observacao', 12)]) |
|
|
|
|
|
|
|
@ -718,9 +718,9 @@ class JustificativaAusenciaForm(ModelForm): |
|
|
|
Fieldset(_('Justificativa de Ausência'), |
|
|
|
row1, row2, row3, |
|
|
|
row4, row5, |
|
|
|
HTML(ausencia_expediente), |
|
|
|
HTML(ausencia_ordem), |
|
|
|
row6,) |
|
|
|
HTML(ausencia_materia), |
|
|
|
row6, |
|
|
|
form_actions(label='Salvar')) |
|
|
|
) |
|
|
|
super(JustificativaAusenciaForm, self).__init__( |
|
|
|
*args, **kwargs) |
|
|
|
|