mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Feature: Stock Purchase Metrics (#2135)
* Feature: Stock Purchase Metrics * chart update * Refactor to chartjs * More suggestion edits - locale in javascript - global translations - commit migrations sql file * Rename 0215.sql to 0216.sql Fixed merge conflict * Fixed merge conflict * Applied code style * Added missing demo data translations * Removed unused package "canvasjs" * Don't include daterangepicker globally when only needed on a single page / fixed view section imports * Rename this to "Spendings" / name it more generically "Stock reports" * Reuse the existing product_price_history view * Final cleanup * Whitespace fix --------- Co-authored-by: Travis Raup <travis.raup@platform.sh> Co-authored-by: Bernd Bestel <bernd@berrnd.de>
This commit is contained in:
@@ -63,6 +63,8 @@ $app->group('', function (RouteCollectorProxy $group) {
|
||||
$group->get('/stockentry/{entryId}/grocycode', '\Grocy\Controllers\StockController:StockEntryGrocycodeImage');
|
||||
$group->get('/stockentry/{entryId}/label', '\Grocy\Controllers\StockController:StockEntryGrocycodeLabel');
|
||||
$group->get('/quantityunitconversionsresolved', '\Grocy\Controllers\StockController:QuantityUnitConversionsResolved');
|
||||
|
||||
$group->get('/stockreports/spendings', '\Grocy\Controllers\StockReportsController:Spendings');
|
||||
}
|
||||
|
||||
// Stock price tracking
|
||||
|
Reference in New Issue
Block a user