@extends('admin.public.base') @section('body_class') style="margin: 0 auto;width: 96%;padding: 30px 0px;" @endsection @section('content')
优惠券编码 | 优惠券名称 | 优惠券类型 | 优惠力度 | 已领取/发行量 | 活动城市 | 商品范围 | 发放类型 | 店铺 | 优惠券状态 | 发放时间 | 修改时间 | 操作 | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$a['coupon_code']}} | {{$a['name']}} | @if ($a['rebate_type'] == 1) 满减券 @endif @if ($a['rebate_type'] == 2) 折扣券 @endif @if ($a['rebate_type'] == 3) 赠品券 @endif | 满 {{$a['std_pay']}} 元 @if ($a['rebate_type'] == 1) 减 {{$a['rebate']}} 元 @endif @if ($a['rebate_type'] == 2) 打 {{$a['rebate']}} 折 @endif @if ($a['rebate_type'] == 3) 赠送 {{$a['rebate']}} @endif | {{$a['custom_total']}}/{{$a['issue_total']}} | {{$a['city_ids']}} | @if ( $a['type_id'] == 1 ) 指定商品 @elseif ( $a['type_id'] == 3 ) 排除商品 @else 全部商品 @endif | {{$a['gant_name']}} | @if ($a['status'] == 0) @if ( $a['start_time'] > time() ) 待开始 @else 进行中 @endif @endif @if ($a['status'] == 2) 停用 @endif @if ($a['status'] == 3) 结束 @endif @if ($a['status'] == 4) 作废 @endif | {{date('Y/m/d H:i',$a['start_time'])}} ~ {{date('Y/m/d H:i:s',$a['end_time'])}} | {{date('Y/m/d H:i',$a['update_time'])}} | @if( check_auth('admin/custom_coupon/add') ) 发放优惠券 @endif @if( check_auth('admin/coupon/edit') ) 编辑 @endif @if( check_auth('admin/custom_coupon/index') ) 发放记录 @endif @if( check_auth('admin/coupon/set_status') ) @if ( $a['status'] == 2) 启用 @endif @if( $a['status'] == 0) 停用 @endif @if ( $a['status'] < 3 ) 作废 @endif @endif | ||||||||
{{$list->render()}} | |||||||||||||||||||
总计 {{$list->total()}} 个产品 |