@extends('layouts.admin.app') @section('title', translate('Add new Purchase coupon')) @push('css_or_js') @endpush @section('content')

{{translate('Add new Purchase coupon')}}

@csrf
{{translate('generate_code')}}
{{translate('Coupon_Table')}} {{ $coupons->total() }}
{{-- --}} @foreach($coupons as $key=>$coupon) {{-- --}} @endforeach
{{translate('SL')}} {{translate('User')}} {{translate('Coupon Title')}} {{translate('Coupon Code')}} {{translate('Price')}}{{translate('status')}}{{translate('Purchased At')}} {{translate('action')}}
{{$coupons->firstItem()+$key}}
{{$coupon->user->f_name}} {{$coupon->user->l_name}}
{{$coupon['coupon_price']}} BHD Coupon
{{$coupon['code']}}
{{$coupon['coupon_price']}} BHD
{{$coupon['status']}}
{{$coupon['purchased_at']}}
@csrf @method('delete')
{!! $coupons->links() !!}
@endsection @push('script_2') @endpush