Tue, 22 Jan 2019 20:27:45 +0100
Fermentables database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Added the added and dissolved_protein fields. Removed the ibu_gal_per_lb field. Redesigned the web page. Code cleanup.
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;"> | |
52
b1f2a893572f
More progress on the recipes design
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
16 | <table class="popupTable"> |
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> | |
52 | <td style="padding-top: 10px;" align="right"><input type="button" id="Delete" value="Delete" /></td> | |
53 | <td align="right"></td> | |
54 | <td align="right"></td> | |
55 | <td style="padding-top: 10px;" align="right"> | |
56 | <input style="margin-right: 5px;" type="button" id="Save" value="Save" /> | |
57 | <input id="Cancel" type="button" value="Cancel" /> | |
58 | </td> | |
59 | </tr> | |
60 | </table> | |
61 | </div> | |
62 | </div> | |
63 | ||
64 | <?php | |
65 | confirm_delete(); | |
66 | page_footer(); | |
67 | ?> |