1609 |
1609 |
1610 if ($recipe->PH_ADJUSTED) |
1610 if ($recipe->PH_ADJUSTED) |
1611 $sql .= "', brew_mash_ph='" . floatval($recipe->PH_ADJUSTED); |
1611 $sql .= "', brew_mash_ph='" . floatval($recipe->PH_ADJUSTED); |
1612 if (floatval($recipe->SG_END_MASH) != 1.0) |
1612 if (floatval($recipe->SG_END_MASH) != 1.0) |
1613 $sql .= "', brew_mash_sg='" . floatval($recipe->SG_END_MASH); |
1613 $sql .= "', brew_mash_sg='" . floatval($recipe->SG_END_MASH); |
1614 if ($recipe->MASH->SPARGE_TEMP) |
|
1615 $sql .= "', brew_sparge_temperature='" . floatval($recipe->MASH->SPARGE_TEMP); |
|
1616 if ($recipe->MASH->PH) |
1614 if ($recipe->MASH->PH) |
1617 $sql .= "', brew_sparge_ph='" . floatval($recipe->MASH->PH); |
1615 $sql .= "', brew_sparge_ph='" . floatval($recipe->MASH->PH); |
1618 if ($recipe->VOLUME_HLT) |
1616 if ($recipe->VOLUME_HLT) |
1619 $sql .= "', brew_sparge_volume='" . floatval($recipe->VOLUME_HLT); |
1617 $sql .= "', sparge_volume='" . floatval($recipe->VOLUME_HLT); |
1620 if ($recipe->VOLUME_BEFORE_BOIL) |
1618 if ($recipe->VOLUME_BEFORE_BOIL) |
1621 $sql .= "', brew_preboil_volume='" . sprintf("%.5f",floatval($recipe->VOLUME_BEFORE_BOIL) * 1.04); |
1619 $sql .= "', brew_preboil_volume='" . sprintf("%.5f",floatval($recipe->VOLUME_BEFORE_BOIL) * 1.04); |
1622 if (floatval($recipe->OG_BEFORE_BOIL) != 1.0) |
1620 if (floatval($recipe->OG_BEFORE_BOIL) != 1.0) |
1623 $sql .= "', brew_preboil_sg='" . floatval($recipe->OG_BEFORE_BOIL); |
1621 $sql .= "', brew_preboil_sg='" . floatval($recipe->OG_BEFORE_BOIL); |
1624 if ($recipe->PH_BEFORE_BOIL) |
1622 if ($recipe->PH_BEFORE_BOIL) |