@extends('layouts.admin')

@section('content')
    <div class="row">
        <div class="col-md-12">
            <h1 class="page-heading">{{ 'Daily Subscriber Report for ' . $list_name . ' (' . $date . ')' }}</h1>
            <div class="table-responsive">
                <table class="table table-striped">
                    <thead>
                    <tr>
                        <th>Unique ID</th>
                        <th>Email</th>
                        <th>Ip address</th>
                        <th>Status</th>
                    </tr>
                    </thead>
                    <tbody>
                    @if(isset($list_subscribers_report))
                        @foreach($list_subscribers_report AS $item)
                            <tr>
                                <td>{{ $item->subscriber_uid }}</td>
                                <td>{{ $item->email }}</td>
                                <td>{{ $item->ip_address }}</td>
                                <td>{{ $item->status }}</td>
                            </tr>
                        @endforeach
                    @endif
                    </tbody>
                </table>
            </div>
        </div>
    </div>
@endsection()
