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

Loading…
Cancel
Save