@extends('layouts.base') @section('content') @section('title', trans('创客订单管理'))
{!! app\common\helpers\DateRange::tplFormFieldDateRange('search[time]', ['starttime'=>$search['time']['start'], 'endtime'=>$search['time']['end'], 'start'=>$search['time']['start'], 'end'=>$search['time']['end'] ], true) !!}
{{----}}
@foreach($list as $row) @endforeach
ID 订单号 购买者信息 姓名
手机号
订单金额 创客计算金额
计算方式
推荐者信息 姓名
手机号
推荐者创客等级
创客层级/佣金比例
佣金金额 佣金状态
{{$row['id']}} @if($row['ordertable_type'] != 'Yunshop\ClockIn\models\ClockPayLogModel') {{$row['order']['order_sn']}} @else {{$clock_name}}创客奖励 @endif
{{$row->hasOneMember->nickname}}
{{$row->hasOneMember->realname}}
{{$row->hasOneMember->mobile}}
@if($row['ordertable_type'] != 'Yunshop\ClockIn\models\ClockPayLogModel') {{$row['order']['price']}} @else {{$row['commission_amount']}} @endif {{$row['commission_amount']}}
{{$row['formula']}}

{{$row['parentMember']['nickname']}}
{{$row['parentMember']['realname']}}
{{$row['parentMember']['mobile']}}
{{$row->agent['agentLevel']['name']}}
层级:{{$row['hierarchy']}} - 比例:{{$row['commission_rate']}}
@if($row['status'] <= '1' && $row['status'] != '-1') {{$row['commission']}} 修改 @else {{$row['commission']}} @endif @if($row['status'] == '-1') 无效佣金 @elseif($row['status'] == '0') 预计佣金 @elseif($row['status'] == '1') 未结算 @elseif($row['status'] == '2' && $row['withdraw'] == '0') 未提现 @elseif($row['status'] == '2' && $row['withdraw'] == '1') 已提现 @elseif($row['status'] == '2') 已结算 @endif
{!! $pager !!}
@endsection