{{-- قوالب الخيارات: تُبنى هنا في HTML وليس داخل نصوص JavaScript --}}
@foreach (App\Models\financial_accounts::where('active', 1)->where('is_parent', 0)->get() as $acc)
@endforeach
{{-- عند التعديل نعرض كل الحسابات حتى يظهر الحساب المحفوظ ولو أصبح غير نشط --}}
@foreach (App\Models\financial_accounts::all() as $acc)
@endforeach
@foreach (App\Models\Cost_centers::all() as $cost)
@endforeach
@endsection
@section('js')
@endsection