@extends('layouts.app') @section('title', 'فاتورة جديدة - '.config('app.name')) @section('breadcrumb') الرئيسية › المبيعات › الفواتير › فاتورة جديدة @endsection @section('content') @php $invoiceCustomerOptions = $customers->map(fn ($c) => [ 'value' => $c->id, 'label' => (string) ($c->display_name ?? $c->name ?? ''), ])->all(); @endphp