mirror of
https://github.com/grocy/grocy.git
synced 2025-10-15 09:46:03 +00:00
Value information (#1045)
* viewjs stockoverview: add total value to stock overview * view stockoverview.blade: add Value column * refresh stockOverview value column * Removed the total units info * Properly format the total stock value number * Added new localization strings * Resolved merge conflict Co-authored-by: Bernd Bestel <bernd@berrnd.de>
This commit is contained in:
@@ -6,6 +6,7 @@ SELECT
|
||||
p.tare_weight AS tare_weight,
|
||||
p.enable_tare_weight_handling AS enable_tare_weight_handling,
|
||||
sc.amount AS amount,
|
||||
sc.value as value,
|
||||
sc.product_id AS product_id,
|
||||
sc.best_before_date AS best_before_date,
|
||||
EXISTS(SELECT id FROM stock_missing_products_including_opened WHERE id = sc.product_id) AS product_missing,
|
||||
@@ -40,6 +41,7 @@ SELECT
|
||||
p.tare_weight AS tare_weight,
|
||||
p.enable_tare_weight_handling AS enable_tare_weight_handling,
|
||||
sc.amount AS amount,
|
||||
sc.value as value,
|
||||
sc.product_id AS product_id,
|
||||
sc.best_before_date AS best_before_date,
|
||||
EXISTS(SELECT id FROM stock_missing_products_including_opened WHERE id = sc.product_id) AS product_missing,
|
||||
|
Reference in New Issue
Block a user