diff --git a/api/contracts/forms100.py b/api/contracts/forms100.py index af03c6cb27..729fccb6a3 100644 --- a/api/contracts/forms100.py +++ b/api/contracts/forms100.py @@ -52,4 +52,6 @@ def form_01(request_data): else: new_coast = PriceCoast(price_name_id=price.pk, research_id=service.pk, coast=coast) new_coast.save() + if not starts: + return {"ok": False, "result": [], "message": "Не найдены колонка 'Код по прайсу' "} return {"ok": True, "result": [], "message": ""}