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

{{translate('Add_New_Coupon')}}

@csrf
{{--
{{translate('generate_code')}}
--}}
{{--
--}}
{{translate('Coupon_Table')}} {{ $coupons->total() }}
@foreach($coupons as $key=>$coupon) @endforeach
{{translate('SL')}} {{translate('Coupon')}} {{translate('Total Actual Coupons')}} {{translate('Price Per Coupon')}} {{translate('Get Free Coupons')}} {{translate('Total Coupons')}} {{translate('status')}} {{translate('action')}}
{{$coupons->firstItem()+$key}}
{{$coupon['title']}}
{{$coupon['quantity']}}
{{$coupon['price']}} BHD
{{$coupon['offer_quantity']}}
@php $total = 0; $total =$coupon['quantity']+ $coupon['offer_quantity']; @endphp
{{$total }}
@csrf @method('delete')
{!! $coupons->links() !!}
@endsection @push('script_2') @endpush