1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <!DOCTYPE html>
- <html lang="en" data-theme="light">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <title>{{config('app.name')}}</title>
-
- @vite(['resources/css/app.css','resources/js/app.js'])
- </head>
- <body class="bg-babyblue">
- <div class="section flex flex-col gap-10 w-screen h-screen">
- <div>
- <p>VIP ({{count($vips)}})</p>
- <table class="table">
- <thead>
- <tr>
- <th>Nama</th>
- <th>Bilangan</th>
- <th>No Tel</th>
- </tr>
- </thead>
- <tbody>
- @foreach ($vips as $vip)
- <tr>
- <td>{{$vip->name}}</td>
- <td>{{$vip->member}}</td>
- <td>{{$vip->phone}}</td>
- </tr>
- @endforeach
- </tbody>
- </table>
- <a href="{{ route('download.vip.csv') }}" class="btn">Download VIP Data</a>
- </div>
-
- <div>
- <p>General ({{count($generals)}})</p>
- <table class="table">
- <thead>
- <tr>
- <th>Nama</th>
- <th>Bilangan</th>
- <th>No Tel</th>
- </tr>
- </thead>
- <tbody>
- @foreach ($generals as $general)
- <tr>
- <td>{{$general->name}}</td>
- <td>{{$general->member}}</td>
- <td>{{$general->phone}}</td>
- </tr>
- @endforeach
- </tbody>
- </table>
- </div>
- </div>
- </body>
- </html>
|