changed appointment display by datetime order. add SQL item-cost in prescription.rb. Changed the passing value to invoice from prescriotion_id to appointment_id