www/prod_divide.php

Wed, 14 Jul 2021 20:51:45 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 14 Jul 2021 20:51:45 +0200
changeset 772
f9d266eb0ec6
parent 499
4f14a18b581e
permissions
-rw-r--r--

In product editor calculate fermentables before the first IBU calculation. In recipe editor changed to the new water calculations like in the product editor.

498
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
1 <?php
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
2 require_once($_SERVER['DOCUMENT_ROOT'].'/includes/global.inc.php');
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
3 page_header('Product splitsen', 'prod_divide');
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
4 ?>
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
5
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
6 <div id="MainPanel">
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
7 <div style="overflow: hidden;" id='divide_table'>
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
8 <table style='width: 100%; padding: 10px;'>
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
9 <tr><th colspan="4">Splits product</th></tr>
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
10 <tr><td colspan="4">&nbsp;</td></tr>
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
11 <tr>
499
4f14a18b581e Finished the logic in the split batch screen
Michiel Broek <mbroek@mbse.eu>
parents: 498
diff changeset
12 <td align="right" style="vertical-align: top;">Product naam:</td>
498
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
13 <td align="left" style="vertical-align: top; padding: 3px;"><input id="name" readonly /></td>
499
4f14a18b581e Finished the logic in the split batch screen
Michiel Broek <mbroek@mbse.eu>
parents: 498
diff changeset
14 <td align="right" style="vertical-align: top;">Huidige brouw fase:</td>
498
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
15 <td align="left" style="vertical-align: top; padding: 3px;"><input id="stage" readonly /></td>
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
16 </tr>
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
17 <tr>
499
4f14a18b581e Finished the logic in the split batch screen
Michiel Broek <mbroek@mbse.eu>
parents: 498
diff changeset
18 <td align="right" style="vertical-align: top;">Product code:</td>
498
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
19 <td align="left" style="vertical-align: top; padding: 3px;"><input id="code" readonly /></td>
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
20 <td align="right" style="vertical-align: top;">Splits moment:</td>
499
4f14a18b581e Finished the logic in the split batch screen
Michiel Broek <mbroek@mbse.eu>
parents: 498
diff changeset
21 <td align="left" style="vertical-align: top; padding: 3px;"><div id='divide_type'></div></td>
4f14a18b581e Finished the logic in the split batch screen
Michiel Broek <mbroek@mbse.eu>
parents: 498
diff changeset
22 </tr>
4f14a18b581e Finished the logic in the split batch screen
Michiel Broek <mbroek@mbse.eu>
parents: 498
diff changeset
23 <tr>
4f14a18b581e Finished the logic in the split batch screen
Michiel Broek <mbroek@mbse.eu>
parents: 498
diff changeset
24 <td align="right" style="vertical-align: top;">Beschikbaar L:</td>
4f14a18b581e Finished the logic in the split batch screen
Michiel Broek <mbroek@mbse.eu>
parents: 498
diff changeset
25 <td align="left" style="vertical-align: top; padding: 3px;"><div id="available"></div></td>
4f14a18b581e Finished the logic in the split batch screen
Michiel Broek <mbroek@mbse.eu>
parents: 498
diff changeset
26 <td align="right" style="vertical-align: top;">Blijft over L:</td>
4f14a18b581e Finished the logic in the split batch screen
Michiel Broek <mbroek@mbse.eu>
parents: 498
diff changeset
27 <td align="left" style="vertical-align: top; padding: 3px;"><div id='leftover'></div></td>
498
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
28 </tr>
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
29 <tr><td colspan="4">&nbsp;</td></tr>
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
30 <tr>
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
31 <td align="center" colspan="4"><div id="splitGrid"></div></td>
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
32 </tr>
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
33 </table>
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
34 <div style="float: right; margin-top: 10px; margin-bottom: 5px;">
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
35 <input style="margin-right: 100px;" type="button" id="Save" value="Save" />
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
36 <input style="margin-right: 520px;" type="button" id="Cancel" value="Cancel" />
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
37 </div>
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
38 </div>
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
39 </div>
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
40
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
41 <?php
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
42 page_footer();
10c6eeee60ce Initial design of the divide batch screen.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
43 ?>

mercurial