平台订单详情:展示当前金额容差配置

This commit is contained in:
萝卜
2026-03-13 16:20:48 +00:00
parent 23bec0c2dc
commit 8a405535c8

View File

@@ -59,9 +59,12 @@
if ($refundCount <= 0) {
$refundCount = count($refundReceiptsRaw);
}
$amountTol = (float) config('saasshop.amounts.tolerance', 0.01);
@endphp
<tr><th>回执数 / 回执总额</th><td>{{ $receiptCount }} / ¥{{ number_format($receiptTotal, 2) }}</td></tr>
<tr><th>退款笔数 / 退款总额</th><td>{{ $refundCount }} / ¥{{ number_format($refundTotal, 2) }}</td></tr>
<tr><th>金额容差</th><td>¥{{ number_format($amountTol, 2) }}</td></tr>
</tbody>
</table>