www/prod_archive_name.php

Tue, 31 Aug 2021 20:48:37 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Tue, 31 Aug 2021 20:48:37 +0200
changeset 774
92e1e8f175a2
parent 292
90cd3798edc2
permissions
-rw-r--r--

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.

290
12aa92828e24 Added view archives by name
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
1 <?php
12aa92828e24 Added view archives by name
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
2 require_once($_SERVER['DOCUMENT_ROOT'].'/includes/global.inc.php');
292
90cd3798edc2 Added archive view on date and code.
Michiel Broek <mbroek@mbse.eu>
parents: 290
diff changeset
3 page_header('Producten archief op naam', 'prod_archive_name');
290
12aa92828e24 Added view archives by name
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
4 ?>
12aa92828e24 Added view archives by name
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
5
12aa92828e24 Added view archives by name
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
6 <div id="jqxgrid"></div>
12aa92828e24 Added view archives by name
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
7 <div style="margin-top: 30px;">
12aa92828e24 Added view archives by name
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
8 <div id="cellbegineditevent"></div>
12aa92828e24 Added view archives by name
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
9 <div style="margin-top: 10px;" id="cellendeditevent"></div>
12aa92828e24 Added view archives by name
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
10 </div>
12aa92828e24 Added view archives by name
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
11
12aa92828e24 Added view archives by name
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
12 <?php
12aa92828e24 Added view archives by name
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
13 page_footer();
12aa92828e24 Added view archives by name
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
14 ?>

mercurial