Example #1
0
 def __init__(self, filename):
     ReportTemplate.__init__(self, filename, "", do_footer=0, topMargin=0,
                             bottomMargin=0)
     self.add_title("Termo de Compromisso de Estágio")
     self.add_info_table()
     self.add_blank_space(10)
     self.add_contract_body()
Example #2
0
 def __init__(self, filename, **args):
     report_name = 'Purchase Order Report'
     ReportTemplate.__init__(self, filename, report_name, do_header=0)
     self.add_supplier_section()
     self.add_instruction_section()
     self.add_item_section()
     self.build_signatures()
Example #3
0
 def __init__(self, filename, **args):
     report_name = 'Sample Clients Report'
     ReportTemplate.__init__(self, filename, report_name, do_header=0)
     rows = self.get_rows()
     self.add_column_table(rows, self.get_cols())
     self.add_paragraph('%d clients listed.' % len(rows),
                        style='Normal-AlignRight')
Example #4
0
 def __init__(self, filename, **args):
     report_name = 'Vehicles Production Report'
     ReportTemplate.__init__(self, filename, report_name, timestamp=1,
                             leftMargin=30, topMargin=20,
                             rightMargin=30, do_header=0, landscape=True)
     rows = self.get_rows()
     self.run_report(rows)
Example #5
0
 def __init__(self, filename, client):
     ReportTemplate.__init__(self, filename, self.report_name)
     self.add_title(self.report_name)
     self.add_data_table(self.get_rows(client))
     self.add_blank_space()
     self.add_paragraph("<b>Notas:</b> %s" % client.notes)
Example #6
0
 def __init__(self, filename, clients):
     ReportTemplate.__init__(self, filename,
                             self.report_name)
     self.add_title("Relatório de Clientes")
     self.add_object_table(clients, self.get_cols())