@extends('layouts.app')

@section('content')

    <div class='container'>
    @include('admin.adminheader')
    <div class="page-title-box">
                <div class="row align-items-center">
                    <div class="col-sm-6">
                        <h4 class="page-title">Closer Coupons</h4>
                    </div>
                    <div class="col-sm-6">
                        <ol class="breadcrumb float-right">
                            <li class="breadcrumb-item"><a href="javascript:void(0);">Admin</a></li>
                            <li class="breadcrumb-item active">Closer Coupons</li>
                        </ol>
                    </div>
                </div>
                <!-- end row -->
            </div>
    <div class='row d-flex justify-content-center'>
        <div class='col-md-5 text-center'>
            <div class="closertable">
            <table class='table border-1'>
                    <tr>
                        <th>Code</th>
                        <th>Discount Price</th>
                    </tr>
                    @foreach($closer as $close)
                    <tr>
                        <td>{{$close->code}}</td>
                        <td>${{$close->discount_price}}</td>
                    </tr>
                    @endforeach
            </table>
            </div>
        </div>
    </div>
</div>
@endsection