@extends('pdf.layouts.app') @section('title', 'Bank Statement Report') @section('styles') @endsection @section('content') @php $ShowByDefault = $ShowByDefault ?? false; @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

{{ __('No transactions available for this account') }}

@endif
@endforeach @else

{{ __('No data available to display') }}

@endif
@endsection