Skip to content

OBPIH-7241 Create table component for inventory transactions report (improvement)#5275

Merged
awalkowiak merged 6 commits intodevelopfrom
OBPIH-7241-6
May 27, 2025
Merged

OBPIH-7241 Create table component for inventory transactions report (improvement)#5275
awalkowiak merged 6 commits intodevelopfrom
OBPIH-7241-6

Conversation

@SebastianLib
Copy link
Collaborator

✨ Description of Change

Link to GitHub issue or Jira ticket:

Description:


📷 Screenshots & Recordings (optional)

@github-actions github-actions bot added the domain: frontend Changes or discussions relating to the frontend UI label May 23, 2025
@codecov
Copy link

codecov bot commented May 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 8.35%. Comparing base (91765a6) to head (a1bd2ca).
⚠️ Report is 122 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff              @@
##             develop   #5275      +/-   ##
============================================
+ Coverage       8.33%   8.35%   +0.01%     
- Complexity       977     993      +16     
============================================
  Files            645     646       +1     
  Lines          43368   43397      +29     
  Branches       10531   10535       +4     
============================================
+ Hits            3613    3624      +11     
- Misses         39204   39212       +8     
- Partials         551     561      +10     

☔ View full report in Codecov by Sentry.
📢 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.

Comment on lines 271 to 280
let percentageValue = 100;
if (quantityOnHand <= 0 && quantityCounted === 0) {
percentageValue = 0;
}
if (quantityOnHand > 0) {
percentageValue = Math.round((Math.abs(quantityVariance) / Math.abs(quantityOnHand)) * 100);
}
if (quantityOnHand <= 0 && quantityCounted !== 0) {
percentageValue = 100;
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a comments describing the behaviour here

@SebastianLib SebastianLib requested a review from alannadolny May 26, 2025 15:17
@awalkowiak awalkowiak merged commit 249115a into develop May 27, 2025
8 checks passed
@awalkowiak awalkowiak deleted the OBPIH-7241-6 branch May 27, 2025 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: frontend Changes or discussions relating to the frontend UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants