@extends('layouts.admin2') @section('content')

Create Your Order

{{-- Generate Report--}}
@if(Auth::user()->role->name == 'Clients')
{{-- "col-md-3 col-md-pull-9"--}} {{-- "col-md-3 col-md-pull-9"--}}
@endif @if(Auth::user()->role->name == 'Admin')
{{-- "col-md-3 col-md-pull-9"--}} {{-- "col-md-3 col-md-pull-9"--}}
@endif @if(Auth::user()->role->name == 'SuperAdmin')
{{-- "col-md-3 col-md-pull-9"--}} {{-- "col-md-3 col-md-pull-9"--}}
@endif @if(Auth::user()->role->name == 'Cashier')
{{-- "col-md-3 col-md-pull-9"--}} {{-- "col-md-3 col-md-pull-9"--}}
@endif {!! Form::open(['method'=>'POST','action'=>'OrderController@store','files'=>true ,'name'=>'cart' ]) !!} {{--
--}} {{-- {!! Form::label('date_of_pickup','Select Pickup Date:') !!}--}} {{-- {{ Form::text('date_of_pickup', null, ['class' => 'form-control', 'id'=>'datetimepicker']) }}--}} {{--
--}}
@if(Auth::user()->role->name=='Admin') {!! Form::label('name','Name: ',['class'=>'text-gray-800']) !!}
U
{!! Form::text('name',null,['class'=>'form-control']) !!}
@endif @if(Auth::user()->role->name=='Clients') {!! Form::hidden('name',Auth::user()->name) !!} @endif {!! Form::label('email','Email: ',['class'=>'text-gray-800']) !!}
@
{!! Form::email('email',null,['required'=>'required','class'=>'form-control']) !!}
{!! Form::label('phone_no','Phone Number:' , ['class'=>'text-gray-800']) !!}
{!! Form::text('phone_no',null,['class'=>'form-control'],['required'=>'required','class'=>'text-gray-800']) !!}
{!! Form::label('typesofservice_id','Type of Service:',['class'=>'text-gray-800']) !!}

@foreach($typesofservice as $service=>$values ) {{Form::radio('typesofservice_id', $service ,false,['required'=>'required',"class"=>"form-group"])}} {{$values}}
@endforeach
{!! Form::label('pickuplocation_id','Pickup Location:',['class'=>'text-gray-800']) !!}
@foreach($pickuplocations as $pickuplocation=>$values) {{Form::radio('pickuplocation_id', $pickuplocation ,false,['required'=>'required',"class"=>"form-group"])}} {{$values}}@endforeach
{!! Form::label('delivery_address','Residential Address:',['class'=>'text-gray-800']) !!}
{!! Form::textarea('delivery_address', null, ['required'=>'required','class'=>'form-control','rows' => 3]) !!}
{!! Form::label('add_notes','Additional Notes:',['class'=>'text-gray-800']) !!}
{!! Form::textarea('add_notes', null, ['required'=>'required','class'=>'form-control','rows' => 3]) !!}
{!! Form::label('date_of_pickup','Choose Date For Pickup:',['class'=>'text-gray-800']) !!}
{!! Form::text('date_of_pickup', null, ['required'=>'required','class'=>'form-control date','autocomplete'=>'off']) !!}
{!! Form::hidden('stagecategory_id', 1) !!} {!! Form::hidden('order_no', null) !!}

ITEM SELECTION

{{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- {!! Form::select('is_active',array('66||6555'=>'Active',555=>'Not Active'),0,['class'=>'form-control']) !!}--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}}
Item QtyPrice Item Total (GHC.)
{!! Form::select('price[]',[''=>'Choose Laundry Type'] + $query , null, ['for'=>'prices','class'=>'price form-control']) !!} {!! Form::number('qty[]', null, ['for'=>'qtys','class'=>' form-control quantity','placeholder'=>"Enter Quantity"]) !!}  --}} {{--
 Subtotal --}} {{--
 --}} {{-- Tax:--}} {{-- --}} {{--  --}} {{--
  Total (GHC.)  x
{{-- {!! Form::label('price_tags_id','Stage:') !!}--}} {{--
--}} {{--
--}} {{-- {!! Form::select('price_tags_id',[''=>'Choose Options'] + $categories,null,['class'=>'form-control']) !!}--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{-- {!! Form::select('price_tags[]',[''=>'Choose Laundry Type'] + $price_tags,null,['class'=>'price form-control']) !!}--}} {{-- --}} {{-- {!! Form::number('quantity', null, ['class'=>'form-control quantity','placeholder'=>"Enter Quantity"]) !!}--}} {{-- --}} {{-- --}} {{-- {!! Form::text('quantity[]', 1, ['id'=>'quantity','class'=>'form-control qty quantitys quantity','placeholder'=>"Enter Quantity"]) !!}--}} {{-- --}} {{-- --}} {{-- --}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{-- --}}
{!! Form::submit('Order' ,['id'=>'ordering','class' => 'col-lg-3 btn btn-danger input-group']) !!}
{!! Form::close() !!}
@endsection @if(count($errors)>0)
@endif