Added 'repaired' attribute to orders, added real production to order details report and order view