diff --git a/src/client/app/js/app/model/Appointment.js b/src/client/app/js/app/model/Appointment.js index 69d55b2..2671011 100644 --- a/src/client/app/js/app/model/Appointment.js +++ b/src/client/app/js/app/model/Appointment.js @@ -520,7 +520,6 @@ app.model.Appointment = function( appData, attendees, attendeeProfiles ) { if ( attendees[ ai ].has_attended == "attended" ) { - //attendeesAttended.push( this.getProfileById( attendees[ ai ].profile_id ) ); attendeesAttended.push( attendees[ ai ].profile_id ); } } diff --git a/src/client/app/tmpl/appointment-detail-attendee.html b/src/client/app/tmpl/appointment-detail-attendee.html index 5f33614..3f90058 100644 --- a/src/client/app/tmpl/appointment-detail-attendee.html +++ b/src/client/app/tmpl/appointment-detail-attendee.html @@ -20,7 +20,7 @@ <% for ( var aai = 0; aai < attendeesAttended.length; aai++ ) { %> - <% prfl = a.getProfileById( attendeesAttended[ aai ].profile_id ); %> + <% prfl = a.getProfileById( attendeesAttended[ aai ] ); %> <%=raw app.core.View.getTemplate( 'appointment-detail-attendee-row', { a: a, at :prfl, g : g, childProfile : prfl.getChildProfileById( attendeesAttended[ aai ].profile_child_id ) } ) %> <% } %>