• 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
..
Activities Loading commit data...
Admin Loading commit data...
Assignments Loading commit data...
Attendance Loading commit data...
Audit Loading commit data...
Auth Loading commit data...
Branches Loading commit data...
CashSessions Loading commit data...
Components Loading commit data...
Concerns Loading commit data...
Dashboard Loading commit data...
Documents Loading commit data...
Enrollments Loading commit data...
Evaluations Loading commit data...
Events Loading commit data...
Facilities Loading commit data...
Financial Loading commit data...
Groups Loading commit data...
Guardian Loading commit data...
HR Loading commit data...
Inventory Loading commit data...
Invoices Loading commit data...
Messaging Loading commit data...
Notifications Loading commit data...
POS Loading commit data...
Parent Loading commit data...
Participants Loading commit data...
People Loading commit data...
Pricing Loading commit data...
Profile Loading commit data...
Programs Loading commit data...
Public Loading commit data...
Receptionist Loading commit data...
Reports Loading commit data...
Roles Loading commit data...
Schedule Loading commit data...
Settings Loading commit data...
Trainer Loading commit data...
Training Loading commit data...
Users Loading commit data...
Wallets Loading commit data...
Website Loading commit data...
WhatsApp Loading commit data...
Wizards Loading commit data...
BranchSwitcher.php Loading commit data...
Dashboard.php Loading commit data...
GlobalSearch.php Loading commit data...