@extends('layouts.admin') @section('page_title') @parent آمار استفاده از کد تخفیف {{$coupon->code}} @endsection @section('main')

آمار استفاده از کد تخفیف {{$coupon->code}}

@if (count($errors) > 0)
@endif @if(Session::has('success'))
{{ Session::get('success') }}
@endif @if(Session::has('warning'))
{{ Session::get('warning') }}
@endif

مقدار تخفیف: {{$coupon->quantity}} @if($coupon->typequ == 1) درصد @else تومان @endif

حداقل جمع سبد خرید: @if($coupon->mincart == 0) ندارد @else {{$coupon->mincart}} تومان @endif

حداکثر جمع سبد خرید: @if($coupon->maxcart == 0) ندارد @else {{$coupon->maxcart}} تومان @endif

تعداد کل استفاده از کد تخفیف: @if($coupon->totaluse == 0) ندارد @else {{$coupon->totaluse}} @endif

تعداد استفاده هر فرد: @if($coupon->use_person == 0) ندارد @else {{$coupon->use_person}}@endif

حداقل تعداد اقلام سبدخرید: @if($coupon->items == 0) ندارد @else {{$coupon->items}} @endif

جنسیت: @if($coupon->gender == '') ندارد @elseif($coupon->gender == 1) خانم @elseif($coupon->gender == 2) آقا @endif

@if($coupon->products->count() > 0)

محصولات دارای کدتخفیف: @foreach($coupon->products as $mm) {{$mm->title}}/ @endforeach

@endif @if($coupon->productcats->count() > 0)

دسته بندی های دارای کدتخفیف: @foreach($coupon->productcats as $kk) {{$kk->title}}/ @endforeach

@endif @if($coupon->users->count() > 0)

افراد مجاز به استفاده: @foreach($coupon->users as $nn) {{$nn->fname}} {{$nn->lname}}/ @endforeach

@endif

ارسال رایگان:@if($coupon->freeShipping == 1) بله @else خیر @endif

تعداد کل استفاده

{{$count}}


کل مبلغ تخفیف داده شده

{{$total}} تومان

@foreach($uses as $cop)
کاربر شماره سفارش تاریخ استفاده