@extends('layouts.base') @section('content') @section('title', trans('区域订单'))
{{--
--}} {{----}} {{--
--}}
{!! app\common\helpers\AddressHelper::tplLinkedAddress(['search[province_id]','search[city_id]','search[district_id]','search[street_id]'], [])!!}
{!! 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['data'] as $row) {{----}} @endforeach
时间 订单号 订单地址 订单类型 店铺名称 订单金额(元) 区域代理结算金额
{{$row['id']}}{{ date('Y-m-d H:i:s', $row['created_at'])}} {{$row['order_sn']}} {{$row['address']['address']}} {{$row['plugin_name']}} @if ($row['plugin_id'] == 32) {{$row['has_one_store_order']['has_one_store']['store_name']}} @elseif($row['plugin_id'] == 31) {{$row['has_one_cashier_order']['has_one_store']['store_name']}} @elseif($row['is_plugin'] == 1) {{$row['has_one_supplier_order']['beLongs_to_supplier']['realname']}} @else 自营 @endif {{$row['price']}} @if ($row['has_one_area_dividend']) {{$row['has_one_area_dividend']['amount']}} @else 无分红 @endif
{!! $pager !!}
@endsection