99 lines
4.6 KiB
PHP
99 lines
4.6 KiB
PHP
@extends('layouts.base')
|
|
@section('title', '红包奖励记录')
|
|
@section('content')
|
|
<style>
|
|
.time {
|
|
width: 30%;
|
|
float: left;
|
|
}
|
|
table a {
|
|
color: #333;
|
|
}
|
|
</style>
|
|
<div class="w1200 ">
|
|
<div class=" rightlist ">
|
|
<div class="right-titpos">
|
|
<ul class="add-snav">
|
|
<li class="active"><a href="#">红包奖励记录</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="right-addbox"><!-- 此处是右侧内容新包一层div -->
|
|
<div class="panel panel-info">
|
|
<div class="panel-body">
|
|
<form action="{!! yzWebUrl('plugin.team-dividend.admin.RedpackLog.index') !!}" method="post" class="form-horizontal" role="form" id="form1">
|
|
<div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
|
|
<select class="form-control tpl-category-parent" id="level" name="search[level_id]">
|
|
<option value="0">请选择经销商等级</option>
|
|
@foreach($levels as $level)
|
|
<option value="{{$level->id}}"
|
|
@if($search['level_id']==$level->id)
|
|
selected
|
|
@endif
|
|
>{{$level->level_name}}</option>
|
|
@endforeach
|
|
</select>
|
|
</div>
|
|
|
|
<div class="form-group col-xs-12 col-sm-7 col-lg-4">
|
|
<div class="">
|
|
<button class="btn btn-success "><i class="fa fa-search"></i> 搜索</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="clearfix">
|
|
<div class="panel panel-default">
|
|
<div class="panel-body table-responsive">
|
|
<table class="table table-hover">
|
|
<thead class="navbar-inner">
|
|
<tr>
|
|
<th width="16%">发放时间</th>
|
|
<th width="16%">经销商等级</th>
|
|
<th width="16%">开始时间</th>
|
|
<th width="16%">结束时间</th>
|
|
<th width="8%">商城利润</th>
|
|
<th width="8%">奖励比例</th>
|
|
<th width="8%">红包金额</th>
|
|
<th width="8%">红包数量</th>
|
|
<th width="20%">备注</th>
|
|
<th width="8%">操作</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach($list as $item)
|
|
<tr>
|
|
<td>{{$item->created_at}}</td>
|
|
<td>{{$item->hasOneLevel->level_name}}</td>
|
|
<td>{{$item->start_time}}</td>
|
|
<td>{{$item->end_time}}</td>
|
|
<td>{{$item->profit}}</td>
|
|
<td>{{$item->award_ratio}}</td>
|
|
<td>{{$item->ret_profit}}</td>
|
|
<td>{{$item->count}}</td>
|
|
<td>{{$item->remark}}</td>
|
|
<td style="position:relative; overflow:visible;" >
|
|
<a href="{{yzWebUrl('plugin.team-dividend.admin.RedPack.index', ['log_id' => $item->id])}}" class="btn btn-default btn-sm" title="删除"><i
|
|
class="fa fa-search"></i></a>
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
{!!$pager!!}
|
|
<!--分页-->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<style>
|
|
.table-hover tr th, .table-hover tr td{text-align: center;}
|
|
.input-group{
|
|
margin: 4px auto;height: 30px; line-height: 30px;
|
|
}
|
|
</style>
|
|
@endsection |