@extends('layouts.app')

@section('content')
    <section class="page-header row">
        <h2> Ads </h2>
        <ol class="breadcrumb">
            <li><a href="{{ url('') }}"> Dashboard </a></li>
            <li class="active"> Ads</li>
        </ol>
    </section>
    <div class="page-content row">
        <div class="page-content-wrapper no-margin">
            <h3 class="section-title">All Records</h3>
            <div class="sbox">

                <div class="sbox-content">
                    <!-- Toolbar Top -->
                    <div class="toolbar-top">
                        <div class="row">
                            <div class="col-lg-7 col-md-6">
                                <a href="{{ url('/manage/amazonabuse/create') }}" class="btn btn-primary btn-sm"
                                   title="{{ __('core.btn_create') }}"><i class=" fa fa-plus "></i> Create New </a>

                            </div>

                            <div class="col-lg-5 col-md-6 text-right toolbar-right">
                            </div>
                        </div>
                    </div>
                    <!-- End Toolbar Top -->

                    <div class="row">
                        {!! (isset($search_map) ? $search_map : '') !!}
                    </div>

                    <!-- Table Grid -->
                    <div class="table-responsive">

                        <table class="table table-striped table-hover " id="storeDealsTable">
                            <thead>
                            <tr>
                                <th style="width: 3% !important;" class="number"> No</th>
                                <th>Report Name</th>
                                <th>Created At</th>
                                <th>Updated At</th>
                            </tr>
                            </thead>
                            <tbody>
                            @foreach ($rowData as $row)
                                <tr>
                                    <td> {{ $loop->iteration }} </td>
                                    <td>{{$row['report_name']}}</td>
                                    <td>{{$row['created_at']}}</td>
                                    <td>{{$row['updated_at']}}</td>

                                </tr>

                            @endforeach

                            </tbody>

                        </table>
                        <input type="hidden" name="action_task" value=""/>

                        {!! Form::close() !!}
                        @include('footer')
                    </div>
                </div>
            </div>
        </div>
    </div>

@stop
