diff --git a/app/Modules/Contracts/Views/livewire/table/index.blade.php b/app/Modules/Contracts/Views/livewire/table/index.blade.php index ee3ef99..808efed 100644 --- a/app/Modules/Contracts/Views/livewire/table/index.blade.php +++ b/app/Modules/Contracts/Views/livewire/table/index.blade.php @@ -57,28 +57,28 @@ ?> {!! $price !!} - reward = GetAgentPaymentForContract($contract); + /* $contract->reward = GetAgentPaymentForContract($contract); //$contract->reward = $contract->reward ? $contract->reward : 0; $reward = Number::forHumans($contract->reward, precision: 2); $reward = str_replace('million', 'млн', $reward); $reward = str_replace('thousand', 'тыс', $reward); $reward = $reward . ' ₽'; $reward = str_replace(' ', ' ', $reward); - ?> + */ ?> @if ($contract->status == 'TREATY') - {!! $reward !!} + @else - {!! $reward !!} - + --> @endif - - --> + + +
Стоимость