Wedding Invitation

attendance.blade.php 2.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <!DOCTYPE html>
  2. <html lang="en" data-theme="light">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7. <title>{{config('app.name')}}</title>
  8. @vite(['resources/css/app.css','resources/js/app.js'])
  9. </head>
  10. <body class="bg-babyblue">
  11. <div class="section flex flex-col gap-10 w-screen h-screen">
  12. <div>
  13. <p>VIP ({{count($vips)}})</p>
  14. <table class="table">
  15. <thead>
  16. <tr>
  17. <th>No</th>
  18. <th>Nama</th>
  19. <th>Bilangan</th>
  20. <th>No Tel</th>
  21. </tr>
  22. </thead>
  23. <tbody>
  24. @foreach ($vips as $index => $vip)
  25. <tr>
  26. <td>{{$index + 1}}</td>
  27. <td>{{$vip->name}}</td>
  28. <td>{{$vip->member}}</td>
  29. <td>{{$vip->phone}}</td>
  30. </tr>
  31. @endforeach
  32. </tbody>
  33. </table>
  34. <a href="{{ route('download.vip.csv') }}" class="rounded-full border-solid border-2 border-navbarcolor py-1 px-3 font-medium text-gray-600">Download VIP Data</a>
  35. </div>
  36. <div>
  37. <p>General ({{count($generals)}})</p>
  38. <table class="table">
  39. <thead>
  40. <tr>
  41. <th>No</th>
  42. <th>Nama</th>
  43. <th>Bilangan</th>
  44. <th>No Tel</th>
  45. </tr>
  46. </thead>
  47. <tbody>
  48. @foreach ($generals as $index => $general)
  49. <tr>
  50. <td>{{$index + 1}}</td>
  51. <td>{{$general->name}}</td>
  52. <td>{{$general->member}}</td>
  53. <td>{{$general->phone}}</td>
  54. </tr>
  55. @endforeach
  56. </tbody>
  57. </table>
  58. <a href="{{ route('download.general.csv') }}" class="rounded-full border-solid border-2 border-navbarcolor py-1 px-3 font-medium text-gray-600">Download General Data</a>
  59. </div>
  60. </div>
  61. </body>
  62. </html>