You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

104 lines
2.2 KiB

  1. ::use 'design.mtt'::
  2. <div class="col-md-3">
  3. <h2>Coordonnées</h2>
  4. <div class="article">
  5. <div style="font-weight:bold;font-size:120%;">::member.firstName:: ::member.lastName::
  6. ::if member.firstName2!=null && member.lastName2!=null::
  7. & ::member.firstName2:: ::member.lastName2::
  8. ::end::</div>
  9. $$nullSafe(::member.address1::)<br/>
  10. $$nullSafe(::member.address2::)<br/>
  11. $$nullSafe(::member.zipCode::)
  12. $$nullSafe(::member.city::)<br/>
  13. <br/>
  14. ::if member.phone!=null::
  15. Tel : ::member.phone::<br/>
  16. ::end::
  17. ::if member.email!=null::
  18. E-mail : <a href="mailto: ::member.email::">::member.email::</a><br/>
  19. ::end::
  20. ::if member.email2!=null::
  21. E-mail : <a href="mailto: ::member.email2::">::member.email2::</a><br/>
  22. ::end::
  23. </div>
  24. </div>
  25. <div class="col-md-9">
  26. <h2>::_("Payments")::</h2>
  27. <div class="article">
  28. <table class="table table-condensed">
  29. <!-- total -->
  30. <tr style="font-size:1.3em;">
  31. <td colspan="2"></td>
  32. <td class="text-right">::_("Balance")::&nbsp;:</td>
  33. ::if balance<0::
  34. ::set color = "C00"::
  35. ::else::
  36. ::set color = "0C0"::
  37. ::end::
  38. <td style="color:#::color::;">
  39. ::if balance<0::
  40. -
  41. ::end::
  42. </td>
  43. <td style="color:#::color::;">
  44. ::Math.abs(balance)::&nbsp;::currency()::
  45. </td>
  46. <td colspan="2">
  47. </td>
  48. </tr>
  49. ::foreach t rb.current()::
  50. <tr>
  51. $$operation(::t::)
  52. </tr>
  53. ::end::
  54. <tr >
  55. <th colspan="5" class="text-center">
  56. <ul class="pagination">
  57. ::if rb.paginationStartPage != 1::
  58. <li>
  59. <a href="?page=::rb.paginationStartPage-1::">
  60. <span class="glyphicon glyphicon-backward"></span>
  61. </a>
  62. </li>
  63. ::end::
  64. ::foreach i loopList(rb.paginationStartPage,rb.paginationEndPage)::
  65. ::if rb.page==i::
  66. <li class="active" ><a href="?page=::i::">::i::</a></li>
  67. ::else::
  68. <li><a href="?page=::i::">::i::</a></li>
  69. ::end::
  70. ::end::
  71. ::if rb.paginationEndPage < rb.pages + 1::
  72. <li>
  73. <a href="?page=::rb.paginationEndPage::">
  74. <span class="glyphicon glyphicon-forward"></span>
  75. </a>
  76. </li>
  77. ::end::
  78. </ul>
  79. </th>
  80. </tr>
  81. </table>
  82. </div>
  83. </div>
  84. ::end::