Server backup 2026-11-07 of uncommitted work in projects/pharma-web-celtic
Snapshot of the working tree on srv1071960 (branch main), taken during server cleanup. .env files, node_modules, builds, logs and media were excluded.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
"""One person's whole picture for the General Manager and Admin: who they are, where they
|
||||
"""One person's whole picture for the Assistant General Manager and Admin: who they are, where they
|
||||
work, who they report to, their doctors and chemists, their reports and their company forms."""
|
||||
|
||||
import uuid
|
||||
@@ -139,7 +139,7 @@ async def user_overview(db: AsyncSession, actor: User, user_id: uuid.UUID) -> di
|
||||
data["reports"]["recent"] = [to_list_item(r).model_dump(mode="json") for r in recent]
|
||||
data["forms"] = await _forms(db, user)
|
||||
|
||||
elif user.role == Role.AM:
|
||||
elif user.role == Role.ABM:
|
||||
managed = (
|
||||
await db.execute(
|
||||
select(Headquarters)
|
||||
|
||||
Reference in New Issue
Block a user