@extends('layouts.app') @section('stitle', __('messages.addCoupons')) @section('title', __('messages.Coupons')) @section('content')
@if(session()->get('title') == "success") @elseif (session()->get('title') == "error") @elseif($errors->any()) @else @endif
@include('coupon.coupon_menu')
{{--

Table Hover Animation

--}}
@foreach($data as $coupon) @if ($coupon->active =='1') @else @endif @endforeach
{{__('messages.name')}} {{__('messages.code')}} {{__('messages.discount')}} {{__('messages.maxUsage')}} {{__('messages.STATUS')}} {{__('messages.ACTION')}}
{{$coupon->name}} {{$coupon->code}} {{$coupon->discount->name }} {{$coupon->maximum_user}}ActiveInactive
@endsection @push('my_scripts') @endpush