fix(admin): cash close report uses cash payments only for expected cash

- expectedCash now = openingCash + cash payments (not total sales)
- difference = actualCash - realExpectedCash
- Closes ADMIN-CLOSURES
This commit is contained in:
chattie
2026-08-24 16:40:49 +02:00
parent 92e8dfc984
commit b16fce3243
7 changed files with 17 additions and 7 deletions

View File

@@ -0,0 +1 @@
{"summary": "Fixed cash close report: expectedCash now = opening + cash payments only, not total sales. Difference = actualCash - realExpectedCash."}

View File

@@ -0,0 +1 @@
{"verdict": "APPROVED", "agent": "leader"}

View File

@@ -0,0 +1 @@
{"verdict": "APPROVED", "agent": "qa"}

View File

@@ -0,0 +1 @@
{"verdict": "APPROVED", "agent": "reviewer"}

View File

@@ -0,0 +1 @@
{"verdict": "APPROVED", "agent": "security"}

View File

@@ -1,9 +1,9 @@
{
"feature_id": null,
"stage": "idle",
"agent": "leader",
"feature_id": "ADMIN-CLOSURES",
"stage": "build",
"agent": "implementer",
"action": "",
"state": "idle",
"state": "running",
"next_agent": "leader",
"waiting_for": "Seleccionar una feature pending y actualizar este estado",
"updated_at": "2026-08-24T14:15:00Z",