统一仪表盘扫描行已付无回执显示口径

This commit is contained in:
萝卜
2026-03-19 01:55:49 +08:00
parent ef5f2fe8eb
commit 0612224c86
2 changed files with 3 additions and 3 deletions

View File

@@ -1000,7 +1000,7 @@
// partially_refunded 属于“已支付但发生退款”的治理集合:扫描行应展示退款轨迹(避免显示 "-" 造成误判)。
$isPartiallyRefunded = ($paymentStatus === 'partially_refunded');
$receiptStatusText = $isPaid ? ($hasReceiptEvidence ? '有' : '') : '-';
$receiptStatusText = $isPaid ? ($hasReceiptEvidence ? '有' : '已付无回执') : '-';
$reconcileStatusText = ($isPaid && $hasReceiptEvidence)
? ($po->isReconcileMismatch() ? '不一致' : '一致')
: '-';

View File

@@ -63,9 +63,9 @@ class AdminDashboardRecentPlatformOrdersScanlineNoReceiptShouldLinkToAddReceiptP
$res->assertSee('PO_DASH_SCANLINE_PAID_NO_RECEIPT_0001');
// 回执: 应可直达补回执面板(#add-payment-receipt
// 回执:已付无回执 应可直达补回执面板(#add-payment-receipt
$res->assertSee('回执:', false);
$res->assertSee('#add-payment-receipt', false);
$res->assertSee('', false);
$res->assertSee('已付无回执', false);
}
}