Panly API docsstaging

Screens / Stock count

Stock count

End-of-day count. Submitting creates stock audits; any variance becomes an audit movement.

App routes
/stock/count
Access
stock.manage
Screen code
lib/screens/stock/stock_count_page.dart
lib/screens/stock/stock_count_controller.dart
Source
elmermj/panly-app @ pre-staging-test (72aaffd)

API calls (2)

CallWhy the screen makes itWhere in the app code
GET /v1/ingredients
List ingredients
Ingredients to count (pages) lib/screens/stock/stock_count_controller.dart:55
lib/data/stock/stock_remote.dart:39
POST /v1/stock-audits
Submit end-of-day count
Submit the counts lib/screens/stock/stock_count_controller.dart:111
lib/data/stock/stock_remote.dart:119

Each call links to its operation in the API reference. Code locations are file:line in panly-app at 72aaffd, listed from the screen down to the line that sends the request.