Inventaire
This commit is contained in:
parent
83d8b30207
commit
0abef6ab05
|
@ -64,6 +64,10 @@ export class RecipeService {
|
|||
return this.api.put<void>('/recipe/public', body)
|
||||
}
|
||||
|
||||
delete(id: number): Observable<void> {
|
||||
return this.api.delete<void>(`/recipe/${id}`)
|
||||
}
|
||||
|
||||
deductMixFromQuantities(mixId: number, originalQuantity: number, currentQuantity: number): Observable<MaterialQuantity[]> {
|
||||
return this.deductMix(mixId, currentQuantity / originalQuantity)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue