Skip to content

Back cdr : Endpoint to get total of validated payments - #1028

Open
Bombefire wants to merge 4 commits into
mainfrom
total-purchase
Open

Back cdr : Endpoint to get total of validated payments#1028
Bombefire wants to merge 4 commits into
mainfrom
total-purchase

Conversation

@Bombefire

Copy link
Copy Markdown
Contributor

Description

Summary

Adding the endpoint for Enceladus to have the total payment done in the CDR and have the total of purchase that have been validated by the sellers.

...

Issues/PR dependencies

A futur PR in Enceladus will come to make use of this endepoint

Issues to be resolved

Required PRs

Changes Made

  • ...
  • ...

Additional Notes

Classification

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 🔨 Refactor (non-breaking change that neither fixes a bug nor adds a feature)
  • 🔧 Infra CI/CD (changes to configs of workflows)
  • 💥 BREAKING CHANGE (fix or feature that require a new minimal version of the front-end)
  • 😶‍🌫️ No impact for the end-users

Impact & Scope

  • Core functionality changes
  • Single module changes
  • Multiple modules changes
  • Database migrations required
  • Other: ...

Testing

  • 1. Tested this locally
  • 2. Added/modified tests that pass the CI (or tested in a downstream fork)
  • 3. Tested in a deployed pre-prod
  • 0. Untestable (exceptionally), will be tested in prod directly

Documentation

  • Updated the docs accordingly :
  • " Docstrings
  • # Inline comments
  • No documentation needed

@codecov

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 44.44444% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 50.71%. Comparing base (2afec59) to head (4de76e0).

Files with missing lines Patch % Lines
app/modules/cdr/endpoints_cdr.py 40.00% 6 Missing ⚠️
app/modules/cdr/cruds_cdr.py 42.85% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1028       +/-   ##
===========================================
- Coverage   84.61%   50.71%   -33.91%     
===========================================
  Files         214      214               
  Lines       15523    15540       +17     
===========================================
- Hits        13135     7881     -5254     
- Misses       2388     7659     +5271     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant