@extends('pdf.layouts.app') @section('title', 'Bank Statement Report') @section('styles') @endsection @section('content') @php $ShowByDefault = $ShowByDefault ?? false; $isRtl = ($direction ?? 'rtl') === 'rtl'; @endphp
@if(isset($data) && count($data) > 0) @foreach($data as $account)
{{-- جدول المعاملات --}} @if(isset($account['transactions']) && count($account['transactions']) > 0) @if(!$ShowByDefault) @endif @foreach($account['transactions'] as $transaction) @if(!$ShowByDefault) @endif @endforeach @if(!$ShowByDefault) @endif @else

{{ $isRtl ? 'لا توجد معاملات لهذا الحساب' : 'No transactions available for this account' }}

@endif
@endforeach @else

{{ $isRtl ? 'لا توجد بيانات للعرض' : 'No data available to display' }}

@endif
@endsection