@extends('layouts.admin') @section('page_title', $bank->exists ? ($isRtl ? 'تعديل بنك' : 'Edit Bank') : ($isRtl ? 'إضافة بنك' : 'Add Bank')) @push('styles') @endpush @section('content')
@csrf @if($bank->exists) @method('PUT') @endif {{-- Identity --}}

1 {{ $isRtl ? 'الهوية الأساسية' : 'Identity' }}

@error('name_ar')
{{ $message }}
@enderror
{{ $isRtl ? 'مثال: alrajhi-bank' : 'e.g. alrajhi-bank' }} @error('slug')
{{ $message }}
@enderror
{{-- Regulatory --}}

2 {{ $isRtl ? 'البيانات التنظيمية' : 'Regulatory & Codes' }}

{{ $isRtl ? '8 أو 11 حرف' : '8 or 11 characters' }}
{{-- Location --}}

3 {{ $isRtl ? 'الموقع الجغرافي' : 'Location' }}

{{-- Contact --}}

4 {{ $isRtl ? 'معلومات التواصل' : 'Contact Info' }}

{{-- Branding --}}

5 {{ $isRtl ? 'الشعار والحالة' : 'Logo & Status' }}

@if($bank->logo) @else @endif
@error('logo')
{{ $message }}
@enderror
{{ $isRtl ? 'إلغاء' : 'Cancel' }}
{{-- Live Preview --}}

{{ $bank->getTranslations('name')['ar'] ?? ($isRtl ? 'اسم البنك' : 'Bank Name') }}

{{ $isRtl ? 'معاينة مباشرة' : 'Live preview' }}
SWIFT{{ $bank->swift_code ?? '—' }}
{{ $isRtl ? 'الدولة' : 'Country' }}{{ $bank->country ?? '—' }}
{{ $isRtl ? 'تأسس' : 'Est.' }}{{ $bank->established_year ?? '—' }}
@push('scripts') @endpush @endsection