diff --git a/app/Modules/Contracts/Views/livewire/table/index.blade.php b/app/Modules/Contracts/Views/livewire/table/index.blade.php index 808efed..03f163e 100644 --- a/app/Modules/Contracts/Views/livewire/table/index.blade.php +++ b/app/Modules/Contracts/Views/livewire/table/index.blade.php @@ -59,14 +59,14 @@ 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')