<!DOCTYPE html>
<html>
<head>
    <title>Post Report</title>
    <style>
        table {
            width: 100%;
            border-collapse: collapse;
            font-size: 8px;
        }
        th, td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: left;
        }
        th {
            background-color: #f2f2f2;
        }
        span {
            font-size: 9px;
        }
    </style>
</head>
<body>
<h1>Post Report</h1>
<table>
    <thead>
    <tr>
        <th>No</th>
        <th>Ad ID</th>
        <th>Views</th>
        <th>Calls</th>
        <th>WhatsApp</th>
        <th>Chats</th>
        <th>Shares</th>
        <th>Favorites</th>
        <th>Reports</th>
    </tr>
    </thead>
    <tbody>
    @foreach($ads as $index => $ad)
        <tr>
            <td> {{ ($index+1) }} </td>
            <td> {{ $ad->ad_number }} </td>
            <td> 1,245 </td> <!-- Placeholder for views -->
            <td> 1,245 </td> <!-- Placeholder for calls -->
            <td> 85 </td> <!-- Placeholder for WhatsApp -->
            <td> 43 </td> <!-- Placeholder for chats -->
            <td> 65 </td> <!-- Placeholder for shares -->
            <td> 98 </td> <!-- Placeholder for favorites -->
            <td> 1 </td> <!-- Placeholder for reports -->
        </tr>
    @endforeach
    </tbody>
</table>
</body>
</html>
