@extends('layouts.admin') @section('title', 'Caterer') @section('content')

Caterer

Edit Caterer

{{ Html::ul($errors->all()) }} {{ Form::model($data, array('route' => array('caterers.update', $data->id), 'method' => 'PUT','files'=>true)) }}
{{ Form::text('name', Request::old('name'), array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Enter name')) }}
{{ Form::textarea('detail', Request::old('detail'), array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Enter detail')) }}
{{ Form::text('arabic_name', Request::old('arabic_name'), array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Enter arabic name')) }}
{{ Form::textarea('arabic_detail', Request::old('arabic_detail'), array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Enter detail')) }}
status=='available') checked @endif> Available status=='not_available') checked @endif> Not Available status=='inactive') checked @endif> Inactive
female_service=='available') checked @endif value="available"> Available female_service=='not_available') checked @endif value="not_available"> Not Available

@foreach($payment_types as $payment_type) attr}} > {{$payment_type->name}}
@endforeach
{{ Form::text('time_show', Request::old('time_show'), array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'e.g : 45 Mins')) }}
{{ Form::text('delivery_charge', '0', array('id'=>'exampleInputEmail1','class' => 'form-control')) }}
Is Discount Available discount_available=='yes') checked @endif name="discount_available" value="yes"> Yes discount_available=='no') checked @endif value="no"> No
discount_available=='no') style="display: none;" @endif>
discount_type=='percentage') checked @endif value="percentage"> Percentage(%) discount_type=='value') checked @endif value="value"> Value
{{ Form::text('discount_value', Request::old('discount_value'), array('id'=>'exampleInputEmail1','class' => 'form-control discount-val-js','placeholder' => 'Discount Value')) }}
{{ Form::date('start_date', Request::old('start_date'), array('id'=>'exampleInputEmail1','class' => 'form-control start-date-js')) }}
{{ Form::date('end_date', Request::old('end_date'), array('id'=>'exampleInputEmail1','class' => 'form-control end-date-js')) }}

Admin For Caterer



{{ Form::text('display_name', $user->name, array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Enter display name')) }}
{{ Form::text('first_name', $user->first_name, array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Enter first name')) }}
{{ Form::text('last_name', $user->last_name, array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Enter last name')) }}
{{ Form::email('email', $user->email, array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Enter email')) }}
{{ Form::text('username', $user->username, array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Enter username')) }}
{{ Form::textarea('address', $user->address, array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Enter address')) }}
{{ Form::text('lat', $user->lat, array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Enter lat')) }}
{{ Form::text('lng', $user->lng, array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Enter lng')) }}

Services Provide in

@php $a=1; @endphp @foreach($areas as $area)
attr}}>
@php $a++; @endphp @endforeach
{{ Form::text('phone', $user->phone, array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => '+96560065645')) }}
{{ Form::close() }}
@endsection @section('footer-scripts') @include('scripts.carterer') @endsection