Skip to content

Commit

Permalink
attach personel to welcome page
Browse files Browse the repository at this point in the history
  • Loading branch information
punkestu committed Oct 27, 2024
1 parent 4cf9df6 commit b008cba
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions resources/views/personel/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ class="flex items-center justify-center px-4 py-2 text-white text-sm bg-blue-500
<th scope="col" class="px-6 py-3">
No.
</th>
<th scope="col" class="px-6 py-3">
Aksi
</th>
<th scope="col" class="px-6 py-3">
NIK-AirNav
</th>
Expand Down Expand Up @@ -164,6 +167,12 @@ class="flex items-center justify-center px-4 py-2 text-white text-sm bg-blue-500
class="px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white">
{{ $loop->iteration }}
</th>
<td class="px-6 py-4">
<a href="/personel/pensiun/{{ $personel->id }}">
{{ $personel->pensiun ? 'Batalkan pensiun' : 'Pensiun' }}
</a>
<a href="/personel/delete/{{ $personel->id }}" class="text-red-500">Hapus</a>
</td>
<td class="px-6 py-4">
{{ $personel->nik }}
</td>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/welcome.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
<p class="font-semibold text-2xl text-center">{{ $cabangs->count() }}+</p>
<p class="opacity-60 text-center">Branch Offices</p>
</div>
<div class="bg-[#003285] text-white p-4 rounded-md">
<a href="/personel" class="bg-[#003285] text-white p-4 rounded-md">
<p class="font-semibold text-2xl text-center">{{ $personel }}+</p>
<p class="opacity-60 text-center">Employees</p>
</div>
</a>
</div>
</aside>
<aside class="md:w-2/5 aspect-video flex" id="carousel">
Expand Down

0 comments on commit b008cba

Please sign in to comment.