From 3a54f6cba3a8ba1d53ac74ff2bc41c6fb5ea7de3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Fr=C3=B6hlich?= Date: Thu, 20 Nov 2025 14:56:28 +0100 Subject: [PATCH] fix: changes and fixes for the detail transaction view --- .DS_Store | Bin 14340 -> 14340 bytes .../livewire/companies/transactions.blade.php | 113 +++++++++++------- 2 files changed, 69 insertions(+), 44 deletions(-) diff --git a/.DS_Store b/.DS_Store index e1a72a661288df1838feb9b28b7d5da6b217b450..5ceb50c9399d648df008996f7941c2b6553ef777 100644 GIT binary patch delta 1183 zcmb7?TTC2P7{|Z=unT9Vz|H~-LmAhFy&xBH%B7_$mP;>-fJlHsp7zyy&+M?qL|;4)=gj|{ z?>paj=J!9HIh{E_?Q15Y3L=?kh0OKYY$};fJ+iqSw6uPg8~o5^Rm%!9bDDM?LdCn6 zmp#~32+2QsHg71XDO3l}Fsrw%K`H0*lu{b$l(z4*HkwYc0c~%0pue}@y3*QWg_Mxy zDjz4!^|5#|9p_zyIV*GPYzs8p|5fPo#`&Ib@Qthh$G_e==s~4(W+pI$L_>eF0THW;Z^f z>xRx)vAId{sV$?!CG)z%CPHS|M&d~F8fnK4D^cEH9 z1G-9|({=iizNT;J2K`LG(r*AHRHFv9Xo7;>Xu)mRgI@IE0HPSj1STQ0UKhRI~3;h8%cEQV81`*~wJJ88_4qzV!u^*#2h{HI->CRvl^EiqHJd8MW z7&w8cG}e%XiKp;1=X;71K8NRU9-DXp7x5}y!|Qm1lP=&2t~!nX&2FMh%~|o;=Jw@6 ImG)=VU&B2BDF6Tf delta 76 zcmZoEXepTBFDk~sz`)GFAi%&-!jQ<21jNM*sS__MPc|@NVPynLvP_<+p|Ej7G(RKH e#0e6cc?6#GGjeX`QE27ZTq#k;zM0+NFFOFJ%oAq- diff --git a/resources/views/livewire/companies/transactions.blade.php b/resources/views/livewire/companies/transactions.blade.php index 885fe98..0f82046 100644 --- a/resources/views/livewire/companies/transactions.blade.php +++ b/resources/views/livewire/companies/transactions.blade.php @@ -1383,7 +1383,7 @@ Transaction::STATUS_CLEARED => __('Keine Auffälligkeiten. Dokumentieren und arc ])); @endphp -
+
@@ -1476,18 +1476,78 @@ Transaction::STATUS_CLEARED => __('Keine Auffälligkeiten. Dokumentieren und arc
{{ $selected->counterparty_country ?? __('Nicht verifiziert') }}
-
{{ __('Referenzhinweis') }}
-
{{ $selected->reference ?: __('Keine Angabe') }}
+
{{ __('Sitz') }}
+
{{ $selected->counterparty_headquarters ?? __('Nicht verifiziert') }}
-
{{ __('Next step') }}
-
{{ __('IBAN/Beneficiary eindeutig zuordnen') }}
+
{{ __('Sektor') }}
+
{{ $selected->counterparty_sector ?? __('Nicht verifiziert') }}
+ {{-- Historie mit dieser Gegenpartei als Dropdown --}} + @if (!empty($counterpartyHistory) && $counterpartyHistory->isNotEmpty()) +
+
+ + +
+
+ @foreach ($counterpartyHistory as $history) +
+
+

{{ $history->executed_at?->format('d.m.Y H:i') }}

+

{{ $history->channel }} • {{ $history->reference }}

+
+
+ {{ $formatAmount($history->amount, $history->currency) }} + + {{ __('Risiko') }} {{ $history->risk_score }} + +
+
+ @endforeach +
+
+
+
+ @endif +

{{ __('Transaktionsbewertung') }}

@@ -1502,7 +1562,7 @@ Transaction::STATUS_CLEARED => __('Keine Auffälligkeiten. Dokumentieren und arc

{{ __('Kontrollaufgaben (Zusammenfassung)') }}

- {{ __('Sicherstellen, dass Rechnungskopf, Beneficiary-Daten und 3-Way-Match (PO–GR–Invoice) dokumentiert sind. Interne Listenabgleiche (Sanktionen/PEP) auf den konkreten Rechtsträger erneut ausführen.') }} + {{ data_get($selected->tranx_recommendation, 'answer') ?: __('Keine Kontrollaufgaben verfügbar.') }}

@@ -1524,21 +1584,11 @@ Transaction::STATUS_CLEARED => __('Keine Auffälligkeiten. Dokumentieren und arc

{{ __('Narrative Zusammenfassung') }}

- {{ __('Die Transaktion verbindet :company (:jurisdiction) mit :counterparty (:country). Der Betrag von :amount wurde über den Kanal :channel ausgeführt. Für die abschließende AML-Beurteilung ist der Nachweis der wirtschaftlich Berechtigten sowie ein Abgleich der Zahlungsempfänger-Daten erforderlich.', [ - 'company' => $company->legal_name ?? $company->name, - 'jurisdiction' => $company->country ?? __('Jurisdiktion offen'), - 'counterparty' => $selected->counterparty, - 'country' => $selected->counterparty_country ?? __('Jurisdiktion offen'), - 'amount' => $amountValue, - 'channel' => $selected->channel ?: __('unbekannt'), - ]) }} -

-

- {{ __('Hinweis: Interne Quellen (ERP, KYC-Stammdaten, Screening) ergänzen, um den Verifizierungsstatus auf „abgeschlossen“ anzuheben.') }} + {{ data_get($selected->tranx_report, 'answer') ?: __('Keine narrative Zusammenfassung verfügbar.') }}

- @if (! empty($analysisClusters)) + {{-- @if (! empty($analysisClusters))
@@ -1600,7 +1650,7 @@ Transaction::STATUS_CLEARED => __('Keine Auffälligkeiten. Dokumentieren und arc
@endforeach
- @endif + @endif --}} @if (! empty($sources))
@@ -1793,32 +1843,7 @@ Transaction::STATUS_CLEARED => __('Keine Auffälligkeiten. Dokumentieren und arc
@endif -
-
-
-

{{ __('Historie mit dieser Gegenpartei') }}

-
- @forelse ($counterpartyHistory as $history) -
-
-

{{ $history->executed_at?->format('d.m.Y H:i') }}

-

{{ $history->channel }} • {{ $history->reference }}

-
-
- {{ $formatAmount($history->amount, $history->currency) }} - - {{ __('Risiko') }} {{ $history->risk_score }} - -
-
- @empty -
- {{ __('Keine weiteren Transaktionen mit dieser Gegenpartei gefunden.') }} -
- @endforelse -
-
@else