平台订单列表:对账不一致行提示增加去补回执直达

This commit is contained in:
萝卜
2026-03-11 07:40:11 +00:00
parent fe78043cf5
commit ec5c0cd54b
2 changed files with 7 additions and 1 deletions

View File

@@ -604,8 +604,13 @@
$reconcileShowUrl = '/admin/platform-orders/' . $order->id . '#payment-receipts'; $reconcileShowUrl = '/admin/platform-orders/' . $order->id . '#payment-receipts';
@endphp @endphp
@if($isReconcileMismatchRow) @if($isReconcileMismatchRow)
@php $reconcileFixUrl = '/admin/platform-orders/' . $order->id . '#add-payment-receipt'; @endphp
<a class="link text-danger" href="{{ $reconcileShowUrl }}">¥{{ number_format($rowDelta, 2) }}</a> <a class="link text-danger" href="{{ $reconcileShowUrl }}">¥{{ number_format($rowDelta, 2) }}</a>
<div class="muted text-danger muted-xs">对账不一致</div> <div class="muted text-danger muted-xs">
对账不一致
<span class="muted"></span>
<a class="link" href="{{ $reconcileFixUrl }}">去补回执</a>
</div>
@else @else
<span class="muted">¥0.00</span> <span class="muted">¥0.00</span>
@endif @endif

View File

@@ -66,6 +66,7 @@ class AdminPlatformOrderReconcileMismatchRowHintTest extends TestCase
->assertOk() ->assertOk()
->assertSee('PO_RECON_ROW_HINT_0001') ->assertSee('PO_RECON_ROW_HINT_0001')
->assertSee('/admin/platform-orders/' . $order->id . '#payment-receipts', false) ->assertSee('/admin/platform-orders/' . $order->id . '#payment-receipts', false)
->assertSee('/admin/platform-orders/' . $order->id . '#add-payment-receipt', false)
->assertSee('对账不一致'); ->assertSee('对账不一致');
} }
} }