no-mistakes(review): Fix F01/F02/F05: technician name, duplicate timeline, FM dashboard property counts

This commit is contained in:
root
2026-07-23 19:13:10 +00:00
parent 7fab1ede51
commit 5560496653
4 changed files with 14 additions and 12 deletions
+4
View File
@@ -70,6 +70,10 @@ class Ticket(Base):
photos = relationship("TicketPhoto", back_populates="ticket")
escalations = relationship("Escalation", back_populates="ticket")
@property
def assigned_technician_name(self) -> str | None:
return self.assigned_technician.full_name if self.assigned_technician else None
def __repr__(self) -> str:
return f"<Ticket {self.ticket_number} ({self.status})>"