Merge remote-tracking branch 'origin/master'
# Conflicts: # svc/queries/product_performance_sql.go # ui/src/pages/ProductPerformanceProfitability.vue
This commit is contained in:
@@ -3523,6 +3523,7 @@ Source AS (
|
||||
COALESCE(margin_index_90d,0) AS margin_index_90d,
|
||||
COALESCE(performance_score,0) AS performance_score,
|
||||
COALESCE(performance_bucket,'') AS performance_bucket,
|
||||
COALESCE(recommendation,'') AS recommendation,
|
||||
COALESCE(stock_qty,0) * COALESCE(cost_price_usd,0) AS idle_cost_usd
|
||||
FROM mk_product_performance_kpi_daily
|
||||
WHERE kpi_date = (SELECT MAX(kpi_date) FROM mk_product_performance_kpi_daily)
|
||||
|
||||
Reference in New Issue
Block a user