diff -r 22271f3598ac -r acb2d8098f19 www/includes/db_inventory_miscs.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www/includes/db_inventory_miscs.php Fri Aug 17 15:20:56 2018 +0200 @@ -0,0 +1,93 @@ + $row['record'], + 'name' => $row['name'], + 'type' => $row['type'], + 'use_use' => $row['use_use'], + 'time' => $row['time'], + 'amount_is_weight' => $row['amount_is_weight'], + 'use_for' => $row['use_for'], + 'notes' => $row['notes'], + 'always_on_stock' => $row['always_on_stock'], + 'inventory' => $row['inventory'], + 'cost' => $row['cost'], + 'production_date' => $row['production_date'], + 'tht_date' => $row['tht_date'] + ); + } + echo json_encode($miscs); +} +?>