You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"id": 1,"name": "material_name","brand": "material brand","kind": "material kind","unit": "material unit","stocks": [{"date": "2024-01-10","amount": 1000},// sum of stock materials amount grouped by day{"date": "2024-02-10","amount": 1000},],"usage": [{"date": "2024-01-12","amount": 100},// sum of used materials amount grouped by day{"date": "2024-01-14","amount": 50},]}
Aggregation should be done in the QuerySet.
Add test to cover as many scenarios as possible for querying the stats
The text was updated successfully, but these errors were encountered:
There is a need to show a table which shows materials income and usage per day. We need the endpoints for listing and retrieving this data.
Response structure
Aggregation should be done in the QuerySet.
Add test to cover as many scenarios as possible for querying the stats
The text was updated successfully, but these errors were encountered: