Browse Source

Alterando tamanho e disposição dos dados do rodapé do relatorio de convenios e retirando linha separadora entre detail e footer

diagnosticos
Starlone (Estagiario) 14 years ago
parent
commit
8faf90f69f
  1. 8
      sigi/apps/relatorios/reports.py

8
sigi/apps/relatorios/reports.py

@ -47,15 +47,15 @@ class ReportDefault(Report):
borders = {'bottom': True} borders = {'bottom': True}
class band_page_footer(ReportBand): class band_page_footer(ReportBand):
height = 0.5*cm height = 1*cm
elements = [ elements = [
SystemField(expression=u'%(now:%d/%m/%Y)s às %(now:%H:%M)s', top=0.1*cm), SystemField(expression=u'%(now:%d/%m/%Y)s às %(now:%H:%M)s', top=0.3*cm),
SystemField(expression=u'Página %(page_number)d de %(page_count)d', top=0.1*cm, SystemField(expression=u'Página %(page_number)d de %(page_count)d', top=0.3*cm,
width=BAND_WIDTH, style={'alignment': TA_RIGHT} width=BAND_WIDTH, style={'alignment': TA_RIGHT}
), ),
] ]
borders = {'top': True} #borders = {'top': True}
class band_detail(DetailBand): class band_detail(DetailBand):
height = 0.5*cm height = 0.5*cm

Loading…
Cancel
Save