@extends('layouts.app') @section('title', 'إدارة الإيرادات الأخرى') @section('content')
@canany(['other_income.create', 'other_income.lock'])
@canany(['other_income.create']) @endcanany @canany(['other_income.lock'])
@endcanany
@endcanany {{-- فورم البحث والفلترة الموحد --}}
{{-- حقل البحث النصي --}}
{{-- الأكورديون الخاص بالفلاتر الإضافية --}}

{{-- الكنيسة --}}
{{-- التاريخ من --}}
{{-- التاريخ إلى --}}
{{-- للعرض على الشاشات الكبيرة --}}
@isset($Academic_year_active) @endisset @canany(['other_income.edit', 'other_income.delete']) @endcanany @forelse ($other_incomes as $other_income) @canany(['other_income.edit', 'other_income.delete']) @endcanany @empty @endforelse
العام الدراسي: {{ $Academic_year_active->year ?? '' }} - {{ $Academic_year_active->term_name ?? '' }}
# الكنيسة البند المبلغ التاريخ ملاحظاتإجراءات
{{ $loop->iteration + ($other_incomes->currentPage() - 1) * $other_incomes->perPage() }} {{ $other_income->church->name . ' - ' . $other_income->church->address }} {{ $other_income->source_name }} {{ $other_income->amount }} {{ $other_income->income_date }} {{$other_income->notes}} @if(!$other_income->is_locked) @canany(['other_income.edit']) @endcan @canany(['other_income.delete']) @endcanany @endif
لا توجد لإيرادات أخرى مسجلة حالياً
{{-- للعرض على الموبايل --}}
    @forelse ($other_incomes as $other_income)
  • # {{ $loop->iteration + ($other_incomes->currentPage() - 1) * $other_incomes->perPage() }} @if($other_income->is_locked) مغلق @endif
    البند: {{ $other_income->source_name }}
    المبلغ: {{ number_format($other_income->amount, 2) }} ج.م
    التاريخ: {{ $other_income->income_date }}
    الكنيسة: {{ $other_income->church->name }} {{ $other_income->church->address ? ' (' . $other_income->church->address . ')': ''}}
    @if($other_income->is_adjustment) تسوية
    @endif @if($other_income->notes) ملاحظات: {{ $other_income->notes }}
    @endif @canany(['other_income.edit', 'other_income.delete'])
    @if(!$other_income->is_locked) @can('other_income.edit') تعديل @endcan @can('other_income.delete') @endcan @else لا يمكن التعديل أو الحذف (مقفل) @endif
    @endcanany
  • @empty
  • لا توجد لإيرادات أخرى مسجلة حالياً
  • @endforelse
@canany(['other_income.delete']) {{-- مودال واحد يتيم لكل الصفحة --}} @endcanany {{-- غلق إيرادات شهر --}} {{-- البحث --}} @endsection