ui: reconcile mismatch hint links to add payment receipt form
This commit is contained in:
@@ -247,6 +247,8 @@
|
|||||||
<div class="muted text-danger" style="margin-top:10px; margin-bottom:10px;">
|
<div class="muted text-danger" style="margin-top:10px; margin-bottom:10px;">
|
||||||
提示:该订单「回执总额 vs 已付金额」存在差异,可能对账不一致。
|
提示:该订单「回执总额 vs 已付金额」存在差异,可能对账不一致。
|
||||||
<span class="muted">|</span>
|
<span class="muted">|</span>
|
||||||
|
<a class="link" href="#add-payment-receipt">去补一条支付回执</a>
|
||||||
|
<span class="muted">|</span>
|
||||||
<a class="link" href="/admin/platform-orders?reconcile_mismatch=1">查看全部对账不一致订单</a>
|
<a class="link" href="/admin/platform-orders?reconcile_mismatch=1">查看全部对账不一致订单</a>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
@@ -283,7 +285,7 @@
|
|||||||
<p class="muted">暂无支付回执记录。</p>
|
<p class="muted">暂无支付回执记录。</p>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<details style="margin-top:12px;">
|
<details style="margin-top:12px;" id="add-payment-receipt">
|
||||||
<summary class="muted">追加一条支付回执(不自动改状态)</summary>
|
<summary class="muted">追加一条支付回执(不自动改状态)</summary>
|
||||||
<form method="post" action="/admin/platform-orders/{{ $order->id }}/add-payment-receipt" style="margin-top:10px;">
|
<form method="post" action="/admin/platform-orders/{{ $order->id }}/add-payment-receipt" style="margin-top:10px;">
|
||||||
@csrf
|
@csrf
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ class AdminPlatformOrderShowReconcileMismatchHintTest extends TestCase
|
|||||||
$this->get('/admin/platform-orders/' . $order->id)
|
$this->get('/admin/platform-orders/' . $order->id)
|
||||||
->assertOk()
|
->assertOk()
|
||||||
->assertSee('对账不一致')
|
->assertSee('对账不一致')
|
||||||
|
->assertSee('#add-payment-receipt', false)
|
||||||
->assertSee('/admin/platform-orders?reconcile_mismatch=1', false);
|
->assertSee('/admin/platform-orders?reconcile_mismatch=1', false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user