@extends('admin.template.master') @section('stylesheets') {!! Html::style('assets/admin/bower_components/select2/dist/css/select2.min.css') !!} @endsection @section('title')

Order delivery Setup insert and update order delivery setup

@endsection @section('main-content')
@if(Session::has('combinationExist'))
{{Session('combinationExist')}}
@endif

Entry

{!! Form::open(['route' => 'order-deliveries.store']) !!}
{!! Form::label('Customer Area') !!} {!! Form::select('customer_area', $customerArea, null, ['class' => 'form-control', 'placeholder' => 'Select customer area', 'id' => 'customer_area']) !!} @if ($errors->has('customer_area')) {!! $errors->first('customer_area') !!}@endif
{!! Form::label('Customer Zone') !!} {!! Form::select('customer_zone', $zones, null, ['class' => 'form-control', 'placeholder' => 'Select customer zone', 'id' => 'customer_zone']) !!} @if ($errors->has('customer_zone')) {!! $errors->first('customer_zone') !!}@endif
{!! Form::label('Available') !!} {!! Form::select('available', $availableOptions, null, ['class' => 'form-control', 'placeholder' => 'Select available', 'id' => 'available']) !!} @if ($errors->has('available')) {!! $errors->first('available') !!}@endif
{!! Form::label('Available Locations') !!} {!! Form::select('available_locations', $availableLocations, null, ['class' => 'form-control', 'placeholder' => 'Select available location', 'id' => 'available_locations']) !!} @if ($errors->has('available_locations')) {!! $errors->first('available_locations') !!}@endif
{!! Form::label('Approx Delivery Date') !!} {!! Form::date('approx_delivery', null, ['class' => 'form-control']) !!} @if ($errors->has('approx_delivery')) {!! $errors->first('approx_delivery') !!}@endif
{!! Form::label('Order Confirmation') !!} {!! Form::select('customer_confirmation', $confirmationOptions, null, ['class' => 'form-control', 'placeholder' => 'Select Order confirmation', 'id' => 'customer_confirmation']) !!} @if ($errors->has('customer_confirmation')) {!! $errors->first('customer_confirmation') !!}@endif
{!! Form::label('Interchange No') !!} {!! Form::text('inter_change_no', null, ['class' => 'form-control', 'placeholder' => 'Enter inter change no']) !!} @if ($errors->has('inter_change_no')) {!! $errors->first('inter_change_no') !!}@endif
{!! Form::label('Interchange Received') !!} {!! Form::select('inter_received', $interchangeReceived, null, ['class' => 'form-control', 'placeholder' => 'Select interchange received', 'id' => 'inter_received']) !!} @if ($errors->has('inter_received')) {!! $errors->first('inter_received') !!}@endif
{!! Form::label('Delivery Date') !!} {!! Form::date('delivery_date', null, ['class' => 'form-control']) !!} @if ($errors->has('delivery_date')) {!! $errors->first('delivery_date') !!}@endif
{!! Form::label('QC Pass') !!} {!! Form::select('qc_passed', $qcPassed, null, ['class' => 'form-control', 'placeholder' => 'Select qc pass', 'id' => 'qc_passed']) !!} @if ($errors->has('qc_pqc_passedqc_passedss')) {!! $errors->first('qc_passed') !!}@endif
{!! Form::label('Serial No') !!} {!! Form::text('serial_no', null, ['class' => 'form-control', 'placeholder' => 'Enter serial no']) !!} @if ($errors->has('serial_no')) {!! $errors->first('serial_no') !!}@endif
{!! Form::label('INV Bill No') !!} {!! Form::text('inv_bill_no', null, ['class' => 'form-control', 'placeholder' => 'Enter INV bill no']) !!} @if ($errors->has('inv_bill_no')) {!! $errors->first('inv_bill_no') !!}@endif
{!! Form::label('Packed By') !!} {!! Form::select('packed_by', $packedBy, null, ['class' => 'form-control', 'placeholder' => 'Select packed by', 'id' => 'packed_by']) !!} @if ($errors->has('packed_by')) {!! $errors->first('packed_by') !!}@endif
{!! Form::label('Delivery Start') !!} {!! Form::date('start_time', null, ['class' => 'form-control']) !!} @if ($errors->has('start_time')) {!! $errors->first('start_time') !!}@endif
{!! Form::label('Vehicle') !!} {!! Form::select('vehicle', $vehicles, null, ['class' => 'form-control', 'placeholder' => 'Select vehicle', 'id' => 'vehicle']) !!} @if ($errors->has('vehicle')) {!! $errors->first('vehicle') !!}@endif
{!! Form::label('Delivery Complete') !!} {!! Form::date('end_time', null, ['class' => 'form-control']) !!} @if ($errors->has('end_time')) {!! $errors->first('end_time') !!}@endif
{!! Form::label('Delivery Complete Note') !!} {!! Form::text('delivery_complete_note', null, ['class' => 'form-control', 'placeholder' => 'Enter delivery complete note']) !!} @if ($errors->has('delivery_complete_note')) {!! $errors->first('delivery_complete_note') !!}@endif
{!! Form::label('Order') !!} {!! Form::select('order_id', $orders, $order->order_id, ['class' => 'form-control', 'placeholder' => 'Select order', 'id' => 'order_id']) !!} @if ($errors->has('order_id')) {!! $errors->first('order_id') !!}@endif
{!! Form::close() !!}
@endsection @section('javascripts') {!! Html::script('assets/admin/bower_components/select2/dist/js/select2.full.min.js') !!} @endsection