@extends('admin.layout.layout') @section('page-level-css') @endsection @section('content')
@include('admin.partials.header')
@csrf
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(Session::has('success'))
{{Session::get('success')}}
@endif

Discounts

Total Discountss

{{count($discounts)}}

@foreach( $discounts as $discount ) @endforeach
{{$discount->coupon}} {{$discount->percentage}}% {{$discount->thresh_hold_value}}
Edit Delete
{{-- Delete Modal Starts here --}} @include('admin.partials.deleteModal') {{-- Delete Modal ends here --}} @include('admin.partials.footer')
@endsection @section('page-level-js') @endsection