Displaying 1 result from an estimated 1 matches for "appt_time".
2008 Sep 02
5
Appending a record to a table
...ut
none of the literature I''m reading makes a huge deal of sense.
@cart = find_treat
l = LineItem.new
c = Customer.find(session[:currentcustID])
t = Therapist.find(params[:appt_therapist])
a = Appointment.new
a.appdate = params[:appt_date]
a.apptime = params[:appt_time]
a.applength = @cart.total_time
a.customer = c
l.appointment = a
l.customer = c
l.therapist = t
tr = Treatment.new
@cart.items.each do |item|
tr = Treatment.find(item.id)
logger.warn("Currently Dealing with: #{tr.desclong}")
l.treatment <...