fix! contracts table

This commit is contained in:
developer 2026-04-08 12:22:41 +08:00
parent 5c2d5f2bcb
commit 2e85f70b8a

View File

@ -49,7 +49,7 @@
</td> </td>
<td class="align-middle d-none d-lg-table-cell"> <td class="align-middle d-none d-lg-table-cell">
<?php <?php
$price = Number::forHumans($contract->price, precision: 2); $price = ($contract->price) ? Number::forHumans($contract->price, 2) : '';
$price = str_replace('million', 'млн', $price); $price = str_replace('million', 'млн', $price);
$price = str_replace('thousand', 'тыс', $price); $price = str_replace('thousand', 'тыс', $price);
$price = $price . ' &#8381'; $price = $price . ' &#8381';