course_list.blade.php 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. <div class="col card--ui" id="card--dashboard">
  2. <header id="title--section" class="d-flex align-items-center justify-content-between">
  3. <div class="title--section_name d-flex align-items-center justify-content-between">
  4. <i class="ico--ui title_section utenti me-2"></i>
  5. <h2 class="primary">Pagamento corsi</h2>
  6. </div>
  7. </header>
  8. <section id="subheader" class="d-flex align-items-center ">
  9. <form action="" class="group--action d-flex align-items-center">
  10. <select class="form-select form-select-lg me-1" wire:model='courseId'>
  11. <option value="0">Tutti
  12. @foreach($courses as $c)
  13. <option value="{{$c->id}}">{{$c->name}}
  14. @endforeach
  15. </select>
  16. </form>
  17. </section>
  18. <section id="resume-table">
  19. <div class="compare--chart_wrapper d-none"></div>
  20. <table class="table tablesaw tablesaw-stack" id="tablesaw-350">
  21. <thead>
  22. <tr>
  23. <th scope="col"></th>
  24. @foreach($months as $m)
  25. <th scope="col">&nbsp;&nbsp;&nbsp;&nbsp;{{$m}}</th>
  26. @endforeach
  27. </tr>
  28. </thead>
  29. <tbody id="checkall-target">
  30. @foreach($records as $record)
  31. <tr>
  32. @php
  33. list($id, $name) = explode("§", $record[0]);
  34. @endphp
  35. <td><a href="/members?member_detail={{$id}}">{{$name}}</a></td>
  36. @for($x=1; $x<=12; $x++)
  37. <td><a class="{{$record[$x]}}">&nbsp;</a></td>
  38. @endfor
  39. </tr>
  40. @endforeach
  41. </tbody>
  42. </table>
  43. </section>
  44. </div>
  45. @push('scripts')
  46. <style>
  47. a.grey
  48. {
  49. display: flex;
  50. margin-right:10px;
  51. float:left;
  52. height: 2.5rem !important;
  53. width:50px;
  54. align-items: center;
  55. justify-content: center;
  56. color: #006099;
  57. background-color: #d3dce1 !important;
  58. padding: 0 1.25rem;
  59. font-size: 0.875rem;
  60. font-family: greycliff-cf, sans-serif;
  61. border-radius: 1.875rem !important;
  62. -webkit-border-radius: 1.875rem !important;
  63. -moz-border-radius: 1.875rem !important;
  64. -webkit-transition: all 0.3s ease-in-out;
  65. -moz-transition: all 0.3s ease-in-out;
  66. -o-transition: all 0.3s ease-in-out;
  67. transition: all 0.3s ease-in-out;
  68. border: none;
  69. }
  70. a.blue
  71. {
  72. display: flex;
  73. margin-right:10px;
  74. float:left;
  75. height: 2.5rem !important;
  76. width:50px;
  77. align-items: center;
  78. justify-content: center;
  79. color: #fff;
  80. background-color: #006099 !important;
  81. padding: 0 1.25rem;
  82. font-size: 0.875rem;
  83. font-family: greycliff-cf, sans-serif;
  84. border-radius: 1.875rem !important;
  85. -webkit-border-radius: 1.875rem !important;
  86. -moz-border-radius: 1.875rem !important;
  87. -webkit-transition: all 0.3s ease-in-out;
  88. -moz-transition: all 0.3s ease-in-out;
  89. -o-transition: all 0.3s ease-in-out;
  90. transition: all 0.3s ease-in-out;
  91. border: none;
  92. }
  93. a.yellow
  94. {
  95. display: flex;
  96. margin-right:10px;
  97. float:left;
  98. height: 2.5rem !important;
  99. width:50px;
  100. align-items: center;
  101. justify-content: center;
  102. color: #fff;
  103. background-color: #ffe238;
  104. padding: 0 1.25rem;
  105. font-size: 0.875rem;
  106. font-family: greycliff-cf, sans-serif;
  107. border-radius: 1.875rem !important;
  108. -webkit-border-radius: 1.875rem !important;
  109. -moz-border-radius: 1.875rem !important;
  110. -webkit-transition: all 0.3s ease-in-out;
  111. -moz-transition: all 0.3s ease-in-out;
  112. -o-transition: all 0.3s ease-in-out;
  113. transition: all 0.3s ease-in-out;
  114. border: none;
  115. }
  116. a.orange
  117. {
  118. display: flex;
  119. margin-right:10px;
  120. float:left;
  121. height: 2.5rem !important;
  122. width:50px;
  123. align-items: center;
  124. justify-content: center;
  125. color: #fff;
  126. background-color: #FF7E38;
  127. padding: 0 1.25rem;
  128. font-size: 0.875rem;
  129. font-family: greycliff-cf, sans-serif;
  130. border-radius: 1.875rem !important;
  131. -webkit-border-radius: 1.875rem !important;
  132. -moz-border-radius: 1.875rem !important;
  133. -webkit-transition: all 0.3s ease-in-out;
  134. -moz-transition: all 0.3s ease-in-out;
  135. -o-transition: all 0.3s ease-in-out;
  136. transition: all 0.3s ease-in-out;
  137. border: none;
  138. }
  139. a.green
  140. {
  141. display: flex;
  142. margin-right:10px;
  143. float:left;
  144. height: 2.5rem !important;
  145. width:50px;
  146. align-items: center;
  147. justify-content: center;
  148. color: #fff;
  149. background-color: green;
  150. padding: 0 1.25rem;
  151. font-size: 0.875rem;
  152. font-family: greycliff-cf, sans-serif;
  153. border-radius: 1.875rem !important;
  154. -webkit-border-radius: 1.875rem !important;
  155. -moz-border-radius: 1.875rem !important;
  156. -webkit-transition: all 0.3s ease-in-out;
  157. -moz-transition: all 0.3s ease-in-out;
  158. -o-transition: all 0.3s ease-in-out;
  159. transition: all 0.3s ease-in-out;
  160. border: none;
  161. }
  162. </style>
  163. @endpush