平台订单详情:存在退款/回执差额时禁用BMPA按钮并加护栏测试
This commit is contained in:
@@ -181,7 +181,7 @@
|
||||
<div style="margin-top:16px; display:flex; gap:12px; flex-wrap:wrap; align-items:center;">
|
||||
<form method="post" action="/admin/platform-orders/{{ $order->id }}/mark-paid-and-activate" onsubmit="return confirm('确认将该订单标记为已支付并生效?此操作会推进状态并尝试同步订阅');">
|
||||
@csrf
|
||||
<button type="submit" @disabled(! $canMarkPaid)>标记支付并生效</button>
|
||||
<button type="submit" @disabled(! $canMarkPaid || $markPaidBlockedByRefund || $markPaidBlockedByReceiptMismatch)>标记支付并生效</button>
|
||||
</form>
|
||||
|
||||
@if($markPaidBlockedByRefund)
|
||||
|
||||
Reference in New Issue
Block a user