{{ App\Models\Setting::first()->pdf_ministry_title ?? '' }}

{{ App\Models\Setting::first()->pdf_manager_title ?? '' }}

{{ App\Models\Setting::first()->pdf_office_title ?? '' }}

{{ App\Models\Setting::first()->title ?? '' }}

{{ App\Models\Setting::first()->pdf_program_title ?? '' }}

بيانات الميزانية

@foreach($budget->lines as $line)
@forelse($budget->bills()->where('line_id',$line->id)->get() as $bill) @if(!$loop->first)
@endif
@forelse ($bill->categories as $item) @empty @endforelse
الاصناف الكمية سعر الوحدة الاجمالي

{{ $item->category->name }}

{{ $item->quentity }}

{{ $item->price }} {{ $item->total }}

السعر الاجمالي

{{ $bill->total_price }}

السعر الاجمالي شامل الضريبة والخصم

{{ $bill->totel_price_with_tax }}

@empty
@endforelse @endforeach

@php $total_price = 0; foreach($budget->bills as $bill) { $total_price += (float)($bill->totel_price_with_tax); } $r_price = $budget->price - $total_price; @endphp

الاعضاء

@forelse ($budget->users as $user) @empty @endforelse
الاسم الوظيفة التوقيع

{{ $user->name }}

{{ $user->jobTitle->name ?? '' }}