Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.

Removed default water setting from the inventory_waters table. Added global setup record with default settings and the default water selection. Added a setup screen.

Added javascript formulas for color calculations. Added IBU total calculation. Better IBI calculation for the hop entries. Blocked selection of IBU calculation for Garetz, Mosher and Noonan. Better sg calculation in the recipe print.

Don't count sugar for preboil gravity.

Renamed estimate_og() to estimate_sg() formula. Updated the formulas in javascript. The calcFermenter() function now only calculates the gravities. The colors still need to be added. When a recept is loaded in the editor, all tabs are selected once to load all subgrid data. Ugly and slow but it at least it works.

Boil_size volume toegevoegd.

Include boil_size field in the recipes table. Calculate pre-boil SG. Use that in the IBU calculation.

Added IBU and cost totals.

Added Rager and Daniels IBU calculations to javascript formula.

Morey color method more precise.

IBU calculation moved to formulas.php and added Daniels and Rager methods.

Missing Water agent costs from Brouwhulp import are now added from the imported miscs database. The printed recipe report now calculates the beer color from the ingredients. Also set during recipes import. This will later allow to set the color method for each recipe individually.

(0) -12 +12 +100 +300 tip

mercurial