Skip to content

Commit

Permalink
Merge pull request #20 from ProzorroUKR/feature/disable-9999-validation
Browse files Browse the repository at this point in the history
Feature/disable 9999 validation
  • Loading branch information
dimka2014 committed Nov 13, 2018
2 parents 7020f74 + 98074bd commit 5b0ad61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/openprocurement/api/constants.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[DEFAULT]
BUDGET_PERIOD_FROM = 2017-10-1
BUDGET_PERIOD_FROM = 2017-10-1
NOT_REQUIRED_ADDITIONAL_CLASSIFICATION_FROM = 2018-04-20
3 changes: 3 additions & 0 deletions src/openprocurement/api/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,6 @@ def get_constant(config, constant, section=DEFAULTSECT, parse_func=parse_date_tz
CONSTANTS_CONFIG = load_constants(CONSTANTS_FILE_PATH)

BUDGET_PERIOD_FROM = get_constant(CONSTANTS_CONFIG, 'BUDGET_PERIOD_FROM')
# Set non required additionalClassification for classification_id 999999-9
NOT_REQUIRED_ADDITIONAL_CLASSIFICATION_FROM = get_constant(
CONSTANTS_CONFIG, 'NOT_REQUIRED_ADDITIONAL_CLASSIFICATION_FROM')

0 comments on commit 5b0ad61

Please sign in to comment.