v1.4 - Login fixes, etc
This commit is contained in:
@@ -224,6 +224,8 @@ def calculate_product_cost(db: Session, product_id: int, overrides: dict | None
|
||||
return {
|
||||
"product_id": product.id,
|
||||
"product_name": product.name,
|
||||
"client_name": product.client_name,
|
||||
"mix_name": product.mix.name if product.mix else "",
|
||||
"cleaned_product_cost": round(cleaned_product_cost, 4),
|
||||
"grading_cost": round(grading_cost, 4),
|
||||
"bagging_cost": round(bagging_cost, 4),
|
||||
|
||||
Reference in New Issue
Block a user