Дополнение к скрытию вознаграждения (для страницы деталей)
This commit is contained in:
parent
a3819c730e
commit
1d588fbd37
@ -86,11 +86,13 @@ class="bi bi-arrow-right" viewBox="0 0 16 16">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@if ($contract->status == 'SUCCESS')
|
||||
<div class="col col-md-6">
|
||||
<div class="fs-6 text-secondary">Вознаграждение</div>
|
||||
<div class="fw-bold fs-5 text-truncate text-dark-emphasis">
|
||||
{{ number_format(GetAgentPaymentForContract($contract), 2, ',', ' ') }}</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@ -57,7 +57,7 @@
|
||||
?>
|
||||
{!! $price !!}
|
||||
</td>
|
||||
<!-- <td class="align-middle d-none d-lg-table-cell"> -->
|
||||
<td class="align-middle d-none d-lg-table-cell">
|
||||
<?php
|
||||
$contract->reward = GetAgentPaymentForContract($contract);
|
||||
//$contract->reward = $contract->reward ? $contract->reward : 0;
|
||||
@ -69,27 +69,29 @@
|
||||
?>
|
||||
|
||||
@if ($contract->status == 'TREATY')
|
||||
<!-- <span class="fw-bold">{!! $reward !!}</span> -->
|
||||
<span class="fw-bold">{!! $reward !!}</span>
|
||||
@else
|
||||
<!-- <span style="text-decoration:underline;text-decoration-style: dotted;cursor:pointer"
|
||||
<span style="text-decoration:underline;text-decoration-style: dotted;cursor:pointer"
|
||||
title='Вознаграждение будет зафиксировано при изменении статуса на "Выплачено"'>
|
||||
{!! $reward !!}
|
||||
</span> -->
|
||||
</span>
|
||||
@endif
|
||||
|
||||
<!-- </td> -->
|
||||
</td>
|
||||
|
||||
<td class="d-block d-lg-none d-flex flex-row">
|
||||
<div class="w-100">
|
||||
<span class="d-block d-md-none fs-6 text-secondary">Стоимость</span>
|
||||
{!! $price !!}
|
||||
</div>
|
||||
<div class="d-flex flex-column">
|
||||
<!--
|
||||
<div class="d-flex flex-column">
|
||||
<span class="d-block d-md-none fs-6 text-secondary">Вознаграждение</span>
|
||||
<div>
|
||||
{!! $reward !!}
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
</td>
|
||||
<td class="align-middle d-none d-md-table-cell">
|
||||
<div class="py-1 px-3 border rounded rounded-5 text-center"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user