Browse Source

no

master
farhan 3 months ago
parent
commit
839b1b0b2e
1 changed files with 6 additions and 2 deletions
  1. 6
    2
      resources/views/attendance.blade.php

+ 6
- 2
resources/views/attendance.blade.php View File

@@ -15,14 +15,16 @@
15 15
             <table class="table">
16 16
                 <thead>
17 17
                 <tr>
18
+                    <th>No</th>
18 19
                     <th>Nama</th>
19 20
                     <th>Bilangan</th>
20 21
                     <th>No Tel</th>
21 22
                 </tr>
22 23
                 </thead>
23 24
                 <tbody>
24
-                @foreach ($vips as $vip)
25
+                @foreach ($vips as $index => $vip)
25 26
                 <tr>
27
+                    <td>{{$index + 1}}</td>
26 28
                     <td>{{$vip->name}}</td>
27 29
                     <td>{{$vip->member}}</td>
28 30
                     <td>{{$vip->phone}}</td>
@@ -38,14 +40,16 @@
38 40
             <table class="table">
39 41
                 <thead>
40 42
                 <tr>
43
+                    <th>No</th>
41 44
                     <th>Nama</th>
42 45
                     <th>Bilangan</th>
43 46
                     <th>No Tel</th>
44 47
                 </tr>
45 48
                 </thead>
46 49
                 <tbody>
47
-                @foreach ($generals as $general)
50
+                @foreach ($generals as $index => $general)
48 51
                 <tr>
52
+                    <td>{{$index + 1}}</td>
49 53
                     <td>{{$general->name}}</td>  
50 54
                     <td>{{$general->member}}</td>
51 55
                     <td>{{$general->phone}}</td>

Loading…
Cancel
Save