diff -r d341f0a91a91 -r c26af32428a4 www/includes/db_inventory_hops.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www/includes/db_inventory_hops.php Sun Aug 12 23:20:17 2018 +0200 @@ -0,0 +1,105 @@ + $row['record'], + 'name' => $row['name'], + 'alpha' => $row['alpha'], + 'beta' => $row['beta'], + 'humulene' => $row['humulene'], + 'caryophyllene' => $row['caryophyllene'], + 'cohumulone' => $row['cohumulone'], + 'myrcene' => $row['myrcene'], + 'useat' => $row['useat'], + 'type' => $row['type'], + 'form' => $row['form'], + 'notes' => $row['notes'], + 'origin' => $row['origin'], + 'substitutes' => $row['substitutes'], + 'always_on_stock' => $row['always_on_stock'], + 'inventory' => $row['inventory'], + 'cost' => $row['cost'], + 'production_date' => $row['production_date'], + 'tht_date' => $row['tht_date'], + 'supplier_rec' => $row['supplier_rec'] + ); + } + echo json_encode($hops); +} +?>