more gray for dashboard

This commit is contained in:
stvnrlly
2022-12-01 10:18:12 -05:00
parent 3e28baa733
commit f49e2a9e6e
4 changed files with 16 additions and 35 deletions

View File

@@ -9,7 +9,7 @@ def get_current_financial_year():
now = datetime.now(current_app.config['PY_TIMEZONE'])
current_month = int(now.strftime('%-m'))
current_year = int(now.strftime('%Y'))
return current_year if current_month > 3 else current_year - 1
return current_year if current_month > 9 else current_year - 1
def is_less_than_days_ago(date_from_db, number_of_days):