订阅详情:退款不一致卡片展示当前金额容差配置

This commit is contained in:
萝卜
2026-03-13 16:22:43 +00:00
parent 8a405535c8
commit ab856f2346

View File

@@ -203,6 +203,8 @@
退款不一致订单:
<a class="link" href="{!! $makePlatformOrderUrl(['site_subscription_id' => $subscription->id, 'refund_inconsistent' => '1']) !!}">{{ $summaryStats['refund_inconsistent_orders'] ?? 0 }}</a>
</div>
@php $refundTol = (float) config('saasshop.amounts.tolerance', 0.01); @endphp
<div class="muted muted-xs">当前容差:¥{{ number_format($refundTol, 2) }}</div>
@if(((int) ($summaryStats['refund_inconsistent_orders'] ?? 0)) > 0)
<div class="muted muted-xs text-danger">
提示:存在退款状态与退款总额不一致订单。