Tue, 31 Aug 2021 20:48:37 +0200
Split batch, adjust mash step volume. In the duplicated log_brew handle the missing values. In save product, round the mash step sg to 4 decimals. In prod_edit, ingredients are stored as strings, not arrays. This triggered a memory corruption that only happened in rare circumstances. Don't fix mash step fields in the javascript, it is already done during load from the database. Calculation of the mash volume is rounded to 6 decimals. Enter mash step Brix/Plato value, the SG result is rounded to 4 decimals.
11 | 1 | <?php |
2 | require_once($_SERVER['DOCUMENT_ROOT'].'/includes/global.inc.php'); | |
3 | page_header('Leveranciers', 'inv_suppliers'); | |
4 | ?> | |
5 | ||
6 | <div id="jqxgrid"></div> | |
7 | <div style="margin-top: 30px;"> | |
8 | <div id="cellbegineditevent"></div> | |
9 | <div style="margin-top: 10px;" id="cellendeditevent"></div> | |
10 | </div> | |
11 | ||
12 | <!-- Popup editor window. --> | |
13 | <div id="popupWindow"> | |
14 | <div>Wijzig leverancier.</div> | |
15 | <div style="overflow: hidden;"> | |
208
578c78abf058
Adjusted inventory suppliers screens to match the other screens.
Michiel Broek <mbroek@mbse.eu>
parents:
52
diff
changeset
|
16 | <table style="width: 100%;"> |
11 | 17 | <tr> |
52
b1f2a893572f
More progress on the recipes design
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
18 | <td align="right" style="vertical-align: top; padding: 3px;">Leverancier naam:</td> |
b1f2a893572f
More progress on the recipes design
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
19 | <td colspan="3" style="vertical-align: top; padding: 3px;"><input id="name" /></td> |
11 | 20 | </tr> |
21 | <tr> | |
52
b1f2a893572f
More progress on the recipes design
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
22 | <td align="right" style="vertical-align: top; padding: 3px;">Adres:</td> |
b1f2a893572f
More progress on the recipes design
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
23 | <td align="left" style="vertical-align: top; padding: 3px;"><input id="address" /></td> |
b1f2a893572f
More progress on the recipes design
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
24 | <td align="right" style="vertical-align: top; padding: 3px;">Postcode:</td> |
b1f2a893572f
More progress on the recipes design
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
25 | <td align="left" style="vertical-align: top; padding: 3px;"><input id="zip" /></td> |
11 | 26 | </tr> |
27 | <tr> | |
52
b1f2a893572f
More progress on the recipes design
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
28 | <td align="right" style="vertical-align: top; padding: 3px;">Plaats:</td> |
b1f2a893572f
More progress on the recipes design
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
29 | <td align="left" colspan="3" style="vertical-align: top; padding: 3px;"><input id="city" /></td> |
11 | 30 | </tr> |
31 | <tr> | |
52
b1f2a893572f
More progress on the recipes design
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
32 | <td align="right" style="vertical-align: top; padding: 3px;">Land:</td> |
b1f2a893572f
More progress on the recipes design
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
33 | <td align="left" colspan="3" style="vertical-align: top; padding: 3px;"><input id="country" /></td> |
11 | 34 | </tr> |
35 | <tr> | |
52
b1f2a893572f
More progress on the recipes design
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
36 | <td align="right" style="vertical-align: top; padding: 3px;">Website:</td> |
b1f2a893572f
More progress on the recipes design
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
37 | <td align="left" colspan="3" style="vertical-align: top; padding: 3px;"><input id="website" /></td> |
11 | 38 | </tr> |
39 | <tr> | |
52
b1f2a893572f
More progress on the recipes design
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
40 | <td align="right" style="vertical-align: top; padding: 3px;">Email:</td> |
b1f2a893572f
More progress on the recipes design
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
41 | <td align="left" colspan="3" style="vertical-align: top; padding: 3px;"><input id="email" /></td> |
11 | 42 | </tr> |
43 | <tr> | |
52
b1f2a893572f
More progress on the recipes design
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
44 | <td align="right" style="vertical-align: top; padding: 3px;">Telefoon:</td> |
b1f2a893572f
More progress on the recipes design
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
45 | <td align="left" colspan="3" style="vertical-align: top; padding: 3px;"><input id="phone" /></td> |
11 | 46 | </tr> |
47 | <tr> | |
52
b1f2a893572f
More progress on the recipes design
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
48 | <td align="right" style="vertical-align: top; padding: 3px;">Opmerkingen:</td> |
b1f2a893572f
More progress on the recipes design
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
49 | <td align="left" colspan="3" style=" padding: 3px;"><textarea id="notes"></textarea></td> |
11 | 50 | </tr> |
51 | <tr> | |
208
578c78abf058
Adjusted inventory suppliers screens to match the other screens.
Michiel Broek <mbroek@mbse.eu>
parents:
52
diff
changeset
|
52 | <td style="padding-top: 110px;" align="right"><input type="button" id="Delete" value="Verwijder" /></td> |
11 | 53 | <td align="right"></td> |
54 | <td align="right"></td> | |
208
578c78abf058
Adjusted inventory suppliers screens to match the other screens.
Michiel Broek <mbroek@mbse.eu>
parents:
52
diff
changeset
|
55 | <td style="padding-top: 110px;" align="left"> |
578c78abf058
Adjusted inventory suppliers screens to match the other screens.
Michiel Broek <mbroek@mbse.eu>
parents:
52
diff
changeset
|
56 | <input style="margin-right: 5px;" type="button" id="Save" value="Sla op" /> |
578c78abf058
Adjusted inventory suppliers screens to match the other screens.
Michiel Broek <mbroek@mbse.eu>
parents:
52
diff
changeset
|
57 | <input id="Cancel" type="button" value="Annuleer" /> |
11 | 58 | </td> |
59 | </tr> | |
60 | </table> | |
61 | </div> | |
62 | </div> | |
63 | ||
64 | <?php | |
65 | confirm_delete(); | |
66 | page_footer(); | |
67 | ?> |