Add config settings to set the start and the end of the financial year.

Now we allow to filter for any financial year dates. Note that we also
only show the financial year filter if the dates are actually set.
This commit is contained in:
David Martin
2017-08-24 20:51:09 +10:00
parent 44f2a71f74
commit a82fb87e82
3 changed files with 18 additions and 3 deletions

View File

@@ -254,3 +254,6 @@ POST_CONSUME_SCRIPT = os.getenv("PAPERLESS_POST_CONSUME_SCRIPT")
# positive integer, but if you don't define one in paperless.conf, a default of
# 100 will be used.
PAPERLESS_LIST_PER_PAGE = int(os.getenv("PAPERLESS_LIST_PER_PAGE", 100))
FY_START = os.getenv("PAPERLESS_FINANCIAL_YEAR_START")
FY_END = os.getenv("PAPERLESS_FINANCIAL_YEAR_END")