@extends(niche_shell_layout()) @section('title', 'سند صرف جديد - ' . config('app.name')) @section('breadcrumb') الرئيسية › المحاسبة › سندات الصرف › سند جديد @endsection @section('content') @php $paymentSupplierOpts = collect($suppliers ?? [])->map(fn ($s) => [ 'value' => $s->id, 'label' => trim((string) ($s->code ?? '').' — '.(string) ($s->name ?? '')), ])->all(); $paymentExpenseAccountOpts = collect($expenseAccounts ?? [])->map(fn ($a) => [ 'value' => $a->id, 'label' => trim((string) ($a->code ?? '').' — '.(string) ($a->name_ar ?? '')), ])->all(); $paymentTypeOpts = [ ['value' => 'supplier', 'label' => 'سند صرف مورد'], ['value' => 'expense', 'label' => 'سند صرف مصروف'], ]; @endphp
صرف مبالغ لمورد أو لحساب مصروف مع تسجيل القيد المحاسبي.