@extends('layouts.app') @section('title', 'إشعارات الائتمان - '.config('app.name')) @section('breadcrumb') الرئيسية المحاسبة إشعارات الائتمان @endsection @section('content')

إشعارات الائتمان

إدارة إشعارات ائتمان العملاء

+ إشعار ائتمان جديد

قائمة إشعارات الائتمان

@php $creditNoteStatusOpts = [ ['value' => '', 'label' => 'الكل'], ['value' => 'draft', 'label' => 'مسودة'], ['value' => 'approved', 'label' => 'معتمد'], ['value' => 'cancelled', 'label' => 'ملغى'], ]; @endphp
@forelse($creditNotes as $note) @empty @endforelse
رقم الإشعار العميل التاريخ المبلغ الإجمالي الحالة إجراءات
{{ $note->note_number }} {{ $note->customer->name_ar ?: $note->customer->name }} {{ optional($note->date)->format('Y-m-d') }} {{ number_format((float) $note->amount + (float) $note->tax_amount, 2) }} @if($note->status === 'approved') معتمد @elseif($note->status === 'cancelled') ملغى @else مسودة @endif @php $cnMenuId = 'credit-note-actions-'.$note->id; @endphp @if($note->status === 'draft')
تعديل الإشعار
@csrf @method('DELETE')
@elseif($note->status === 'approved') عرض الإشعار
@csrf
@else عرض الإشعار @endif
لا توجد إشعارات ائتمان
@if($creditNotes->hasPages())
{{ $creditNotes->links() }}
@endif
@endsection @push('scripts') @endpush