Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed wrong calculation of assigned components #11617

Merged

Conversation

inietov
Copy link
Collaborator

@inietov inietov commented Aug 4, 2022

Description

Components remaining are calculating just the rows of relation (table) components_assets, but every record on that table have a field called assigned_qty that needs to be added so the calculation of remaining components is correct.

Fixes freshdesk 29961

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Test Configuration:

  • PHP version: 8.1
  • MySQL version: 8.0.23
  • Webserver version: nginx/1.19.8
  • OS version: Debian 10

Checklist:

@inietov inietov requested review from uberbrady and snipe August 4, 2022 13:03
@inietov inietov marked this pull request as draft August 4, 2022 14:00
@inietov inietov marked this pull request as ready for review August 4, 2022 14:21
@snipe snipe merged commit bc4032c into snipe:develop Aug 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants