平台订单详情:去补回执/去核对退款链接携带 back+锚点
This commit is contained in:
@@ -194,13 +194,19 @@
|
||||
<div class="muted text-danger" style="margin-top:6px; width:100%;">
|
||||
提示:当前订单命中「对账不一致/退款不一致」,为避免带病同步,请先完成金额/状态治理(补回执/核对退款/修正状态)后再同步订阅。
|
||||
@if($order->isReconcileMismatch())
|
||||
<a class="link" href="/admin/platform-orders/{{ $order->id }}#add-payment-receipt">去补回执</a>
|
||||
@php
|
||||
$fixReceiptUrl = '/admin/platform-orders/' . $order->id . '?' . \Illuminate\Support\Arr::query(['back' => $orderShowSelf]) . '#add-payment-receipt';
|
||||
@endphp
|
||||
<a class="link" href="{!! $fixReceiptUrl !!}">去补回执</a>
|
||||
@endif
|
||||
@if($order->isReconcileMismatch() && $order->isRefundInconsistent())
|
||||
<span class="muted">|</span>
|
||||
@endif
|
||||
@if($order->isRefundInconsistent())
|
||||
<a class="link" href="/admin/platform-orders/{{ $order->id }}#refund-receipts">去核对退款</a>
|
||||
@php
|
||||
$fixRefundUrl = '/admin/platform-orders/' . $order->id . '?' . \Illuminate\Support\Arr::query(['back' => $orderShowSelf]) . '#refund-receipts';
|
||||
@endphp
|
||||
<a class="link" href="{!! $fixRefundUrl !!}">去核对退款</a>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user