Skip to content

fix: calculate weighted inventory prices#1

Open
therampagerado wants to merge 1 commit into32-weighted-average-pricefrom
codex/verify-average-product-price-calculation
Open

fix: calculate weighted inventory prices#1
therampagerado wants to merge 1 commit into32-weighted-average-pricefrom
codex/verify-average-product-price-calculation

Conversation

@therampagerado
Copy link
Owner

Summary

  • compute weighted combination wholesale price per product
  • use stock quantities to calculate overall weighted average price

Testing

  • php -l stats/statsstock.php

https://chatgpt.com/codex/tasks/task_e_68b5873648c8832dafe1bfd56a38116a

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.

1 participant