Commits

Joel Mohler committed 4050e84

trip type fix

  • Participants
  • Parent commits e0314d0

Comments (0)

Files changed (1)

camprental/ReservationUI.py

                 ObjectValue(attribute_name='people', left=0*cm, top=1.5*cm, width=15*cm, 
                     get_value=lambda instance: "Participants:  {0}".format(instance.people_count)),
                 ObjectValue(attribute_name='template', left=0*cm, top=2*cm, width=15*cm, 
-                    get_value=lambda instance: "Trip Type:  {0}".format(instance.template)),
+                    get_value=lambda instance: "Trip Type:  {0}".format(instance.template_name)),
                 ObjectValue(attribute_name='flags', left=0*cm, top=2.5*cm, width=15*cm, 
                     get_value=lambda instance: instance.billing_flags),
                 )