@include('theme-views.partials._profile-aside')
{{translate('coupons')}}
{{translate('go_back')}}
@foreach ($coupons as $item)
@if ($item->coupon_type == "free_delivery") @elseif ($item->discount_type == "percentage") @elseif ($item->discount_type == "amount") @endif

@if ($item->coupon_type == "free_delivery") {{ translate('free_Delivery') }} @else {{ ($item->discount_type == 'percentage')? $item->discount.'%'.translate('off') : webCurrencyConverter($item->discount)}} @endif

{{ translate('on') }} @if($item->seller_id == '0') {{ translate('all_shops') }} @elseif($item->seller_id == NULL) {{ $web_config['company_name'] }} @else {{ isset($item->seller->shop) ? $item->seller->shop->name : translate('shop_not_found') }} @endif

{{ translate('valid_till') }} {{ $item->expire_date->format('d M, Y') }}

{{ translate('available_from_minimum_purchase') }} {{webCurrencyConverter($item->min_purchase)}}

@endforeach @if(count($coupons) == 0)
{{ translate('No_coupon_available') }}!
@endif
{{ $coupons->links() }}