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

233 lines
8.4 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;
}
</style>
@endsection
@section('content')
<div style="padding: 20px">
<div class="layui-tab layui-tab-card">
<ul class="layui-tab-title">
<li class="layui-this">基本信息</li>
<li class="">操作日志</li>
<li class="">支付日志</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
<table class="layui-table" lay-even>
<colgroup>
<col width="150">
<col width="200">
<col width="120">
<col width="120">
</colgroup>
<tbody>
<tr>
<td>产品名称</td>
<td>{{ $show->infos->prodcut_name }}</td>
<td>所属商户</td>
<td>{{ $show->infos['merchant_name'] }}</td>
</tr>
<tr>
<td>支付类型</td>
<td><span class="layui-badge layui-bg-blue">{{ $show->pay_type_name }}</span></td>
<td>支付流水号</td>
<td>{{ $show->pay_order_sn }}</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></td>
</tr>
<tr>
<td>手续费</td>
<td><span class="text-info ">{{ $show->pay_rate }}</span></td>
<td>扣点</td>
<td><span class="layui-badge layui-bg-green">{{ ($show->ratio/10).'%' }}</span></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>外站用户</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>
<table class="layui-table" lay-even>
<colgroup>
<col width="150">
<col width="200">
<col width="120">
<col width="120">
</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 class="layui-tab-item">
<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 class="layui-table" lay-even>
<colgroup>
<col width="150">
<col width="200">
<col width="120">
</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>{{ dump($show->pay_logs->data) }}</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