Browse Source

Tirando o nome das UFs deixando so siglas

pull/78/head
Lude Ribeiro 3 years ago
parent
commit
6f32784a99
  1. 26
      sigi/apps/convenios/reports.py

26
sigi/apps/convenios/reports.py

@ -120,19 +120,19 @@ class ConvenioReport(ReportDefault):
),
]
groups = [
ReportGroup(attribute_name='casa_legislativa.municipio.uf',
band_header=ReportBand(
height=0.7 * cm,
elements=[
ObjectValue(attribute_name='casa_legislativa.municipio.uf',
get_Value=lambda instance: '%s: %s' % (_(u'Casa Legislativa'), instance.casa_legislativa.uf)
)
],
borders={'top': True},
)
)
]
#groups = [
# ReportGroup(attribute_name='casa_legislativa.municipio.uf',
# band_header=ReportBand(
# height=0.7 * cm,
# elements=[
# ObjectValue(attribute_name='casa_legislativa.municipio.uf',
# get_Value=lambda instance: '%s: %s' % (_(u'Casa Legislativa'), instance.casa_legislativa.uf)
# )
# ],
# borders={'top': True},
# )
# )
#]
class ConvenioReportSemAceite(ConvenioReport):

Loading…
Cancel
Save