diff --git a/smash/web/templates/visits/details.html b/smash/web/templates/visits/details.html index 1329a37a73ed7823a7699865e7cb87102605a11d..ffa7981647d4cb9b475009315474177f82ab82fb 100644 --- a/smash/web/templates/visits/details.html +++ b/smash/web/templates/visits/details.html @@ -94,13 +94,13 @@ {% for app in loApp %} <tr> <td>{{ forloop.counter }}</td> - <td>{{ app.appointmentType }}</td> - <td>{{ app.appDateTime | date:"d-M-Y" }}</td> - <td>{{ app.appDateTime | time:"H:i" }}</td> - <td>{{ app.appLength }}</td> + <td>{{ app.appointment_type }}</td> + <td>{{ app.datetime_when | date:"d-M-Y" }}</td> + <td>{{ app.datetime_when | time:"H:i" }}</td> + <td>{{ app.length }}</td> <td> - {% if app.flyingTeam %}{{ app.workerAssigned.first_name }} {{app.workerAssigned.last_name}} - {% else %} {{ app.flyingTeam }} + {% if app.flying_team %}{{ app.worker_assigned.first_name }} {{app.worker_assigned.last_name}} + {% else %} {{ app.flying_team }} {% endif %} </td> <td> <a href="" type="button" class="btn btn-block btn-default">TODO</a> </td>