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.

62 lines
1.1 KiB

  1. ::use 'design.mtt'::
  2. <div class="col-md-12">
  3. <h2>::_("Balance of members")::</h2>
  4. </div>
  5. <div class="col-md-4">
  6. <div class="article">
  7. <h3>::_("Balanced")::</h3>
  8. <table class="table">
  9. ::foreach ua balanced::
  10. <tr>
  11. <td>
  12. <a href="/member/payments/::ua._user.id::">::ua._user.getName()::</a>
  13. </td>
  14. <td class="info">
  15. ::ua.balance::&nbsp;::currency()::
  16. </td>
  17. </tr>
  18. ::end::
  19. </table>
  20. </div>
  21. </div>
  22. <div class="col-md-4">
  23. <div class="article">
  24. <h3>::_("In debt")::</h3>
  25. <table class="table">
  26. ::foreach ua debt::
  27. <tr>
  28. <td>
  29. <a href="/member/payments/::ua._user.id::">::ua._user.getName()::</a>
  30. </td>
  31. <td class="danger">
  32. ::ua.balance::&nbsp;::currency()::
  33. </td>
  34. </tr>
  35. ::end::
  36. </table>
  37. </div>
  38. </div>
  39. <div class="col-md-4">
  40. <div class="article">
  41. <h3>::_("In credit")::</h3>
  42. <table class="table">
  43. ::foreach ua credit::
  44. <tr>
  45. <td>
  46. <a href="/member/payments/::ua._user.id::">::ua._user.getName()::</a>
  47. </td>
  48. <td class="success">
  49. ::ua.balance::&nbsp;::currency()::
  50. </td>
  51. </tr>
  52. ::end::
  53. </table>
  54. </div>
  55. </div>
  56. ::end::