• Stefy Lanza (nextime / spora )'s avatar
    Add accumulated_shortfall and cap_percentage to reports sync · 99ecea2f
    Stefy Lanza (nextime / spora ) authored
    - Add accumulated_shortfall field to ExtractionStats and MatchReport models
    - Add cap_percentage field to ExtractionStats and MatchReport models
    - Update API sync endpoint to accept and store accumulated_shortfall and cap_percentage for each match
    - Update reports page to show totals at the last match of selected period instead of sync timestamp
    - Update client report detail to display accumulated_shortfall and cap_percentage
    - Add comprehensive test script for accumulated_shortfall and cap_percentage implementation
    - Update templates to display cap_percentage in match lists
    
    This allows tracking the progression of the cap redistribution balance for every client
    over time, showing the actual values at the moment of each match extraction.
    99ecea2f
routes.py 105 KB