make annual spending threshold available to request templates

This commit is contained in:
dandds
2018-08-22 15:04:12 -04:00
parent feb070eaab
commit 6401ca4007
4 changed files with 9 additions and 2 deletions

View File

@@ -1,7 +1,13 @@
from flask import Blueprint
from atst.domain.requests import Requests
requests_bp = Blueprint("requests", __name__)
from . import index
from . import requests_form
from . import financial_verification
@requests_bp.context_processor
def annual_spend_threshold():
return { "annual_spend_threshold": Requests.ANNUAL_SPEND_THRESHOLD }