fix! contracts table
This commit is contained in:
parent
5c2d5f2bcb
commit
2e85f70b8a
@ -49,7 +49,7 @@
|
||||
</td>
|
||||
<td class="align-middle d-none d-lg-table-cell">
|
||||
<?php
|
||||
$price = Number::forHumans($contract->price, precision: 2);
|
||||
$price = ($contract->price) ? Number::forHumans($contract->price, 2) : '';
|
||||
$price = str_replace('million', 'млн', $price);
|
||||
$price = str_replace('thousand', 'тыс', $price);
|
||||
$price = $price . ' ₽';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user