@extends('layouts.app') @section('title', 'تعديل إشعار ائتمان - '.config('app.name')) @section('breadcrumb') الرئيسية › المحاسبة › إشعارات الائتمان › تعديل إشعار @endsection @section('content') @php $creditNoteCustomerOptions = $customers->map(fn ($customer) => [ 'value' => $customer->id, 'label' => trim((string) ($customer->code ?? '').' - '.(string) ($customer->name_ar ?: $customer->name ?? '')), ])->all(); $creditNoteReasonTypeOpts = [ ['value' => 'مرتجع مبيعات', 'label' => 'مرتجع مبيعات'], ['value' => 'تسوية سعر', 'label' => 'تسوية سعر'], ['value' => 'خصم لاحق', 'label' => 'خصم لاحق'], ['value' => 'خطأ فاتورة', 'label' => 'خطأ فاتورة'], ['value' => 'أخرى', 'label' => 'أخرى'], ]; @endphp