@include('Messages')
الكود |
الخصم |
المستخدم |
مرات الاستخدام |
الحالة |
الاجراءات |
@if(count($rows))
@foreach($rows as $row)
{{$row->coupon}} |
{{get_discount($row)}} |
@if(count($row->users) > 0)
@else
--
@endif
|
{{(int) $row->uses}} |
@if(is_coupon_expired($row))
منتهي
@elseif(check_coupon_user($row))
تم استخدامه
@elseif($row->trashed())
غير فعال
@else
فعال
@endif
|
@if(!check_coupon_user($row) && !is_coupon_expired($row) && !$row->trashed())
@endif
@if($row->trashed())
@else
@if(!check_coupon_user($row) && !is_coupon_expired($row))
@endif
@endif
@if(can('can view history coupons'))
@endif
|
@endforeach
@else
لا يوجد نتائج بعد |
@endif
{{$rows->withQueryString()}}