@extends('backpack::layout') @section('header')

{{ $title }}

@endsection @section('content')
@forelse ($coupons as $coupon) @empty @endforelse
# Coupon Code Rate (%) Date Created
{{ $loop->iteration }} {{ $coupon->code }} {{ $coupon->rate }} {{ $coupon->created_at->format('d-m-Y') }}
{{ csrf_field() }} {{ method_field('delete') }}
No coupon added yet. Add one now.
{{ $coupons->links() }}
@endsection