fix! contracts table
This commit is contained in:
parent
2e85f70b8a
commit
bba500698f
@ -52,12 +52,12 @@
|
|||||||
$price = ($contract->price) ? Number::forHumans($contract->price, 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 . ' ₽';
|
$price = ($price) ? $price . ' ₽' : '';
|
||||||
$price = str_replace(' ', ' ', $price);
|
$price = str_replace(' ', ' ', $price);
|
||||||
?>
|
?>
|
||||||
{!! $price !!}
|
{!! $price !!}
|
||||||
</td>
|
</td>
|
||||||
<!-- <td class="align-middle d-none d-lg-table-cell"> -->
|
<!-- <td class="align-middle d-none d-lg-table-cell"> -->
|
||||||
<?php
|
<?php
|
||||||
$contract->reward = GetAgentPaymentForContract($contract);
|
$contract->reward = GetAgentPaymentForContract($contract);
|
||||||
//$contract->reward = $contract->reward ? $contract->reward : 0;
|
//$contract->reward = $contract->reward ? $contract->reward : 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user