realtionship between customer, order and appointment now working, indices displaying correct names