Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 

66 lignes
2.9 KiB

  1. <tr>
  2. <td>
  3. <%=raw attendee.getName() %>
  4. <% if ( childProfile ) { %>
  5. &nbsp;<small>[<%=raw attendee.getChildProfileHtmlTagById( childProfile.id ) %>]</small>
  6. <% } %>
  7. <% if ( attendee.getContractInGroup( a.getTeamId() ) ) { %>
  8. <br /><small>Vetrag: <%= attendee.getContractInGroup( a.getTeamId() ) %></small>
  9. <% } %>
  10. </td>
  11. <td class="text-center">
  12. <% if ( currentStatus == 'accepted' ) { %>
  13. <%= _lc( 'STATUS_ACCEPTED' ) %>
  14. <% } else if ( currentStatus == 'declined' ) { %>
  15. <%= _lc( 'STATUS_DECLINED' ) %>
  16. <% } else if ( currentStatus == 'waiting' ) { %>
  17. <%= _lc( 'STATUS_WAITING' ) %>
  18. <% } else { %>
  19. <%= _lc( 'STATUS_NO_REACTION' ) %>
  20. <% } %>
  21. </td>
  22. <% if ( false === a.hasStarted() ) { %>
  23. <td class="text-center">
  24. <select class="form-control form-control-sm"
  25. a-type="select-attendee-status"
  26. data-appointment-id="<%= a.getId() %>"
  27. data-profile-id="<%= attendee.getId() %>"
  28. data-child-profile-id="<%= childProfile ? childProfile.id : '0' %>"
  29. data-orig-status="<%= currentStatus %>">
  30. <option value="no-change">
  31. <%= _lc( 'STATUS_NO_CHANGE' ) %>
  32. </option>
  33. <% if ( currentStatus !== 'accepted' ) { %>
  34. <option value="accepted">
  35. <%= _lc( 'STATUS_ACCEPTED' ) %>
  36. </option>
  37. <% } %>
  38. <% if ( currentStatus !== 'declined' ) { %>
  39. <option value="declined">
  40. <%= _lc( 'STATUS_DECLINED' ) %>
  41. </option>
  42. <% } %>
  43. </select>
  44. </td>
  45. <% } else { %>
  46. <td class="text-center">
  47. <div class="custom-control custom-checkbox">
  48. <input type="checkbox"
  49. id="attendee-final-status-<%= attendee.getId() %>"
  50. data-type="checkbox-attendee-final-status"
  51. data-appointment-id="<%= a.getId() %>"
  52. data-profile-id="<%= attendee.getId() %>"
  53. data-child-profile-id="<%= childProfile ? childProfile.id : '0' %>"
  54. data-orig-status="<%= a.hasProfileIdAttended( attendee.getId() ) ? 'checked' : 'not-checked' %>"
  55. class="custom-control-input"
  56. <%= a.hasProfileIdAttended( attendee.getId() ) ? 'checked="checked"' : '' %>
  57. />
  58. <label class="custom-control-label"
  59. for="attendee-final-status-<%= attendee.getId() %>"
  60. style="vertical-align: top;"></label>
  61. </div>
  62. </td>
  63. <% } %>
  64. </tr>