diff -r b8c3ca152984 -r d9dfd703df83 www/includes/db_inventory_yeasts.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www/includes/db_inventory_yeasts.php Mon Aug 13 16:10:27 2018 +0200 @@ -0,0 +1,108 @@ + $row['record'], + 'name' => $row['name'], + 'type' => $row['type'], + 'form' => $row['form'], + 'amount' => $row['amount'], + 'amount_is_weight' => $row['amount_is_weight'], + 'laboratory' => $row['laboratory'], + 'product_id' => $row['product_id'], + 'min_temperature' => $row['min_temperature'], + 'max_temperature' => $row['max_temperature'], + 'flocculation' => $row['flocculation'], + 'attenuation' => $row['attenuation'], + 'notes' => $row['notes'], + 'best_for' => $row['best_for'], + 'times_cultured' => $row['times_cultured'], + 'max_reuse' => $row['max_reuse'], + 'add_to_secondary' => $row['add_to_secondary'], + 'inventory' => $row['inventory'], + 'cost' => $row['cost'], + 'production_date' => $row['production_date'], + 'tht_date' => $row['tht_date'] + ); + } + echo json_encode($yeasts); +} +?>