www/profile_fermentation.php

Sat, 11 May 2019 23:13:40 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 11 May 2019 23:13:40 +0200
changeset 358
3be8c2278fd7
parent 217
318aab371497
child 689
499c4921a90f
permissions
-rw-r--r--

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');
page_header('Vergisting profielen', 'profile_fermentation');
?>

   <div id="jqxgrid"></div>
   <div style="margin-top: 30px;">
    <div id="cellbegineditevent"></div>
    <div style="margin-top: 10px;" id="cellendeditevent"></div>
   </div>

   <!-- Popup editor window. -->
   <div id="popupWindow">
    <div>Wijzig vergisting profiel.</div>
    <div style="overflow: hidden;">
     <table style="width: 100%;">
      <tr>
       <td align="right" style="vertical-align: top;">Profiel naam:</td>
       <td align="left" colspan="3" style="vertical-align: top;"><input id="name" /></td>
      </tr>
      <tr>
       <td align="right" style="vertical-align: top;">Begin laag &deg;C:</td>
       <td align="left"><div id="inittemp_lo"></div></td>
       <td align="right" style="vertical-align: top;">Begin hoog &deg;C:</td>
       <td align="left"><div id="inittemp_hi"></div></td>
      </tr>
      <tr>
       <td align="right" style="vertical-align: top;">Koelkast of bier:</td>
       <td align="left" colspan="3"><div id="fridgemode"></div></td>
      </tr>
      <tr>
       <td align="right" style="vertical-align: top;">Stappen:</td>
       <td align="left" colspan="3"><div id="grid"></div></td>
      </tr>
      <tr>
       <td style="padding-top: 40px;" align="right"><input type="button" id="Delete" value="Verwijder" /></td>
       <td align="right"></td>
       <td align="right"></td>
       <td style="padding-top: 40px;" align="left">
        <input style="margin-right: 5px;" type="button" id="Save" value="Sla op" />
        <input id="Cancel" type="button" value="Annuleer" />
       </td>
      </tr>
     </table>
    </div>
   </div>

<?php
confirm_delete();
page_footer();
?>

mercurial