统一仪表盘扫描行已付无回执显示口径
This commit is contained in:
@@ -1000,7 +1000,7 @@
|
||||
// partially_refunded 属于“已支付但发生退款”的治理集合:扫描行应展示退款轨迹(避免显示 "-" 造成误判)。
|
||||
$isPartiallyRefunded = ($paymentStatus === 'partially_refunded');
|
||||
|
||||
$receiptStatusText = $isPaid ? ($hasReceiptEvidence ? '有' : '无') : '-';
|
||||
$receiptStatusText = $isPaid ? ($hasReceiptEvidence ? '有' : '已付无回执') : '-';
|
||||
$reconcileStatusText = ($isPaid && $hasReceiptEvidence)
|
||||
? ($po->isReconcileMismatch() ? '不一致' : '一致')
|
||||
: '-';
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user