Skip to content

Return price of ingredients #170

@JulesGresset

Description

@JulesGresset

Description
In the DB, in the food table, in the ingredients array, a field 'suppPrice' should be added containing the price of adding this ingredients as a supplement (the +1 in the screenshot)

Image

On the route GET /food/{id}?useCase=POS, the price of the supplement of the ingredients should be included in the returned object.

Acceptance Criteria
Define the conditions under which this feature will be considered complete:

  • Criteria 1: The price of the ingredients of a food is added to the response.
  • Criteria 2: the ingredients array of a food contains a suppPrice field

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions