@extends('admin.layouts.modal') @section('content') @if (isset($status))
@endif

@if (isset($address->id)) Edit @else Create @endif {{$type}} Address

@if(isset($address) && $address->id) {!! Form::model($address, ['method' => isset($address) && $address->id ? 'put' : 'post','files' => true]) !!} @else {!! Form::model(['route' => ['store-address'],'method' => 'post','files' => true]) !!} @endif
{!! $errors->first('name', '')!!}
{!! $errors->first('email', '')!!}
{!! $errors->first('mobile', '')!!}
{!! $errors->first('postal_code', '')!!}
{!! $errors->first('address', '')!!}
{!! $errors->first('country_id', '')!!}
{!! $errors->first('state_id', '')!!}
{!! $errors->first('city_id', '')!!}
{!! $errors->first('landmark', '')!!}
{!! $errors->first('gst_number', '')!!}
{!! Form::close() !!}
@endsection @section('styles') @endsection @section('scripts') @parent @endsection