• Claude's avatar
    Scope financial overview expenses and P&L to the active branch · 944c5001
    Claude authored
    The financial overview filtered revenue by branch but not expenses, so
    every branch showed the same expense figure. The "مدفوعات أخرى" line was
    academy-wide outbound payments — 32,510 EGP of customer refunds issued
    this month, all belonging to Zayed — displayed identically under all 7
    branches. Purchase orders had the same problem, and in the 6-month P&L
    chart both income and outbound were unfiltered.
    
    Also: PaymentService::refund() created the outbound payment without
    copying branch_id from the payment being refunded, so refunds taken
    through that path landed in no branch at all and were invisible in every
    branch view. RefundService already did this correctly.
    Co-Authored-By: 's avatarClaude Opus 5 <noreply@anthropic.com>
    944c5001
Name
Last commit
Last update
Screenshots Loading commit data...
app Loading commit data...
bootstrap Loading commit data...
config Loading commit data...
database Loading commit data...
docker Loading commit data...
docs Loading commit data...
docs-site Loading commit data...
gap-filling-plans Loading commit data...
marketing-site Loading commit data...
plans Loading commit data...
public Loading commit data...
reference/oc-sport Loading commit data...
resources Loading commit data...
routes Loading commit data...
scripts Loading commit data...
storage Loading commit data...
tests Loading commit data...
.dockerignore Loading commit data...
.editorconfig Loading commit data...
.env.example Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.npmrc Loading commit data...
Beanding Guide.txt Loading commit data...
CLAUDE.md Loading commit data...
Dockerfile Loading commit data...
README.md Loading commit data...
artisan Loading commit data...
captain-definition Loading commit data...
composer.json Loading commit data...
composer.lock Loading commit data...
deploy.sh Loading commit data...
elcaptain-sportsonly-db.md Loading commit data...
one-click-app.yml Loading commit data...
package-lock.json Loading commit data...
package.json Loading commit data...
phpunit.xml Loading commit data...
system info.txt Loading commit data...
vite.config.js Loading commit data...
نادى الشيخ زايد كشف بيانات اللاعبين (2).html Loading commit data...