platform_orders index: introduce row-warn helper class for inline governance hints

This commit is contained in:
萝卜
2026-03-14 13:11:39 +00:00
parent 6446eb4ad3
commit 714cbe7ba4
3 changed files with 84 additions and 4 deletions

View File

@@ -1081,7 +1081,7 @@
$noReceiptFixUrlRow = '/admin/platform-orders/' . $order->id . '?' . \Illuminate\Support\Arr::query(['back' => $selfWithoutBack]) . '#add-payment-receipt';
@endphp
@if($order->payment_status === 'paid' && ! $hasReceiptEvidenceRow)
<div class="muted text-danger muted-xs">
<div class="muted text-danger muted-xs row-warn">
无回执
<span class="muted"></span>
<a class="link" href="{!! $noReceiptFixUrlRow !!}">去补回执</a>
@@ -1132,10 +1132,10 @@
@if(! $isFullView)
@if($syncErr !== '')
<div class="muted muted-xs text-danger">原因:{{ mb_substr($syncErr, 0, $SYNC_FAILED_REASON_TRUNCATE_LEN) }}</div>
<div class="muted muted-xs text-danger row-warn">原因:{{ mb_substr($syncErr, 0, $SYNC_FAILED_REASON_TRUNCATE_LEN) }}</div>
@endif
@if($bmpaErrCompact !== '')
<div class="muted muted-xs text-danger">BMPA{{ mb_substr($bmpaErrCompact, 0, $SYNC_FAILED_REASON_TRUNCATE_LEN) }}</div>
<div class="muted muted-xs text-danger row-warn">BMPA{{ mb_substr($bmpaErrCompact, 0, $SYNC_FAILED_REASON_TRUNCATE_LEN) }}</div>
@endif
@endif
</td>
@@ -1373,7 +1373,7 @@
@endphp
@if($needReconcileFix || $needRefundFix)
<div class="governance-hints">
<div class="governance-hints row-warn">
@if($needReconcileFix)
<div class="muted text-danger muted-xs governance-hint">
对账不一致