Panly API docsstaging

Screens / Recipes

Recipes

Paged recipe list with search. The page opens with `items.view` (a cashier's role has it, so the route opens read-only); creating and editing need `items.manage`. Back on the tab (PAN-59) the data shows at once and refreshes quietly. Owners and managers (`costs.view`) see a cost per item column from recipe_cost (PAN-142, PAN-136); "—" when a recipe has no cost yet.

App routes
/recipes
Access
items.view
Screen code
lib/screens/recipes/recipes_page.dart
lib/screens/recipes/recipes_controller.dart
lib/screens/recipes/widgets/recipe_cost_cell.dart
Source
elmermj/panly-app @ pre-staging-test (72aaffd)

API calls (1)

CallWhy the screen makes itWhere in the app code
GET /v1/recipes
List recipes
One page of recipes (limit, q, cursor) lib/screens/recipes/recipes_controller.dart:76
lib/data/repositories/recipe_repository.dart:19

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.