@if ($reportData->isEmpty())
    <p>No data found for this report.</p>
@else
    <table class="table">
        <thead>
            <tr>
                <th>Product Type</th>
                <th>Total Direct Profit</th>
            </tr>
        </thead>
        <tbody>
            @foreach ($reportData as $data)
                <tr>
                    <td>{{ $data->product_type }}</td>
                    <td>{{ number_format($data->total_direct_profit, 2) }}</td>
                </tr>
            @endforeach
        </tbody>
    </table>
@endif
