@extends('branch.layout.master') @section('title', "الطلبات") @section('content')
الطلبات
@csrf
التاريخ
العميل
كل العملاء
@foreach($users as $user)
{{$user->first_name .' ' . $user->last_name}}
@endforeach
@if ($errors->has('user_id'))
{{ $errors->first('user_id') }}
@endif
بحث
{{-- @include('admin.layout.message')--}}
الطلبات
{{--
--}} {{--
--}} {{--
--}} {{-- إنشاء جديد--}} {{--
--}} {{--
--}} {{--
--}} @foreach($rows as $row) @endforeach
#
الكود
اسم العميل
إسم الشركة
تكلفة الطلب
مدينة فرع الشركة
طريقه الدفع
حالة الطلب
التحكم
{{$i}}
{{$row->code}}
{{$row->user->first_name .' '. $row->user->last_name}}
{{$row->company->company_name}}
{{$row->total_price}}
{{$row->branch->city->name['ar']}}
@if($row->payment_method == 'visa') الدفع الألكتروني @elseif($row->payment_method == 'in_shop') الدفع في المعرض @elseif($row->payment_method == 'percent') الحجز بنسبة @endif
@if('status' == 'finished') منهى @elseif('payment_method' == 'new') جديد @else محجوز @endif
حذف
حذف العنصر
×
هل تريد الحذف ؟
التفاصيل
@stop