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:
Shubhankar45
2026-11-07 05:43:12 +00:00
parent b001e2d03c
commit 0d30c58bf0
98 changed files with 1878 additions and 573 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
"""Morning day plan → Area Manager approval → end-of-day report against it (rules P1-P5)."""
"""Morning day plan → Area Business Manager approval → end-of-day report against it (rules P1-P5)."""
from datetime import date
@@ -99,7 +99,7 @@ class TestEndOfDayNeedsAnApprovedPlan:
await _plan(client, auth, doctors, [], approve=False)
resp = await client.post(f"{API}/dcr", headers=auth["mr1"], json={"report_date": TODAY, "report_type": "ACTUAL"})
assert resp.status_code == 422
assert "approved by the Area Manager" in resp.json()["error"]["message"]
assert "approved by the Area Business Manager" in resp.json()["error"]["message"]
async def test_once_approved_it_is_linked_to_the_plan(self, client, auth, org):
doctors, _ = await _create_masters(client, auth, org, n_doctors=1, n_chemists=1)