@extends('admin.public.base') @section('body_class') style="margin: 0 auto;width: 96%;padding: 30px 0px;" @endsection @section('content')
重置
@foreach ($list as $a) @endforeach
优惠券编码 优惠券名称 指定商品 优惠券类型 优惠券状态 客户编码 有效期限 操作
{{$a['coupon_code']}} {{$a['coupon_name']}} {{$a['type_id']==2?'全部商品':'指定商品'}} @if ($a['rebate_type'] == 1) 满减券 @endif @if ($a['rebate_type'] == 2) 折扣券 @endif @if ($a['rebate_type'] == 3) 赠品券 @endif @if ($a['status'] == 0) 正常 @endif @if ($a['status'] == 1) 已用 @endif @if ($a['status'] == 2) 暂停 @endif @if ($a['status'] == 3) 过期 @endif @if ($a['status'] == 4) 作废 @endif {{$a['custom_code']}} {{date('Y/m/d H:i:s',$a['exp_time'])}} @if( check_auth('admin/custom_coupon/set_status') ) @if ( $a['status'] == 4 ) 恢复 @endif @if ( $a['status'] == 0 ) 作废 @endif @endif
{{$list->render()}}
总计 {{$list->total()}} 个记录
@endsection