Add batch mark paid+activate tool entry to platform orders page
This commit is contained in:
@@ -418,6 +418,53 @@
|
||||
<button type="submit">批量同步订阅(全部订单)</button>
|
||||
</form>
|
||||
|
||||
<form method="post" action="/admin/platform-orders/batch-mark-paid-and-activate" onsubmit="return confirm('确认批量将当前筛选范围内“待处理+未支付”的订单标记为已支付并生效,并同步订阅?(会补回执留痕;遇到退款/回执不一致会安全阀阻断并记录失败原因)');" class="mb-10">
|
||||
@csrf
|
||||
<input type="hidden" name="scope" value="filtered">
|
||||
<input type="hidden" name="status" value="{{ $filters['status'] ?? '' }}">
|
||||
<input type="hidden" name="payment_status" value="{{ $filters['payment_status'] ?? '' }}">
|
||||
<input type="hidden" name="merchant_id" value="{{ $filters['merchant_id'] ?? '' }}">
|
||||
<input type="hidden" name="plan_id" value="{{ $filters['plan_id'] ?? '' }}">
|
||||
<input type="hidden" name="site_subscription_id" value="{{ $filters['site_subscription_id'] ?? '' }}">
|
||||
<input type="hidden" name="fail_only" value="{{ $filters['fail_only'] ?? '' }}">
|
||||
<input type="hidden" name="synced_only" value="{{ $filters['synced_only'] ?? '' }}">
|
||||
<input type="hidden" name="sync_status" value="{{ $filters['sync_status'] ?? '' }}">
|
||||
<input type="hidden" name="receipt_status" value="{{ $filters['receipt_status'] ?? '' }}">
|
||||
<input type="hidden" name="refund_status" value="{{ $filters['refund_status'] ?? '' }}">
|
||||
<input type="hidden" name="syncable_only" value="{{ $filters['syncable_only'] ?? '' }}">
|
||||
<input type="hidden" name="batch_synced_24h" value="{{ $filters['batch_synced_24h'] ?? '' }}">
|
||||
<input type="hidden" name="batch_mark_activated_24h" value="{{ $filters['batch_mark_activated_24h'] ?? '' }}">
|
||||
<input type="hidden" name="keyword" value="{{ $filters['keyword'] ?? '' }}">
|
||||
<input type="hidden" name="sync_error_keyword" value="{{ $filters['sync_error_keyword'] ?? '' }}">
|
||||
<input type="hidden" name="reconcile_mismatch" value="{{ $filters['reconcile_mismatch'] ?? '' }}">
|
||||
<input type="hidden" name="refund_inconsistent" value="{{ $filters['refund_inconsistent'] ?? '' }}">
|
||||
|
||||
<label class="muted form-inline-row mb-8">
|
||||
<span>本次最多处理</span>
|
||||
<input type="number" name="limit" value="50" min="1" max="500" class="w-90">
|
||||
<span>条(安全阀)</span>
|
||||
</label>
|
||||
|
||||
<div class="muted mb-8">提示:建议先筛选「待处理 + 未支付」后再执行,避免误操作。</div>
|
||||
<button type="submit">批量标记支付并生效(含订阅同步)(当前筛选范围)</button>
|
||||
</form>
|
||||
|
||||
<form method="post" action="/admin/platform-orders/batch-mark-paid-and-activate" onsubmit="return confirm('确认对全部订单执行批量标记支付并生效(含订阅同步)?该操作仍只处理“待处理+未支付”的订单,但范围可能很大。');" class="mb-10">
|
||||
@csrf
|
||||
<input type="hidden" name="scope" value="all">
|
||||
<label class="muted form-inline-row mb-8">
|
||||
<span>确认输入</span>
|
||||
<input type="text" name="confirm" placeholder="YES" class="w-140">
|
||||
<span>(必须输入 YES 才会执行)</span>
|
||||
</label>
|
||||
<label class="muted form-inline-row mb-8">
|
||||
<span>本次最多处理</span>
|
||||
<input type="number" name="limit" value="50" min="1" max="500" class="w-90">
|
||||
<span>条(安全阀)</span>
|
||||
</label>
|
||||
<button type="submit">批量标记支付并生效(含订阅同步)(全部订单)</button>
|
||||
</form>
|
||||
|
||||
<form method="post" action="/admin/platform-orders/batch-mark-activated" onsubmit="return confirm('确认批量将当前筛选范围内“已支付+待处理”的订单标记为已生效?(不修改支付状态,不自动同步订阅)');" class="mb-10">
|
||||
@csrf
|
||||
<input type="hidden" name="scope" value="filtered">
|
||||
|
||||
Reference in New Issue
Block a user