@extends('admin.public.base') @section('body_class') style="margin: 0 auto;width: 96%;padding: 30px 0px;" @endsection @section('content') @if(check_auth('admin/regiment_active/add'))
@endif活动编码 | 活动名称 | 产品名称 | 拼团人数(人) | 活动价格(元) | 拼团有效期 | 商业公司 | 状态 | 活动时间 | 创建时间 | 修改时间 | 操作 | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$a['code']}} | {{$a['name']}} | {{$a['product_name']}} | {{$a['number']}} | {{$a['regiment_price']}} | {{$a['expiration']}} | {{$a['business_name']}} | @if( $a['status'] === 2) 停用 @else @if( $a['start_time'] <= time() && $a['end_time'] <= time() ) 已结束 @endif @if( $a['start_time'] <= time() && $a['end_time'] > time() ) 进行中 @endif @if( $a['start_time'] > time() ) 待进行 @endif @endif | {{date('Y/m/d H:i:s',$a['start_time'])}} {{date('Y/m/d H:i:s',$a['end_time'])}} |
{{date('Y/m/d H:i:s',$a['insert_time'])}} | {{date('Y/m/d H:i:s',$a['update_time'])}} | @if(check_auth('admin/regiment_active/edit')) 编辑 @endif @if(check_auth('admin/regiment_active/copy')) 复制 @endif @if(check_auth('admin/regiment_active/set_status')) @if($a['status'] === 2) 启用 @else 停用 @endif @endif | ||||||||
{{$list->render()}} | |||||||||||||||||||
总计 {{$list->total()}} 个商店 |