feat: UI/UX cleanup V1 with header, import requisites, and status fixes
This commit is contained in:
@@ -61,7 +61,7 @@ def _scope_label(agreement, docs):
|
||||
if agreement.boq_document_id is None:
|
||||
return "Весь проект"
|
||||
doc = next((doc for doc in docs if doc.id == agreement.boq_document_id), None)
|
||||
return doc.name if doc else f"Ведомость #{agreement.boq_document_id}"
|
||||
return doc.display_name if doc else f"Ведомость #{agreement.boq_document_id}"
|
||||
|
||||
|
||||
def _parse_scope(db, project_id, scope):
|
||||
|
||||
Reference in New Issue
Block a user