@error('customerName')
{{ $message }}
@enderror
@error('customerPhone')
{{ $message }}
@enderror
@foreach ($products as $product) @endforeach
# الصورة اسم المنتج اللون الكود السعر المقاسات إضافة
{{ $loop->iteration }} @if($product->hasMedia('products')) {{ $product->name }} @else بدون صورة @endif {{ $product->name }} {{ $product->color }} {{ $product->code }} {{ number_format($product->price, 2) }} ج.م @if($product->size_type === 'letters') @foreach((array)$product->available_sizes as $size => $available) @if($available) @php $columnName = strtolower($size); $quantity = $product->stock->{$columnName} ?? 0; @endphp @if($quantity > 0) {{ strtoupper($size) }}: {{ $quantity }} @endif @endif @endforeach @elseif($product->size_type === 'numbers') @foreach((array)$product->available_sizes as $size => $available) @if($available) @php $columnName = 'size_'.$size; $quantity = $product->stock->{$columnName} ?? 0; @endphp @if($quantity > 0) {{ $size }}: {{ $quantity }} @endif @endif @endforeach @elseif($product->size_type === 'no_size') @php $quantity = $product->stock->one_size ?? 0; @endphp @if($quantity > 0) متوفر: {{ $quantity }} @endif @endif @if($product->size_type === 'letters') @foreach((array)$product->available_sizes as $size => $available) @if($available) @php $columnName = strtolower($size); $quantity = $product->stock->{$columnName} ?? 0; @endphp @if($quantity > 0) @endif @endif @endforeach @elseif($product->size_type === 'numbers') @foreach((array)$product->available_sizes as $size => $available) @if($available) @php $columnName = 'size_'.$size; $quantity = $product->stock->{$columnName} ?? 0; @endphp @if($quantity > 0) @endif @endif @endforeach @elseif($product->size_type === 'no_size') @php $quantity = $product->stock->one_size ?? 0; @endphp @if($quantity > 0) @endif @endif
عرض {{ $products->firstItem() }} - {{ $products->lastItem() }} من إجمالي {{ $products->total() }}
{{ $products->onEachSide(1)->links() }}
المنتجات المختارة
@if(count($selectedItems) > 0)
@foreach($selectedItems as $key => $item) @endforeach
المنتج المقاس الكمية السعر الإجمالي حذف
{{ $item['name'] }} ({{ $item['code'] }}) {{ $item['size'] }} {{ number_format($item['price'], 2) }} ج.م {{ number_format($item['price'] * $item['quantity'], 2) }} ج.م
@else
لم يتم اختيار أي منتجات بعد
@endif
@error('notes')
{{ $message }}
@enderror
الإجمالي الفرعي:
{{ number_format($subtotal, 2) }} ج.م
الخصم:
@if($discountType === 'percentage') % @else ج.م @endif
@error('discountValue')
{{ $message }}
@enderror
قيمة الخصم:
{{ number_format($discountAmount, 2) }} ج.م
الصافي:
{{ number_format($total, 2) }} ج.م
رجوع