| رقم الإيداع |
{{ $deposit->id }} |
| الخزينة |
{{ $deposit->treasury->name }} |
| المبلغ |
{{ number_format($deposit->amount, 2) }} |
| تاريخ الإيداع |
{{ $deposit->deposit_date->format('Y-m-d') }} |
| الحساب |
{{ $deposit->account ? $deposit->account->name : 'غير محدد' }} |
| رقم المرجع |
{{ $deposit->reference_number ?: 'غير محدد' }} |
| الحالة |
@if($deposit->status == 'pending')
قيد الانتظار
@elseif($deposit->status == 'approved')
معتمد
@elseif($deposit->status == 'rejected')
مرفوض
@endif
|
| تاريخ الإنشاء |
{{ $deposit->created_at->format('Y-m-d H:i') }} |
{{ $deposit->description ?: 'لا يوجد وصف' }}
@if($deposit->costCenters && $deposit->costCenters->count() > 0)
| الكود |
الاسم |
المبلغ |
النسبة % |
@foreach($deposit->costCenters as $costCenter)
| {{ $costCenter->code }} |
{{ $costCenter->name }} |
{{ $costCenter->pivot->amount ? number_format($costCenter->pivot->amount, 2) : '-' }} |
{{ $costCenter->pivot->percentage ? number_format($costCenter->pivot->percentage, 2) . '%' : '-' }} |
@endforeach
@endif
@if($deposit->status == 'pending')
طباعة السند
@can('treasury.deposit.edit')
تعديل
@endcan
@can('treasury.deposit.approve')
@endcan
@can('treasury.deposit.delete')
@endcan
@endif
@if($deposit->status == 'approved' && $deposit->journal_entry_id)
@endif