@extends('admin.layout.master') @section('title', 'إضافه المنتجات') @section('content')

إضافه المنتجات

تعديل الطلب

@csrf @method('PATCH')
@if ($errors->has('client_name')) {{ $errors->first('client_name') }} @endif
@if ($errors->has('client_mobile')) {{ $errors->first('client_mobile') }} @endif
@if ($errors->has('address')) {{ $errors->first('address') }} @endif
@if ($errors->has('receive_date')) {{ $errors->first('receive_date') }} @endif
@if ($errors->has('delivery_date')) {{ $errors->first('delivery_date') }} @endif
@if ($errors->has('note')) {{ $errors->first('note') }} @endif
{{--
--}} {{-- --}} {{--
--}} {{-- delivery_status == 'true' ? 'checked' : ''}} name="delivery"--}} {{-- value="delivery">--}} {{-- --}} {{-- @if ($errors->has('delivery'))--}} {{-- {{ $errors->first('delivery') }}--}} {{-- @endif--}} {{--
--}} {{-- @if($row->delivery_status == 'true')--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{-- @endif--}}
@if ($errors->has('status')) {{ $errors->first('status') }} @endif
إجمالي المنتجات الإجمالي شامل الضريبة
{{$row->total_price}} {{$row->all_total_price}}
@if ($errors->has('paid_amount')) {{ $errors->first('paid_amount') }} @endif
@if ($errors->has('rest_amount')) {{ $errors->first('rest_amount') }} @endif


@foreach($rows as $cart) @endforeach
# المنتج الكمية الخدمات المضافة السعر الإجمالي التحكم
{{$i}} {{$cart->product->name['ar']}} {{$cart->count}}
    @foreach($cart->services as $service)
  • {{$service->name['ar']}} - {{\App\Models\ProductService::where(['service_id'=>$service->id,'product_id'=>$cart->product->id])->value('price')}} ريال
  • @endforeach
{{$cart->price}} ريال
@stop @section('scripts') @stop