def bid_qualification_documents_factory(request): response = handle_root(request) if response: return response tender = request.validated["tender"] if request.matchdict.get("bid_id"): return resolve_bid(request, tender, document_type="qualification")
def bid_eligibility_documents_factory(request): response = handle_root(request) if response: return response tender = request.validated["tender"] if request.matchdict.get("bid_id"): return resolve_bid(request, tender, document_type="eligibility")