平台订单详情:展示当前金额容差配置
This commit is contained in:
@@ -59,9 +59,12 @@
|
|||||||
if ($refundCount <= 0) {
|
if ($refundCount <= 0) {
|
||||||
$refundCount = count($refundReceiptsRaw);
|
$refundCount = count($refundReceiptsRaw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$amountTol = (float) config('saasshop.amounts.tolerance', 0.01);
|
||||||
@endphp
|
@endphp
|
||||||
<tr><th>回执数 / 回执总额</th><td>{{ $receiptCount }} / ¥{{ number_format($receiptTotal, 2) }}</td></tr>
|
<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>{{ $refundCount }} / ¥{{ number_format($refundTotal, 2) }}</td></tr>
|
||||||
|
<tr><th>金额容差</th><td>¥{{ number_format($amountTol, 2) }}</td></tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user