Sat, 11 May 2019 23:13:40 +0200
Added flags for each ingredient group for the supplies state. On the main screen show the state of the supplies if the product stage is not yet packaged. Calculate the state of the supplies for fermentables, hops, yeasts and miscs. In the grids don't show the inventory values after they are used and reduced. On the fermentables tab show the weight of the grains to mash.
<?php require_once($_SERVER['DOCUMENT_ROOT'].'/includes/global.inc.php'); if ($my_select == "fermentables" ) page_header('Vergistbare ingrediënten import', 'import_ingredients'); else if ($my_select == "hops" ) page_header('Hoppen import', 'import_ingredients'); else if ($my_select == "miscs" ) page_header('Diverse ingrediënten import', 'import_ingredients'); else if ($my_select == "yeasts") page_header('Gisten import', 'import_ingredients'); else if ($my_select == "styles") page_header('Bierstijlen import', 'import_ingredients'); else page_header('Bummer', ''); ?> <div id="MainPanel"> <div style="float: left; margin-left: 240px; margin-top: 50px;"> <?php if ($my_select == "fermentables") echo '<div align="center">Vergistbare ingrediënten xml bestand upload.</div><br>' . PHP_EOL; else if ($my_select == "hops") echo '<div align="center">Hoppen xml bestand upload.</div><br>' . PHP_EOL; else if ($my_select == "miscs") echo '<div align="center">Diverse ingrediënten xml bestand upload.</div><br>' . PHP_EOL; else if ($my_select == "yeasts") echo '<div align="center">Gisten xml bestand upload.</div><br>' . PHP_EOL; else if ($my_select == "styles") echo '<div align="center">Bierstijlen xml bestand upload.</div><br>' . PHP_EOL; ?> <div id="eventsPanel"> </div> <div style="float: left; margin-top: 10px;" id="jqxFileUpload"> </div> </div> </div> <?php page_footer(); ?>