Fri, 30 Nov 2018 17:40:39 +0100
Removed all calculations from the equipemnts database script and added missing fields. Added missing fields to the inventory equipemnts edit screen. Added conditional batch size calculation to the equipments editor. Added specific heat settings to the equipments editor.
<?php require_once($_SERVER['DOCUMENT_ROOT'].'/includes/global.inc.php'); page_header('Nieuw product', 'prod_new'); ?> <div id='jqxTabs'> <ul> <li style="margin-left: 30px;">Product basis</li> <li>Apparatuur</li> <li>Overzicht</li> </ul> <div class="section"> <div style="overflow: hidden;"> <table> <tr> <td style="vertical-align: top; float: right; padding: 3px;">Recept naam:</td> <td align="left" colspan="3" style="vertical-align: top; padding: 3px;"><input id="name" /></td> </tr> <tr> <td style="vertical-align: top; float: right; padding: 3px;">Opmerkingen:</td> <td colspan="3" style="padding: 3px;"><textarea id="notes"></textarea></td> </tr> <tr> <td style="vertical-align: top; float: right; padding: 3px;">Brouw type:</td> <td align="left" style="padding: 3px;"><div id="type"></div></td> <td style="vertical-align: top; float: right; padding: 3px;">Start SG:</td> <td style="padding: 3px;"><div style="float: left;" id="est_og"></div></td> </tr> <tr> <td style="vertical-align: top; float: right; padding: 3px;">Kooktijd minuten:</td> <td style="padding: 3px;"><div id="boil_time"></div></td> <td style="vertical-align: top; float: right; padding: 3px;">Brouwzaal rendement:</td> <td style="padding: 3px;"><div id="efficiency"></div></td> </tr> </table> </div> <div id="hintBase" class="hint"> </div> <div id="baseButtonsWrapper"> <input type="button" value="Volgende" class="nextButton" id="nextButtonBase" /> </div> </div> <div class="section"> <div style="overflow: hidden;"> <table> <tr> <td align="right" style="vertical-align: top;">Kies stijl:</td> <td align="left" colspan="3"><div id="styleSelect">Stylenlijst</div></td> </tr> </table> </div> <div class="hint" id="hintStyle"> </div> <div id="styleButtonsWrapper"> <input type="button" value="Terug" class="backButton" id="backButtonStyle" /> <input type="button" value="Volgende" class="nextButton" id="nextButtonStyle" /> </div> </div> <div class="section"> <div style="overflow: hidden; margin: 25px;"><br> <p>Alle nodige gegevens zijn compleet.</p> <p> Zodra je de "Volgende" toets gebruikt zal een nieuw recept aangemaakt worden en<br> wordt het recept in de database gezet. Hierna kun je dat recept bewerken.</p> </div> <div id="completedButtonsWrapper"> <input type="button" value="Terug" id="backButtonCompleted" class="backButton" /> <input type="button" value="Volgende" class="nextButton" id="nextButtonCompleted" /> </div> </div> </div> <?php page_footer(); ?>