sifangpay/resources/views/admin/order/show.blade.php

257 lines
9.6 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@extends('admin.layouts.base')
@section('add_css')
<style>
.layui-tab-content {
background: #fff;
}
.layui-this {
background: #fff;
}
</style>
@endsection
@section('content')
<div style="padding: 20px">
<div class="layui-tab">
<ul class="layui-tab-title">
<li class="layui-this">基本信息</li>
<li>操作日志</li>
<li>支付日志</li>
</ul>
<div class="layui-tab-content ">
<div class="layui-tab-item layui-show ">
<div class="table-responsive">
<table class="layui-table" lay-even>
<colgroup>
<col width="120">
<col width="">
<col width="120">
<col width="">
</colgroup>
<tbody>
<tr>
<td>商户ID</td>
<td>{{ $show->merchant_id }}</td>
<td>商户名字</td>
<td>{{ $show->merchant_name }}</td>
</tr>
<tr>
<td>订单号</td>
<td>{{ $show->order_sn }}</td>
<td>商户订单号</td>
<td>{{ $show->out_trade_sn }}</td>
</tr>
<tr>
<td>支付类型</td>
<td><span class="layui-badge layui-bg-blue">{{ $show->pay_type_name }}
-{{ $show->pay_method_name }}</span></td>
<td>支付流水号</td>
<td>{{ $show->pay_order_sn }}</td>
</tr>
<tr>
<td>通道ID</td>
<td><span class="layui-badge layui-bg-blue">{{ $show->gateway_id }}
</span></td>
<td>通道账号</td>
<td>{{ $show->infos->gateway_name }}</td>
</tr>
<tr>
<td>订单金额</td>
<td><span class="text-blue ">{{ $show->order_money }}</span></td>
<td>实付金额</td>
<td><span class="text-danger ">{{ $show->pay_money }}</span></td>
</tr>
<tr>
<td>结算金额</td>
<td><span class="text-blue ">{{ $show->total_money }}</span></td>
<td>手续费/扣点</td>
<td><span class="text-info ">{{ $show->pay_rate }} ({{ ($show->ratio/10).'%' }})</td>
</tr>
<tr>
<td>订单状态</td>
<td><span class=" ">{{ $show->order_status_name }}</span></td>
<td>支付状态</td>
<td><span class=" ">{{ $show->pay_status_name }}</span></td>
</tr>
<tr>
<td>订单编号</td>
<td><span class="text-blue">{{ $show->order_sn }}</span></td>
<td>外站编号</td>
<td><span class="text-blue">{{ $show->out_trade_sn }}</span></td>
</tr>
<tr>
<td>订单时间</td>
<td><span class="text-blue">{{ $show->order_at }}</span></td>
<td>支付时间</td>
<td><span class="text-blue">{{ $show->pay_ok_at }}</span></td>
</tr>
<tr>
<td>本站会员ID</td>
<td>{{ $show->local_user_id }}</td>
<td>商户会员ID</td>
<td>{{ $show->out_user_id }},{{ $show->username }}</td>
</tr>
<tr>
<td>备注</td>
<td>{{ $show->mark }}</td>
<td>订单id</td>
<td>{{ $show->id }}</td>
</tr>
</tbody>
</table>
</div>
<div class="table-responsive">
<table class="layui-table" lay-even>
<colgroup>
<col width="150">
<col width="">
<col width="120">
<col width="">
</colgroup>
<tbody>
<tr>
<td>同步回调</td>
<td>
{{ $show->infos['return_url'] }}
</td>
<td>异步回调</td>
<td> {{ $show->infos['notify_url'] }}</td>
</tr>
<tr>
<td>订单来源</td>
<td>{{ $show->infos['from_url'] }}</td>
<td>来源ip</td>
<td>{{ $show->infos['ip'] }}</td>
</tr>
<tr>
<td>异步内容</td>
<td colspan="3">
<pre>{!! print_r(json_decode($show->infos['notify_data'],1)) !!}</pre>
</td>
</tr>
<tr>
<td>支付返回数据</td>
<td colspan="3">{{ ($show->infos['notify_status']) }}</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="layui-tab-item table-responsive">
<table class="layui-table" lay-even>
<colgroup>
<col width="150">
<col width="200">
<col width="120">
</colgroup>
<thead>
<tr>
<td>时间</td>
<td>内容</td>
<td>操作人</td>
</tr>
</thead>
<tbody>
@if(count($show->handle_logs)>0)
@foreach ($show->handle_logs as $v)
<tr>
<td>{{ $v->created_at }}</td>
<td>{{ $v->name }}</td>
<td>{{ $v->handle_user_name }}</td>
</tr>
@endforeach
@endif
</tbody>
</table>
</div>
<div class="layui-tab-item table-responsive">
<table class="layui-table" lay-even>
<colgroup>
<col width="150">
<col width="200">
<col>
</colgroup>
<thead>
<tr>
<td>创建时间</td>
<td>支付流水号</td>
<td>支付金额</td>
<td>返回数据</td>
</tr>
</thead>
<tbody>
<tr>
<td>{{ $show->pay_logs->created_at }}</td>
<td>{{ $show->pay_logs->pay_order_sn }}</td>
<td>{{ $show->pay_logs->pay_money }}</td>
<td>
<pre class="layui-code">{!! print_r(json_decode($show->pay_logs->data,1)) !!}</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
@endsection
@section('add_js')
<script>
layui.use(['index', 'form', 'verify', 'custorm', 'laydate'], function () {
var $ = layui.$
, custorm = layui.custorm
, form = layui.form;
var laydate = layui.laydate;
layer.photos({
photos: '.layui-card-body'
, anim: 5 //0-6的选择指定弹出图片动画类型默认随机请注意3.0之前的版本用shift参数
});
});
</script>
@endsection