ux(platform-orders): refund inconsistent fix link to add-refund-receipt

This commit is contained in:
萝卜
2026-03-17 08:18:23 +08:00
parent 0430deadb9
commit 0458399b9b
2 changed files with 62 additions and 2 deletions

View File

@@ -1639,7 +1639,7 @@
@endphp
@if($refundTotal > 0)
@if($isRefundInconsistent)
@php $refundFixUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $order->id, $selfWithoutBack, 'refund-receipts'); @endphp
@php $refundFixUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $order->id, $selfWithoutBack, 'add-refund-receipt'); @endphp
<a class="link text-danger" href="{!! $refundShowUrl !!}">¥{{ number_format($refundTotal, 2) }}</a>
<div class="muted text-danger muted-xs">
疑似不一致
@@ -1672,7 +1672,7 @@
$needReconcileFix = (bool) $order->isReconcileMismatch();
$needRefundFix = (bool) $order->isRefundInconsistent();
$reconcileFixUrlCompact = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $order->id, $selfWithoutBack, 'add-payment-receipt');
$refundFixUrlCompact = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $order->id, $selfWithoutBack, 'refund-receipts');
$refundFixUrlCompact = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $order->id, $selfWithoutBack, 'add-refund-receipt');
@endphp
@if($needReconcileFix || $needRefundFix)