From 1d588fbd378813f1e2807f2b2b721d993e6c5e84 Mon Sep 17 00:00:00 2001 From: Dmitry Karpukhin Date: Sun, 30 Nov 2025 15:40:41 +0800 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=BA=20=D1=81=D0=BA=D1=80=D1=8B=D1=82?= =?UTF-8?q?=D0=B8=D1=8E=20=D0=B2=D0=BE=D0=B7=D0=BD=D0=B0=D0=B3=D1=80=D0=B0?= =?UTF-8?q?=D0=B6=D0=B4=D0=B5=D0=BD=D0=B8=D1=8F=20(=D0=B4=D0=BB=D1=8F=20?= =?UTF-8?q?=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86=D1=8B=20=D0=B4=D0=B5?= =?UTF-8?q?=D1=82=D0=B0=D0=BB=D0=B5=D0=B9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Modules/Contracts/Views/contract.blade.php | 2 ++ .../Contracts/Views/livewire/table/index.blade.php | 14 ++++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/app/Modules/Contracts/Views/contract.blade.php b/app/Modules/Contracts/Views/contract.blade.php index 68a73e2..fcde47b 100644 --- a/app/Modules/Contracts/Views/contract.blade.php +++ b/app/Modules/Contracts/Views/contract.blade.php @@ -86,11 +86,13 @@ class="bi bi-arrow-right" viewBox="0 0 16 16"> + @if ($contract->status == 'SUCCESS')
Вознаграждение
{{ number_format(GetAgentPaymentForContract($contract), 2, ',', ' ') }}
+ @endif diff --git a/app/Modules/Contracts/Views/livewire/table/index.blade.php b/app/Modules/Contracts/Views/livewire/table/index.blade.php index 03f163e..e0dad85 100644 --- a/app/Modules/Contracts/Views/livewire/table/index.blade.php +++ b/app/Modules/Contracts/Views/livewire/table/index.blade.php @@ -57,7 +57,7 @@ ?> {!! $price !!} - + reward = GetAgentPaymentForContract($contract); //$contract->reward = $contract->reward ? $contract->reward : 0; @@ -69,27 +69,29 @@ ?> @if ($contract->status == 'TREATY') - + {!! $reward !!} @else - + @endif - +
Стоимость {!! $price !!}
-
+