Merge pull request #201 from dod-ccpo/annual-spend-threshold
make annual spending threshold available to request templates
This commit is contained in:
@@ -32,6 +32,7 @@ def deep_merge(source, destination: dict):
|
||||
|
||||
class Requests(object):
|
||||
AUTO_APPROVE_THRESHOLD = 1000000
|
||||
ANNUAL_SPEND_THRESHOLD = 1000000
|
||||
|
||||
@classmethod
|
||||
def create(cls, creator, body):
|
||||
|
@@ -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 }
|
||||
|
Reference in New Issue
Block a user