dominicberinato / cibo_system

0 stars 0 forks source link

Calculating prices in the system. #84

Open zacck-zz opened 7 years ago

zacck-zz commented 7 years ago

Expected behaviour and actual behaviour. The system should generate a number of prices.

  1. Batch Cost
  2. Recipe Cost
  3. Recipe Suggested Price
  4. Recipe Cost Prices
  5. Cocktail Cost & Sale prices
  6. Menu Suggested Selling Price
  7. Menu Cost
  8. Menu Selling Price

@vswart @dominicberinato I need the formulas used to calculate these costs in order to automate their generation in the system. In the meanwhile these will be left as freetype fields.

Steps to reproduce the problem. Open System Open Stock Tab Enter Ingredient, Batch, Menu , Beverage, Cocktail All the suggested prices are freetype entries the system should be autogenerating these

Specifications like the version of the project, operating system, or hardware. Version 0.0.3

zacck-zz commented 7 years ago

@vswart Does this issue make sense now? These are the formulas I need to enable the system to generate these prices cc @dominicberinato

zacck-zz commented 7 years ago

from @dominicberinato Ingredients cost price = purchase price

Batch cost price = (ingredient 1 cost of unit x total needed for batch) + (ingredient 2 cost of unit x total needed for batch) etc.

E.g. cake = 100ml of milk (R30 per litre) + 3 eggs (R50 per 12) + 50g of sugar (R60 per kilogram).

Therefore cake = ((R30/1000ml)x100)+((R50/12)x3)+((R60/1000)x50

Recipe cost price = same as a batch but batches will function like ingredients

Menu item sales price = set by user