Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
E
El-Captain Sports Management
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Administrator
  • El-Captain Sports Management
  • Repository

Switch branch/tag
  • el-captain-sports-management
  • app
  • Domain
  • Financial
  • Services
  • ExpenseService.php
Find file
BlameHistoryPermalink
  • Mahmoud Aglan's avatar
    Add branch persistence + expense cancellation with reversing entries · 04dcc7e4
    Mahmoud Aglan authored Aug 10, 2026
    Branch: saves preferred_branch_id to users table on switch, restores
    on next login/session so you stay on the branch you last picked.
    
    Expenses: adds status column (active/cancelled) with cancel button that
    creates a reversing double-entry transaction. Cancelled expenses remain
    visible but excluded from totals.
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    04dcc7e4
ExpenseService.php 9.16 KB
EditWeb IDE

Replace ExpenseService.php

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.