@extends('layouts/contentLayoutMaster') @section('title', 'المحطات') @section('vendor-style') @endsection @section('content') تعديل محطة #{{$data->id}} @csrf اسم المحطة * @if ($errors->has('name')) {{ $errors->first('name') }} @endif المدينة * أختر المدينه @foreach($govs as $gov) id) @endif selected="selected" @elseif($data->governorate_id == $gov->id) selected="selected" @endif>{{$gov->name_ar}} @endforeach @if ($errors->has('governorate_id')) {{ $errors->first('governorate_id') }} @endif وقت بدء العمل * @if ($errors->has('start_time')) {{ $errors->first('start_time') }} @endif وقت انهاء العمل * @if ($errors->has('end_time')) {{ $errors->first('end_time') }} @endif عدد الطلبات في اليوم * @if ($errors->has('num_of_orders')) {{ $errors->first('num_of_orders') }} @endif المسافةالاساسية حول الموقع ( كم )* @if ($errors->has('radius')) {{ $errors->first('radius') }} @endif المسافة التجريبية حول الموقع ( كم )* @if ($errors->has('test_radius')) {{ $errors->first('test_radius') }} @endif الفنيين @foreach($providers as $provider) providers as $prov) @if($provider->id == $prov->id) selected="selected" @endif @endforeach >{{$provider->name}} @endforeach @if ($errors->has('provider_id')) {{ $errors->first('provider_id') }} @endif الباقات @foreach($packages as $package) packages as $prov) @if($package->id == $prov->id) selected="selected" @endif @endforeach >{{$package->name_ar}} @endforeach @if ($errors->has('package_id')) {{ $errors->first('package_id') }} @endif فرق التوقيت ( دقيقة ) @if ($errors->has('time_difference')) {{ $errors->first('time_difference') }} @endif الاولوية @if ($errors->has('priority')) {{ $errors->first('priority') }} @endif ايام الاجازة الدائمة vacations as $vacation) @if($vacation->day == "Saturday") selected="selected" @endif @endforeach > السبت vacations as $vacation) @if($vacation->day == "Sunday") selected="selected" @endif @endforeach> الأحد vacations as $vacation) @if($vacation->day == "Monday") selected="selected" @endif @endforeach> الأثنين vacations as $vacation) @if($vacation->day == "Tuesday") selected="selected" @endif @endforeach> الثلاثاء vacations as $vacation) @if($vacation->day == "Wednesday") selected="selected" @endif @endforeach> الأربعاء vacations as $vacation) @if($vacation->day == "Thursday") selected="selected" @endif @endforeach> الخميس vacations as $vacation) @if($vacation->day == "Friday") selected="selected" @endif @endforeach> الجمعة {{ $errors->first('vacations') }} سبب الاجازة الدائمة @if ($errors->has('vacation_reason')) {{ $errors->first('vacation_reason') }} @endif مفعل status == 1 ) checked @endif @endif value="1" > @if ($errors->has('status')) {{ $errors->first('status') }} @endif الاحداثيات الاساسية @if ($errors->has('lat')) {{ $errors->first('lat') }} {{ $errors->first('lon') }} @endif الاحداثيات التجريبية @if ($errors->has('test_lat')) {{ $errors->first('test_lat') }} {{ $errors->first('test_lon') }} @endif اضافة {{-- Data list view end --}} @endsection @section('vendor-script') @endsection