def pdf_url(self): if self.report_year and self.report_year >= 2000: return utils.make_report_pdf_url(self.beginning_image_number) if self.form_type in ['F3X', 'F3P'] and self.report_year > 1993: return utils.make_report_pdf_url(self.beginning_image_number) if self.form_type == 'F3' and self.committee.committee_type == 'H' and self.report_year > 1996: return utils.make_report_pdf_url(self.beginning_image_number) return None
def pdf_url(self): if self.report_year and self.report_year >= 2000: return utils.make_report_pdf_url(self.beginning_image_number) if self.form_type in ["F3X", "F3P"] and self.report_year > 1993: return utils.make_report_pdf_url(self.beginning_image_number) if self.form_type == "F3" and self.committee.committee_type == "H" and self.report_year > 1996: return utils.make_report_pdf_url(self.beginning_image_number) return None
def pdf_url(self): if self.report_year is None or self.committee is None: return None # House records start May 1996 if self.committee.committee_type == 'H' and self.report_year < 1996: return None # Senate records start May 2000 elif self.committee.committee_type == 'S' and self.report_year < 2000: return None return utils.make_report_pdf_url(self.beginning_image_number)
def pdf_url(self): if self.has_pdf: return utils.make_report_pdf_url(self.beginning_image_number) return None
def pdf_url(self): if self.report_year is None or self.report_year < 1993: return None return utils.make_report_pdf_url(self.beginning_image_number)
def pdf_url(self): return utils.make_report_pdf_url(self.image_number)