diff --git a/openprocurement/auctions/dgf/utils.py b/openprocurement/auctions/dgf/utils.py index a6cd7b67..6ed219f1 100644 --- a/openprocurement/auctions/dgf/utils.py +++ b/openprocurement/auctions/dgf/utils.py @@ -88,10 +88,3 @@ def check_status(request): if standStillEnd <= now: check_auction_status(request) return - - -def invalidate_bids_under_threshold(auction): - value_threshold = round(auction['value']['amount'] + auction['minimalStep']['amount'], 2) - for bid in auction['bids']: - if bid['value']['amount'] < value_threshold: - bid['status'] = 'invalid' diff --git a/openprocurement/auctions/dgf/views/other/auction.py b/openprocurement/auctions/dgf/views/other/auction.py index bc96dbc7..f926553c 100644 --- a/openprocurement/auctions/dgf/views/other/auction.py +++ b/openprocurement/auctions/dgf/views/other/auction.py @@ -12,7 +12,7 @@ ) from openprocurement.auctions.core.views.mixins import AuctionAuctionResource -from openprocurement.auctions.dgf.utils import invalidate_bids_under_threshold +from openprocurement.auctions.core.plugins.awarding.base.utils import invalidate_bids_under_threshold @opresource(name='dgfOtherAssets:Auction Auction',