Changeset 18224


Ignore:
Timestamp:
13 Jan 2026, 21:25:24 (10 months ago)
Author:
Henrik Bettermann
Message:

Adjustments for the turn of the year.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/applicants
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py

    r17660 r18224  
    4444def year_range():
    4545    curr_year = datetime.now().year
    46     return range(curr_year - 8, curr_year + 5)
     46    return range(curr_year - 10, curr_year + 5)
    4747
    4848class ApplicantBalancePaymentCategorySource(ContextualDictSourceFactoryBase):
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_export.py

    r18021 r18224  
    322322        self.applicant = self.setup_applicant(self.applicant)
    323323        cdate = str('%s#' % self.applicant['p120'].creation_date)
     324        #self.applicant['p120'].payment_date = datetime.datetime(
     325        #    curr_year-6, 4, 1, 14, 12, 1)
    324326        self.applicant['p120'].payment_date = datetime.datetime(
    325             curr_year-6, 4, 1, 14, 12, 1)
     327            2019, 4, 1, 14, 12, 1)
    326328        exporter = ApplicantPaymentExporter()
    327329        exporter.export_filtered(
Note: See TracChangeset for help on using the changeset viewer.