From e8352f599bf9ccb284560ebd04ef4ff1bfe5b250 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Cmit=20Tun=C3=A7?= Date: Tue, 2 Jun 2026 20:16:35 +0300 Subject: [PATCH] refactor: modernize bank account page layout with premium tab styling and optimized letterhead print view --- .../corporate/bank-accounts.blade.php | 504 +++++++++--------- .../bank-accounts-letterhead.blade.php | 316 +++++------ 2 files changed, 400 insertions(+), 420 deletions(-) diff --git a/resources/views/templates/corporate/bank-accounts.blade.php b/resources/views/templates/corporate/bank-accounts.blade.php index ccf4175..796338a 100644 --- a/resources/views/templates/corporate/bank-accounts.blade.php +++ b/resources/views/templates/corporate/bank-accounts.blade.php @@ -14,8 +14,21 @@
-
+
+
-

{!! $page->translate('title') ?: $page->title !!}

+

{!! $page->translate('title') ?: $page->title !!}

@if($page->translate('excerpt') ?: $page->excerpt) -

{!! $page->translate('excerpt') ?: $page->excerpt !!}

+

{!! $page->translate('excerpt') ?: $page->excerpt !!}

@endif
-
- + + -
- - -
+ +
+
+
+ + +
+
+ @forelse($accounts as $index => $account) + @php + $currency = $account['currency'] ?? 'TRY'; + $currencyLabel = ($currencySymbols[$currency] ?? '') . ' ' . $currency; + @endphp +
+ -
- @empty -
-
- -

{!! t('Henüz banka hesabı eklenmemiş.') !!}

-

{!! t('Yönetim panelinden banka hesaplarınızı ekleyebilirsiniz.') !!}

+ + + + + +
+
+ + +
+ +
+
+
+ @include('templates.corporate.partials.bank-accounts-letterhead') +
+
+
+
+
- @endforelse +
- @include('templates.corporate.partials.bank-accounts-legal-info') - + @php $pageContent = $page->translate('content') ?: $page->content; @endphp @if($pageContent) -
+
{!! $pageContent !!} @@ -650,8 +716,6 @@
-@include('templates.corporate.partials.bank-accounts-letterhead') - @push('scripts') @endpush diff --git a/resources/views/templates/corporate/partials/bank-accounts-letterhead.blade.php b/resources/views/templates/corporate/partials/bank-accounts-letterhead.blade.php index cf524e0..9ecfd32 100644 --- a/resources/views/templates/corporate/partials/bank-accounts-letterhead.blade.php +++ b/resources/views/templates/corporate/partials/bank-accounts-letterhead.blade.php @@ -3,202 +3,176 @@ $isTr = ($locale === 'tr'); @endphp - -
-
-

- @if($isTr) - Antetli Kağıt Önizleme - @else - Official Letterhead Preview - @endif -

-
- - +
-
- -
- -
- - -
- -
-
- Trunçgil Teknoloji -
-
-
TRUNÇGİL TEKNOLOJİ SAN. VE TİC. LTD. ŞTİ.
-
Çamtepe Mah. Mahmut Tevfik Atay Bul. Gaziantep Teknopark
-
No: 4A İç Kapı No: 1 Şahinbey / Gaziantep / TÜRKİYE
- + +
+
+

@if($isTr) -
Vergi Dairesi: Şahinbey V.D.  |  Vergi No: 8591492435
-
MERSİS No: 0859149243500001  |  D-U-N-S No: 595948152
-
E-Posta: info@truncgil.com.tr  |  Web: www.truncgil.com.tr
+ BANKA HESAP BİLGİLERİ @else -
Tax Office: Şahinbey V.D.  |  Tax ID: 8591492435
-
MERSİS No: 0859149243500001  |  D-U-N-S No: 595948152
-
Email: info@truncgil.com.tr  |  Web: www.truncgil.com.tr
+ BANK ACCOUNT DETAILS @endif -

-
- - -
-
-

- @if($isTr) - BANKA HESAP BİLGİLERİ - @else - BANK ACCOUNT DETAILS - @endif -

-

- @if($isTr) - Resmi Tedarikçi Kayıt Bildirimi - @else - Official Vendor Registration Bank Declaration - @endif -

-
-
+ +

@if($isTr) -

Tarih: {{ date('d.m.Y') }}
-
Konu: Banka Hesap Bildirimi
+ Resmi Tedarikçi Kayıt Bildirimi @else -
Date: {{ date('d.m.Y') }}
-
Subject: Bank Account Declaration
+ Official Vendor Registration Bank Declaration @endif -
+

- - -
+
@if($isTr) -

Sayın Yetkili, Şirketimizin resmi banka hesap bilgileri aşağıda bilgilerinize sunulmuştur. Tedarikçi kayıt süreçlerinde ve tüm ticari işlemlerimizde bu hesapların kullanılmasını rica ederiz.

+
Tarih: {{ date('d.m.Y') }}
+
Konu: Banka Hesap Bildirimi
@else -

Dear Sir/Madam, The official and active bank account details of our company are presented below for your registration and commercial processes.

+
Date: {{ date('d.m.Y') }}
+
Subject: Bank Account Declaration
@endif
+
- - - + +
+ @if($isTr) +

Sayın Yetkili, Şirketimizin resmi banka hesap bilgileri aşağıda bilgilerinize sunulmuştur. Tedarikçi kayıt süreçlerinde ve tüm ticari işlemlerimizde bu hesapların kullanılmasını rica ederiz.

+ @else +

Dear Sir/Madam, The official and active bank account details of our company are presented below for your registration and commercial processes.

+ @endif +
+ + +
+ + + + + + + + + + @foreach($accounts as $index => $account) + @php + $currency = $account['currency'] ?? 'TRY'; + $currencyLabel = ($currencySymbols[$currency] ?? '') . ' ' . $currency; + $swiftCode = !empty($account['swift_code']) ? $account['swift_code'] : 'TRHBTR2A'; + @endphp - - - - - - - @foreach($accounts as $index => $account) - @php - $currency = $account['currency'] ?? 'TRY'; - $currencyLabel = ($currencySymbols[$currency] ?? '') . ' ' . $currency; - $swiftCode = !empty($account['swift_code']) ? $account['swift_code'] : 'TRHBTR2A'; - @endphp - - - - - - - @endforeach - -
+ @if($isTr) + Banka Adı + @else + Bank Name + @endif + + @if($isTr) + Hesap Sahibi + @else + Account Holder + @endif + + @if($isTr) + Para Birimi + @else + Currency + @endif + IBAN / SWIFT / BIC
- @if($isTr) - Banka Adı - @else - Bank Name + + {{ $account['bank_name'] }} + @if(!empty($account['branch_name'])) +
{{ $account['branch_name'] }}
@endif - -
- @if($isTr) - Hesap Sahibi - @else - Account Holder - @endif - - @if($isTr) - Para Birimi - @else - Currency - @endif - IBAN / SWIFT / BIC
- {{ $account['bank_name'] }} - @if(!empty($account['branch_name'])) -
{{ $account['branch_name'] }}
- @endif -
{{ $account['account_holder'] }}{{ $currency }} -
- {{ $account['iban'] }} -
-
- SWIFT / BIC: {{ $swiftCode }} -
-
- - -
-
-
- - @if($isTr) - İletişim: - @else - Contact: - @endif -
- Trunçgil Site Office: Gaziantep Teknopark
- Tel: +90 (551) 234 36 95
- Web: www.truncgil.com.tr -
-
-
-
-
TRUNÇGİL TEKNOLOJİ SAN. VE TİC. LTD. ŞTİ.
- - @if($isTr) - Yetkili İmza & Kaşe - @else - Authorized Signature & Stamp - @endif - -
- -
- Stamp + + {{ $account['account_holder'] }} + {{ $currency }} + +
+ {{ $account['iban'] }}
+
+ SWIFT / BIC: {{ $swiftCode }} +
+ + + @endforeach + + + + +
+
+
+ + @if($isTr) + İletişim: + @else + Contact: + @endif +
+ Trunçgil Site Office: Gaziantep Teknopark
+ Tel: +90 (551) 234 36 95
+ Web: www.truncgil.com.tr +
+
+
+
+
TRUNÇGİL TEKNOLOJİ SAN. VE TİC. LTD. ŞTİ.
+ + @if($isTr) + Yetkili İmza & Kaşe + @else + Authorized Signature & Stamp + @endif + +
+ +
+ Stamp
+
- -
- - @if($isTr) - * Bu belge elektronik olarak üretilmiştir. - @else - * This document has been generated electronically. - @endif - - Page 1 of 1 -
+ +
+ + @if($isTr) + * Bu belge elektronik olarak üretilmiştir. + @else + * This document has been generated electronically. + @endif + + Page 1 of 1