@extends('backend.includes.panel') @section('page_css') @stop @section('page_title', 'Zone Master') @section('inner_page_link') @stop @section('main_content')
@if(isset($zoneMaster)) {{ Form::model($zoneMaster, ['route' => ['backend.zone_master.update',$zoneMaster->id], 'method' => 'patch','class'=>'form-horizontal form-material','data-parsley-validate'=>'','autocomplete'=>'off','enctype'=>'multipart/form-data','id'=>'zoneForm']) }} @else {{ Form::open(['route' => 'backend.zone_master.store','class' => 'form-horizontal form-material','data-parsley-validate' => '','method' => 'POST','autocomplete' => 'off','enctype' => 'multipart/form-data','id' => 'zoneForm']) }} @endif

Zone Master Details

Details of Zone Master
{{ Form::select('country', \App\Country::all()->pluck('name','id')->toArray(), null,['class' => 'form-control select2']) }} {{-- {!! Form::select('country', \App\ZoneMaster::all()->pluck('name')->toArray(), null, ['class' => 'form-control']) !!} --}} {{-- {{ Form::number('country', old('country'), ['class' => 'form-control','autofocus' => 'true']) }} --}} @if (isset($errors) && $errors->first('country')) {{ $errors->first('country') }} @endif
{{ Form::text('zone', Input::old('zone'), ['class' => 'form-control ups_text','autofocus' => 'true']) }} @if (isset($errors) && $errors->first('zone')) {{ $errors->first('zone') }} @endif




@if(isset($zoneMaster) && isset($zoneZipCode[0]->id)) @endif @if(isset($zoneMaster)) @foreach ($zoneZipCode as $key => $item) @if ($loop->iteration != 1) @endif @endforeach @endif
Start Zip Code End Zip Code Action
Delete
Delete
{{ Form::close() }}
@stop @section('page_script') @stop