Browse Source

Tirando o nome das UFs deixando so siglas

pull/78/head
Lude Ribeiro 4 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 = [ #groups = [
ReportGroup(attribute_name='casa_legislativa.municipio.uf', # ReportGroup(attribute_name='casa_legislativa.municipio.uf',
band_header=ReportBand( # band_header=ReportBand(
height=0.7 * cm, # height=0.7 * cm,
elements=[ # elements=[
ObjectValue(attribute_name='casa_legislativa.municipio.uf', # ObjectValue(attribute_name='casa_legislativa.municipio.uf',
get_Value=lambda instance: '%s: %s' % (_(u'Casa Legislativa'), instance.casa_legislativa.uf) # get_Value=lambda instance: '%s: %s' % (_(u'Casa Legislativa'), instance.casa_legislativa.uf)
) # )
], # ],
borders={'top': True}, # borders={'top': True},
) # )
) # )
] #]
class ConvenioReportSemAceite(ConvenioReport): class ConvenioReportSemAceite(ConvenioReport):

Loading…
Cancel
Save