• DevPilot's avatar
    feat(accounting): open any trial-balance account and read its history newest first · 1d1ec8ae
    DevPilot authored
    The trial balance showed a number with no way to ask where it came from. Every
    account row is now a link into that account's ledger, carrying the same date
    range and the same cost-centre/branch filters — so the movements you land on are
    exactly the ones that produced the figure you clicked.
    
    The ledger itself now reads newest first. The running balance is still
    accumulated in date order, because "the balance after this entry" only means
    anything with the earlier entries already in; the list is reversed after that
    accumulation, so the order flips and every balance still says what it says. The
    opening-balance row moved to the bottom accordingly — it is the oldest line on
    a newest-first list.
    
    Each entry number links to the full journal entry, so a line in one account
    opens the whole قيد with its other side. The reference type is shown under the
    reference number, which is usually what tells you which operation raised it.
    
    Verified against 779 movements on the cash account: order is newest first, the
    running balance on the top row equals the closing balance, and both screens
    render with 165 clickable rows and 779 entry links.
    Co-Authored-By: 's avatarClaude Opus 5 <noreply@anthropic.com>
    1d1ec8ae
Name
Last commit
Last update
.claude Loading commit data...
Another ERP that we may want to cheat from Loading commit data...
HR requests Loading commit data...
Proposal Loading commit data...
Server Connection Data Loading commit data...
app Loading commit data...
config Loading commit data...
cron Loading commit data...
database Loading commit data...
docker Loading commit data...
docs Loading commit data...
public Loading commit data...
support_tickets_downloads/support_screenshots Loading commit data...
tests Loading commit data...
tools Loading commit data...
.dockerignore Loading commit data...
.editorconfig Loading commit data...
.env Loading commit data...
.env.example Loading commit data...
.gitignore Loading commit data...
.php-cs-fixer.php Loading commit data...
BalanceSheet.html Loading commit data...
CLAUDE.md Loading commit data...
Dockerfile Loading commit data...
Makefile Loading commit data...
SYSTEM_MAP.md Loading commit data...
Sports Module System Design DETAILED.md Loading commit data...
UPGRADE_PLAN.md Loading commit data...
captain-definition Loading commit data...
cli.php Loading commit data...
composer.json Loading commit data...
composer.lock Loading commit data...
interesting_features.md Loading commit data...
phpstan.neon Loading commit data...
phpunit.xml Loading commit data...
sports activity stuff .txt Loading commit data...
sports-activity-alignment-plan.md Loading commit data...
sports-activity-smart-filtering-plan.md Loading commit data...
trial_balance_2026-01-01_to_2026-05-10.csv Loading commit data...